Configures AI-driven SMS automation in Orchard Core using the CrestApps Omnichannel feature. Covers Twilio/Telnyx/ACS inbound webhooks, opt-out keywords, business hours, cadences, and AI lead conversion.
Ships in crestapps-orchardcore. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are an Orchard Core expert. Configure the SMS Omnichannel Automation feature so an AI chat profile carries SMS conversations for automated activities, and connect the SMS provider's inbound webhook so customer replies reach the AI.
CrestApps.OrchardCore.Omnichannel.Sms in the web/startup project and
enable CrestApps.OrchardCore.Omnichannel.Sms.CrestApps.OrchardCore.AI,
CrestApps.OrchardCore.AI.Chat.Core,
CrestApps.OrchardCore.Omnichannel.Managements, OrchardCore.Sms and the
dependency-only Provider Webhook Inbox
(CrestApps.OrchardCore.ContactCenter.ProviderInbox, from the Webhooks
module), which stores every inbound text before the provider is answered.CrestApps.OrchardCore.BusinessHours, which Contact Center Business
Hours also pulls in) to define the schedules, under Content > Business
Hours, that keep background follow-ups within hours (see
orchardcore-business-hours).orchardcore-ai and orchardcore-ai-connections).orchardcore-telephony-telnyx) and the tenant default at
Settings > Communication > SMS. Sends go through ISmsProviderRouter, so
an SMS address that pins a provider sends through that provider.{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.Omnichannel.Sms"
],
"disable": []
}
]
}
Add CrestApps.OrchardCore.Omnichannel.Messaging.Sms as well when the AI must
be able to hand SMS conversations to people (see Live Agent Handoff).
OmnichannelContactPart, a subject type
with OmnichannelSubjectPart, dispositions, a campaign, and subject actions
with When to choose this disposition guidance on each (see
orchardcore-omnichannel-management).orchardcore-ai-profile-templates). The opening
message can use Liquid such as {{ Contact.DisplayText }}.AutomatedActivitiesProcessorBackgroundTask (every five minutes) hands each due
automated SMS activity to SmsOmnichannelProcessor, which checks opt-outs,
renders and sends the opening message, and sets the activity to
AwaitingCustomerAnswer.
| Provider | Endpoint | Validation |
|---|---|---|
| Twilio | POST ~/api/twilio/webhook/sms | X-Twilio-Signature against the Twilio auth token |
| Telnyx | POST ~/api/telnyx/webhook/sms | Ed25519 signature (see orchardcore-telephony-telnyx) |
| Azure Communication Services | via POST ~/api/azure/webhook/eventgrid | Event Grid SAS key or Entra token (see orchardcore-omnichannel-event-grid) |
The Twilio webhook is registered by this feature and by the SMS Messaging Channel; with both on, it is mapped once. Its full address shows as a read-only Webhook URL on the Twilio tab of Settings > Communication > SMS; set the Twilio number's A message comes in to that URL with HTTP POST.
404 while the Twilio provider is disabled, 400 when the auth
token is missing, and refuses an invalid signature.OmnichannelConstants.Events.SmsReceived on the SMS
channel, which SmsOmnichannelEventHandler and the messaging workspace both
consume.sms-inbound handler, keyed on the provider message
id (Twilio's MessageSid), before the provider is answered, then processed as
soon as the response is sent. The Provider Webhook Inbox Dispatch
background task finishes any text a restart interrupted, a redelivery is
recognized on every node, and a text that cannot be stored is answered 503
so the provider resends it.OmnichannelSmsComplianceHelper.IsOptOutRequest). Opt-outs
are recorded through IConsentService (see
orchardcore-omnichannel-management).sms-conclusion-analysis prompt picks a
disposition from the subject's wired dispositions, writes the summary to the
activity notes, and runs the subject actions exactly as an agent completion
would. With the CRM feature and AI conversion on the load, a qualified open
lead is converted first (see orchardcore-omnichannel-management).| Task | Schedule | Purpose |
|---|---|---|
SmsReEngagementBackgroundTask (Automated SMS Re-Engagement) | */5 * * * * | Sends due cadence follow-ups while the load's Business Hours schedule is open in the contact's time zone. |
SmsOwedReplyRecoveryBackgroundTask (Automated SMS Owed-Reply Recovery) | */10 * * * * | Sends a reply that was owed but lost, for example after a restart, when the contact's last message is recent. |
Configure Live agent handoff on the subject (handoff queue plus at least one
Escalate when condition). The SMS handoff is carried out by the messaging
workspace, so enable CrestApps.OrchardCore.Omnichannel.Messaging.Sms. The
thread, with its full automated transcript, moves into the queue's inbox. See
orchardcore-omnichannel-messaging.
With the SMS Messaging Channel also enabled, EntryPointAIAgentStartup adds an
AI agent routing choice to text entry points (SmsEntryPointAIConversationStarter).
Set Route to to AI agent on the number's Text messages entry point
and pick a Chat profile. Texts go to people instead when the entry point is
closed, a person already holds an open conversation with the customer, the
customer's last AI conversation ended less than an hour ago, or the profile was
deleted. Entry points are covered by orchardcore-contact-center.
IOmnichannelEventHandler only for behavior this module
does not cover; filter by event type and channel (see orchardcore-omnichannel).ISmsProvider
(see orchardcore-sms) and pin it on the SMS address.AI SMS conversations report on the messaging meter CrestApps.OrchardCore.Messaging (see orchardcore-omnichannel-messaging, matched by CrestApps.OrchardCore.*): crestapps.messaging.ai.turn.duration (result: replied, no_reply, not_owed, superseded, lock_timeout, completion_failed, empty_reply, send_failed, error, cancelled), crestapps.messaging.ai.handoff, crestapps.messaging.ai.respond_decision (respond, skip, fallback), crestapps.messaging.activity.start (trigger entry_point or automated) and crestapps.messaging.send.duration for every automated text. The span crestapps.messaging.ai.turn parents the AI completion and send spans, and the conclusion check after a turn runs as the deferred task sms_conversation_conclusion. SmsReEngagementBackgroundTask reports items by result (sent, send_failed, no_content, opted_out, outside_hours, busy, error; budget_exceeded when it stops on its budget) and SmsOwedReplyRecoveryBackgroundTask reports redriven or error on crestapps.background_task.items. Log event ids 18200-18299 (18201 owed-reply recovery summary, 18202 AI turn ended).
Omnichannel/webhook/Twilio to
api/twilio/webhook/sms; the Omnichannel/webhook/TwilioEventGrid route is
removed (deliver ACS texts through api/azure/webhook/eventgrid).OmnichannelSubjectPart content-type
part settings, and the per-run campaign, channel and address are chosen on the
activity load (see orchardcore-omnichannel-management).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
137 skills in this plugin
/orchardcore-accountsSkill for the CrestApps Orchard Core Accounts module (CrestApps.OrchardCore.Accounts) with its Account Members, Account Team, Account E-mail Domains and Account Locations features. Covers the Account type and AccountPart, the account picker and search, IAccountChildTypeRule, account page sections (AccountPageTabs, AddPageSection, Notes), members and IAccountMemberService, account invitations, the account owner and team picked from staff, e-mail domains, locations with a billing location, the account's billing profile and party members, the Accounts recipe and deployment steps, and the admin menu. Use this skill when requests mention accounts, the businesses or households records belong to, an account page tab, members, invitations, owners, domains or locations. Strong matches include AccountPart, AccountPageTabs, IAccountMemberService, IAccountInvitationService, AccountInvitation, AccountTeamPart, AccountEmailDomainsPart, IAccountEmailDomains, AccountLocationsPart and ManageAccountMembers./orchardcore-accounts-b2bSkill for the CrestApps Orchard Core Accounts B2B module (CrestApps.OrchardCore.Accounts.B2B), business selling on an Account content item. Covers B2BAccountPart and B2BAccount, buyers as account members and ship-to addresses as account locations, terms (deposit, net days, credit limit) through the account-terms tender billed to the account, the account's billing profile, purchase order numbers, quotes, price lists through IBuyerPriceProvider, order limits, approvals and budgets, OCI punchout, the account/business page and API, the PriceLists recipe and deployment steps, the B2BAccounts report source, and the move from the removed Companies module. Use this skill when requests mention B2B, wholesale or business buyers, net terms, purchase orders, price lists, order approvals or punchout. Strong matches include B2BAccountPart, B2BAccount, AccountTerms, AccountTermsTenderProvider, B2BAccountBillingProfileSource, IB2BAccountStore, PriceList, B2BPriceProvider, B2BApprovalService and ManageB2BAccounts./crestapps-orchardcore:orchardcore-omnichannel-smsfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcoreOther plugins' skills for the same job