Provides guidance on the CrestApps Omnichannel Management (CRM) module for Orchard Core, covering activities, contacts, channels, cadences, leads, and automated processors.
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.
Read when SKILL.md points to them.
You are an Orchard Core expert. Build contact and activity work on the
Omnichannel Management module's existing model and extension points. Queues,
routing, agents and the dialer belong to the Contact Center
(orchardcore-contact-center); the human inbox belongs to
orchardcore-omnichannel-messaging.
CrestApps.OrchardCore.Omnichannel.Managements in the web/startup
project and enable CrestApps.OrchardCore.Omnichannel.Managements; it brings
the headless and address features with it.OrchardCore.Resources (it uses Orchard Core's
bootstrap-select resource), OrchardCore.Flows, OrchardCore.ContentTypes
and the CrestApps Users, ContentFields, PhoneNumbers and TimeZones features.IContactMethodsAccessor.orchardcore-omnichannel-sms, orchardcore-omnichannel-voice)
before scheduling automated work.AdminList shape (see the
framework skill orchardcore-admin-lists).sealed classes and file-scoped namespaces.| Feature | ID | Notes |
|---|---|---|
| Omnichannel Activities | CrestApps.OrchardCore.Omnichannel.Activities | Headless: catalogs, stores, managers, parts, indexes, migrations, permissions, recipe and deployment steps, api/omnichannel/subject-disposition-actions. |
| Omnichannel Channel Endpoints | CrestApps.OrchardCore.Omnichannel.ChannelEndpoints | Dependency only. Interaction Center > Management > Omnichannel Addresses. Enabled by Management, Messaging Workspace, Contact Center Voice and Inbound Entry Points. |
| Omnichannel Management | CrestApps.OrchardCore.Omnichannel.Managements | Admin screens, display drivers, menus, reports. |
| Omnichannel CRM | CrestApps.OrchardCore.Omnichannel.Crm | Leads, opportunities, and contacts and opportunities inside accounts. The Account type, AccountPart and the account picker now come from the Accounts feature (CrestApps.OrchardCore.Accounts), which the CRM depends on. See references/crm.md. |
{
"steps": [
{
"name": "Feature",
"enable": [
"CrestApps.OrchardCore.Omnichannel.Managements"
],
"disable": []
}
]
}
The OmnichannelCrmStarter recipe enables Management and CRM and adds Lead,
Contact and SalesOpportunity types.
| Menu | Purpose | Permission |
|---|---|---|
| Interaction Center > Activities | Your own Not started manual activities (Admin/omnichannel/activities) | ListActivities |
| Interaction Center > Contacts | Content list filtered to every type with OmnichannelContactPart | ListContent |
| Management > Manage Activities | Bulk assign, reschedule, change subject, source, dialer profile, purge (Admin/omnichannel/manage-activities) | ManageActivities |
| Management > Load Activities | Activity batches (Manual, Automatic, Dialer sources) | ManageActivityBatches |
| Management > Subject Flows | Read-only overview with Edit content type, Edit settings, Manage flow | ManageSubjectFlows |
| Management > Campaigns, Campaign Groups, Dispositions | Catalogs | ManageCampaigns, ManageCampaignGroups, ManageDispositions |
| Management > Cadences | Re-engagement follow-ups | ManageCadences |
| Management > Numbers Not In Service | Dead numbers | ManageActivities |
| Management > Omnichannel Addresses | Owned numbers and email addresses and their capabilities | ManageChannelEndpoints |
| Management > Email Suppressions | Addresses nothing is emailed to (Email Messaging Channel, orchardcore-omnichannel-messaging) | ManageChannelEndpoints |
All are under Interaction Center, for example Interaction Center > Management > Load Activities.
Admin list names, for IAdminListColumnsProvider or
AdminListCell-{List}-{Column}.cshtml overrides, include
OmnichannelActivities, OmnichannelManageActivities,
OmnichannelContactScheduledActivities, OmnichannelContactCompletedActivities,
OmnichannelActivityBatches, OmnichannelSubjectFlows,
OmnichannelSubjectActions, OmnichannelCampaigns, OmnichannelCampaignGroups,
OmnichannelDispositions, OmnichannelCadences, OmnichannelChannelEndpoints
and OmnichannelNotInServiceNumbers.
A contact is any content item with OmnichannelContactPart, which stores
TimeZoneId and DoNotCall, DoNotSms, DoNotEmail with UTC timestamps
(set them with SetDoNotCall, SetDoNotSms, SetDoNotEmail). Unless a
provider is registered for the type, a fixed ContactMethods bag of
ContactMethod stereotype items (PhoneNumber, EmailAddress) is injected;
do not rename or replace it.
OmnichannelContactPartSettings: Auto detect time zone
(AutoDetectTimeZone), Require time zone (RequireTimeZone, enforced only
when auto detect is off), Use Do not call, Use Do not SMS, Use Do not
email.
Contacts are parties: Managements registers ContactPartySource for
PartyKinds.Contact (gated by ListContent), so party pickers and lists in
other modules (ticket requesters, asset owners) find and name contacts and
leads. With the Timeline feature (CrestApps.OrchardCore.Timeline), contact
and lead pages get a Notes card (ContactTimelineDisplayDriver, the
record's timeline with a composer for internal notes).
Every reader (contact index, inbound call and SMS matching, phone: search,
lead matching, opt-outs, import duplicates, activity destinations, the contact
header, messaging, time zone detection, phone verification) goes through
IContactMethodsAccessor, which reads the bag by default.
using CrestApps.OrchardCore.Omnichannel.Core.Models;
using CrestApps.OrchardCore.Omnichannel.Core.Services;
using OrchardCore.ContentManagement;
namespace MyCompany.OrchardCore.Crm;
public sealed class PersonContactMethodsProvider : IContactMethodsProvider
{
public ContactMethodSet GetContactMethods(ContentItem contact)
{
if (!contact.TryGet<PersonPart>(out var person))
{
return ContactMethodSet.Empty;
}
return new ContactMethodSet(
[
new ContactPhoneNumber { PhoneNumber = person.Mobile?.PhoneNumber, CountryCode = person.Mobile?.CountryCode, Type = ContactPhoneTypes.Cell },
new ContactPhoneNumber { PhoneNumber = person.Office?.PhoneNumber, CountryCode = person.Office?.CountryCode, Type = ContactPhoneTypes.Office },
],
[
new ContactEmailAddress { Email = person.Email?.Text },
]);
}
}
services.AddContactMethodsProvider<PersonContactMethodsProvider>("Person");
services.AddContactMethodsWriter<PersonContactMethodsWriter>("Person");
ContactPhoneTypes are Cell, Home, Office, Work, Other; Mobile
normalizes to Cell, case and spaces are ignored.IContactMethodsWriter
(TrySetEmailAddressAsync, TryAddEmailAddressAsync, TryAddPhoneNumberAsync).
A type with a provider and no writer is read-only.services.AddContactMethods() when you construct the readers
outside a startup that already does.OmnichannelContactPhoneNumberIndex holds one row per distinct E.164 number of
every published or latest contact and lead (type, content type, converted flag).
Find records by number with IOmnichannelContactPhoneLookup.FindByNumbersAsync
or list a record's numbers with GetNumbersAsync (batches of 50). This covers
inbound calls and texts, shared-number opt-outs, lead matching, import
duplicates and the dialer's lead check, so a contact calling from a Work number
is recognized. On upgrade, the Omnichannel Contact Phone Number Backfill
task indexes older records (up to 2,000 a minute, resumable); until it finishes,
lookups also read the first Cell and Home numbers.
The phone:, phone-exact:, phone-starts: and phone-ends: terms and the
activity phone filters search the primary Cell and Home numbers. On
contact-only content lists (Contacts, Leads) the search box treats an entry
written like a number (at least three digits, no letters) as a number search
only: it matches any number of the record, of any type, that begins with the
digits, read from OmnichannelContactPhoneNumberIndex through the covering
index IDX_OCPhone_NumberDocument (contacts migration 13 to 14), and never
compares the Display Text (an unindexable LIKE '%…%' that timed out on large
tenants). Until the backfill finishes it reads the contact index as before. An
entry with letters matches the Display Text only.
OmnichannelContactListFilterParser (replacing IContentsAdminListFilterParser)
reads free words as one phrase (John Smith, 702 555 0104) and keeps a
number with parentheses ((702) 555-0104) together; named terms and explicit
search syntax are parsed as typed.
OmnichannelContactEmailAddressIndex holds one row per distinct, valid email
address (lower case) of every published or latest contact and lead, and
OmnichannelContactIndex gained NormalizedPrimaryEmailAddress. The email
channel reads them, so an inbound email or an unsubscribe from any of a
record's addresses finds it. On upgrade, ContactEmailAddressIndexStep
(resumable step Omnichannel.ContactEmailAddresses) indexes older records in
the Resumable upgrade steps task, up to 2,000 a minute; a record saved in
the meantime is indexed by the save.
A request not to be reached, recorded on one record, stops every record holding
the same number. A STOP from a number no record holds is recorded against the
address (ContactAddressOptOutIndex, read with
IContactOptOutResolver.HasAddressOptedOutAsync(channel, address)), so it also
stops a record created for that number later.
IConsentService (namespace CrestApps.OrchardCore.Consent, package
CrestApps.OrchardCore.Consent.Abstractions; register with
services.AddConsent() from CrestApps.OrchardCore.Consent.Core) is the one
API for whether a person may be contacted on ConsentChannels.Phone, Sms or
Email:
GetAsync(channel, address, contactId) or GetAsync(ConsentQuery) returns a
ConsentStatus (HasOptedOut, Source); sources are asked in registration
order until one says the person opted out.RecordAsync(channel, address, ConsentChange) records an opt-out or opt-in
with every source that keeps that channel.IConsentSource implementations added with
services.AddConsentSource<T>(). Shipped: contact-preferences (contact flags
and address opt-outs), do-not-call-lists (local DNC lists, read only),
customer-marketing (commerce customers' e-mail marketing consent),
survey-invitations (Surveys unsubscribe) and email-suppression-list
(Email Messaging Channel: hard bounces, repeated soft bounces and complaints,
read only).ConsentAnswer.Unknown from
GetAnswerAsync; the status then has IsUnknown and UnknownSources, and
HasOptedOut stays false. A caller that must not send on an unknown answer
checks IsUnknown. ConsentQuery.ExcludedSources leaves sources out.SMS STOP and START, campaign and email unsubscribe links, email provider unsubscribe events and spam complaints, the SMS and email channels' opt-out checks, automated SMS and email and the dialer's do-not-call check go through it. Consent to record a call is not kept here.
OmnichannelChannelEndpoint is an owned address with an AddressType
(OmnichannelAddressTypes.PhoneNumber or EmailAddress), a normalized Value
(E.164 for numbers), and Capabilities named by channel (Phone, SMS). One
number used for calls and texts is one address with both capabilities. Features
contribute capabilities:
services.AddOmnichannelAddressCapability(OmnichannelAddressTypes.PhoneNumber, "WhatsApp", capability =>
{
capability.DisplayName = S["WhatsApp"];
capability.Description = S["Messages sent and received on this number."];
});
Phone comes from Contact Center Voice, SMS (with the provider picker) from
the SMS Messaging Channel, Email (on EmailAddress addresses, with sending,
receiving and limits on its Email card) from the Email Messaging Channel.
A capability whose feature is disabled stays on the address and returns with
the feature. capability.CardName names the card its settings render in.DisplayDriver<OmnichannelChannelEndpoint>
whose shape root carries data-address-capability="<capability>", placed on
a card such as .Location(l => l.Zone("Content", "1").Card(S["WhatsApp"], "3")).
Validate or complete them on save with an IChannelEndpointRule
(ValidateAsync, optional PrepareAsync).endpoint.HasCapability("SMS"); IOmnichannelChannelEndpointManager.GetByServiceAddressAsync(channel, address)
only returns addresses with that capability.AddOmnichannelAddressType for a new type and an
IChannelEndpointAddressPolicy to normalize and validate its values.OmnichannelSubjectPart. The
OmnichannelSubject stereotype is no longer recognized.OmnichannelSubjectPartSettings on the content
type: Direction (Outbound default, Inbound), InteractionType and
Channel (inbound only), ChannelEndpointId, DefaultCampaignId,
RequireDisposition (default true). It travels with the
ContentDefinition recipe step.OmnichannelSubjectAISettings)
holds the profile, subject goal, AI update permissions, speech and voice
defaults, SMS timeout, delay and opt-out keywords, and the Live agent
handoff settings (EnableAgentHandoff, HandoffQueueId,
HandoffOnUserRequest, HandoffOnQualifiedLead, HandoffOnFrustration).
Outbound AI settings come from the Automatic load instead.ISubjectFlowSettingsService resolves the effective SubjectFlowSettings.Outcome
(DispositionOutcome) used when a call ends without a choice (NotInService,
NoAnswer, Busy, AnsweringMachine, Rejected, Failed, Disconnected).SetLeadStatusActionMetadata on the disposition, edited by
LeadDispositionDisplayDriver; converted statuses are not offered). Completing
a lead's activity with it, in any subject, moves the lead to that status; a
subject action that sets its own lead status wins. Contacts are unaffected.LeadStatus.IsContacted, seeded on Working -
Contacted), so a load that picks only the default status skips leads already
called; a lead dispositioned not in service with no other number in service
moves to the first closed status by order.SubjectAction rows map a subject type and disposition to an action type
(Source): Finish, TryAgain, NewActivity (and ConvertLead with CRM).
Each can set SetDoNotCall, SetDoNotSms, SetDoNotEmail, and carries
DispositionGuidance that the AI reads when it dispositions.
DefaultSubjectActionExecutor runs every action matching the completed
activity's subject and disposition, ordered by the handler's Order.
SubjectActionExecutionContext.CreatedActivities maps each action id to the
follow-up it created.Try Again and New Activity have a follow-up section on their Action
card (FollowUpRoutingSubjectActionDisplayDriver):
| Field | Values |
|---|---|
| Campaign | Keep its campaign, or another campaign (a dialer queues the follow-up on that campaign's dialer queue) |
Dial with (FollowUpRoutingMetadata.Target) | SameAsBefore (Same as before: dialer work goes back to the dialer under the same profile, other work stays manual), Agent (Manual: an agent works it; the dialer never calls it), Dialer with a DialerProfileId (Assign to is hidden) |
Assign to (AssignmentType, SubjectActionOwnerAssignmentType) | SameOwner (The user who completed the activity; when the dialer completed it, the agent the dialer called for), CallAgent (The agent the dialer called for: the agent a Power or Progressive dial reserved or a Predictive call connected to), SpecificOwner (A specific user), Pool (A pool of agents: FollowUpOwnerPoolMetadata with Source Team, Roles or Users and Strategy RoundRobin or FewestOpenActivities, needs Teams) |
When nobody is found, any agent can take the follow-up. To have an agent call
back a contact the dialer reached, give the disposition a Try Again with
Dial with set to manual and Assign to the agent the dialer called for.
Replies to texts are routed by messaging routing rules instead
(orchardcore-omnichannel-messaging).
Add an action type:
using CrestApps.OrchardCore.Omnichannel.Core.Models;
using CrestApps.OrchardCore.Omnichannel.Core.Services;
namespace MyCompany.OrchardCore.Crm;
public sealed class NotifyCrmSubjectActionHandler : ISubjectActionHandler
{
public string ActionType => "NotifyCrm";
public Task ExecuteAsync(SubjectAction action, SubjectActionExecutionContext context)
{
// Push the completed activity to the external CRM.
return Task.CompletedTask;
}
}
services.AddScoped<ISubjectActionHandler, NotifyCrmSubjectActionHandler>();
services.Configure<SubjectActionOptions>(options =>
{
options.AddActionType("NotifyCrm", entry =>
{
entry.DisplayName = S["Notify CRM"];
entry.Description = S["Sends the outcome to the external CRM."];
});
});
OmnichannelActivity is the work item. Completed activities record
DispositionedBy (ActivityDispositionActor: Unknown, User, AIAgent,
Dialer, System) and DispositionedByAIProfileId; dialer work records
DialerProfileId. Completion goes through IActivityDispositionService
(pass ActivityDispositionRequest.DispositionedBy when the caller knows it).ActivityHandlerDescriber).OmnichannelActivityBatch (load) pages contacts and creates activities in
the background; it starts only on Load activities. Automatic loads
create Automated activities driven by a Chat profile with Start the
conversation automatically, plus an optional cadence and Business Hours
schedule (see references/cadences.md).AutomatedActivitiesProcessorBackgroundTask (*/5 * * * *) skips numbers
known not in service, asks each IAutomatedActivityScreener for the channel
(email cancels suppressed addresses), then dispatches due NotStated or
Scheduled automated activities to the IOmnichannelProcessor for their
channel (SMS, Email with Email Omnichannel Automation, Phone). An
OmnichannelActivityDeferredException reschedules the activity without
spending an attempt; an OmnichannelActivityRefusedException cancels it with
its terminal reason (address_undeliverable).
OmnichannelAutomationOptions (section CrestApps:Omnichannel:Automation,
registered when AI is enabled) sets ProcessorBatchSize (100),
MaxActivitiesPerInvocation (1,000), MaxProcessingAttempts (5) and
RetryDelayMinutes (5).ScheduleAt) is stored in UTC and shown in local
time. Admin dates and times (activity lists, the Complete screen's
Created time, reports) are shown in the site time zone.TotalSkippedForNoDestination). An outbound subject holds no AI profile, so
an outbound Automatic load must name one.IActivityOfferKeepAlive lets the Complete screen keep a pending offer alive
without knowing who offered it (Contact Center extends preview offers).With OrchardCore.Workflows and the AI feature, Omnichannel Activities also
registers Create AI Activity (CreateAIActivityTask, category AI
Conversations; outcomes Done and Failed), which starts an AI call or
text; without AI the task is not registered, since its editor lists AI
profiles.
With OrchardCore.Workflows, Omnichannel Activities registers Update
Contact (UpdateContactTask, category Omnichannel CRM; outcomes Done
and Failed). ContactContentItemId is Liquid resolving the contact or lead,
ContentProperties is Liquid that renders the JSON merged into it, and
Publish (default true) publishes a draft. Unlike Update Content Item it
does not validate the record, so it works on contacts loaded without required
fields:
{
"steps": [
{
"name": "WorkflowType",
"data": [
{
"WorkflowTypeId": "crm-flag-no-answer-text",
"Name": "Flag the no-answer text",
"IsEnabled": true,
"Activities": [
{
"ActivityId": "evt",
"Name": "ContactCenterEvent",
"X": 0,
"Y": 0,
"IsStart": true,
"Properties": { "EventType": "ActivityDispositionApplied" }
},
{
"ActivityId": "update",
"Name": "UpdateContactTask",
"X": 300,
"Y": 0,
"IsStart": false,
"Properties": {
"ContactContentItemId": "{{ Workflow.Input.Data.ContactContentItemId }}",
"ContentProperties": "{% assign contact = Workflow.Input.Data.ContactContentItemId | content_item_id %}{ \"{{ contact.ContentType }}\": { \"NoAnswerTextSent\": { \"Value\": true } } }",
"Publish": true
}
}
],
"Transitions": [
{ "SourceActivityId": "evt", "SourceOutcomeName": "Matched", "DestinationActivityId": "update" }
]
}
]
}
]
}
The ContactCenterEvent start needs the Contact Center (see
orchardcore-contact-center); in practice add an If/Else on the
disposition outcome before the update. The CRM adds Convert Lead.
services.Configure<ActivityBatchSourceOptions>(options =>
{
options.AddSource("Webinar", entry =>
{
entry.DisplayName = S["Webinar attendees"];
entry.Description = S["Loads the attendees of a webinar."];
entry.RequiresUserAssignment = false;
});
});
services.AddScoped<IActivityBatchLoader, WebinarActivityBatchLoader>();
services.Configure<ActivitySourceOptions>(options => options.AddSource("Webinar", entry => entry.DisplayName = S["Webinar"]));
services.Configure<ActivityChannelOptions>(options => options.AddChannel("WhatsApp", entry => entry.DisplayName = S["WhatsApp"]));
IActivityBatchLoader.Source must match the registered source; without a
loader, DefaultContactActivityBatchLoader (not sealed, so you can inherit it)
is used. ActivitySourceOptions and ActivityChannelOptions drive the Source
and Channel filters; only sources with CanBeSetManually are offered by
Change source. The Email Messaging Channel registers the Email channel,
so loads, subject flows and report filters offer it.
With CrestApps.OrchardCore.Reports enabled, the module contributes 26
reports and the CRM feature three more (Lead funnel, Lead conversion by
source and list, Opportunity pipeline), grouped as Operations, Queue and
Routing, Agent Performance, CRM and Campaigns, Compliance and Audit, Technical
and IT, gated by ViewOmnichannelReports (implied by ManageActivities,
granted to Administrator and Supervisor). They export to CSV, to Excel with
Reports (OpenXml) and to PDF with Reports (PDF).
OmnichannelReportCriteria.DispositionIds,
null for all); the three CRM reports take the date range only. The Dialer
source matches every dialer mode (PreviewDial, PowerDial,
ProgressiveDial, PredictiveDial).omnichannel-dialer-call-detail,
DialerCallDetailReportProvider) lists one row per dialed activity, pages 100
rows in SQL on screen and streams exports in batches of 500. It presets
Source to Dialer through IOmnichannelReportFilterDefaults.OmnichannelReportFilterDisplayDriver.PageFilterName in
IReportFilterMetadata.FilterNames. See orchardcore-reports.With OrchardCore.DataPipelines.Core, Omnichannel Activities registers the
Omnichannel data source (each data set needs ViewOmnichannelReports):
Activities (with DispositionId, Disposition, DispositionedBy,
TerminalReasonCode, AiEscalated, HandoffSummaryUtc, CampaignId,
DialerProfileId, AISessionId, ConvertedFromLeadItemId and more),
Dispositions, Campaigns, CampaignGroups and ActivityBatches (with the
skipped counts). Ids join each other, Orchard Core Users, the Contact Center
Dialer profiles and AI Chat sessions. Contacts, leads, accounts and
opportunities are read through Orchard Core's Content items data source;
join ContactContentItemId or ConvertedFromLeadItemId to the content type's
ContentItemId. Messaging conversations come from the Messaging data source
(orchardcore-omnichannel-messaging).
Registered by the headless feature. Administrator gets all; Agent gets
ListActivities, ListContactActivities, CompleteOwnActivity,
EditActivity; Supervisor gets ViewOmnichannelReports.
ListActivities, ListContactActivities (implied by ListActivities),
CompleteActivity, CompleteOwnActivity, EditActivity (implied by
ManageActivities), ManageActivities, PurgeActivity (implied by
ManageActivities), ManageDispositions, ManageCampaigns,
ManageCampaignGroups, ManageCadences, ManageChannelEndpoints,
ManageActivityBatches, DeleteLoadedActivityBatches, ManageSubjectFlows,
ViewOmnichannelReports. CRM adds ConvertLead, EditConvertedLead,
ManageLeadStatuses, ManageOpportunityStages.
Each catalog has a deployment step (category Omnichannel) and a recipe step.
Entries are matched by ItemId (updated in place, or created with that id).
Import in order: dispositions, channel endpoints and cadences, then campaign
groups, then campaigns, then subject actions.
{
"steps": [
{
"name": "OmnichannelDisposition",
"Dispositions": [
{ "ItemId": "4k2q8m1x7c3v9b5n6t0h2y7za", "Name": "Interested", "Description": "The customer wants a follow-up.", "Outcome": "None" },
{ "ItemId": "9p3r7s2t6u1v5w8x0y4z2a7bc", "Name": "No Answer", "Outcome": "NoAnswer" }
]
},
{
"name": "OmnichannelChannelEndpoint",
"ChannelEndpoints": [
{ "ItemId": "1a2b3c4d5e6f7g8h9j0k1m2nq", "DisplayText": "Main line", "AddressType": "PhoneNumber", "Value": "+17025550100", "Capabilities": [ "Phone", "SMS" ] },
{ "ItemId": "2b3c4d5e6f7g8h9j0k1m2n3pr", "DisplayText": "Support", "AddressType": "EmailAddress", "Value": "[email protected]", "Capabilities": [ "Email" ] }
]
},
{
"name": "OmnichannelCampaignGroup",
"CampaignGroups": [
{ "ItemId": "5d6e7f8g9h0j1k2m3n4p5q6rs", "DisplayText": "Sales" }
]
},
{
"name": "OmnichannelCampaign",
"Campaigns": [
{ "ItemId": "6e7f8g9h0j1k2m3n4p5q6r7st", "DisplayText": "Spring promotion", "CampaignGroupId": "5d6e7f8g9h0j1k2m3n4p5q6rs" }
]
},
{
"name": "OmnichannelSubjectAction",
"SubjectActions": [
{ "ItemId": "7f8g9h0j1k2m3n4p5q6r7s8tu", "Source": "Finish", "DisplayText": "Done", "SubjectContentType": "SalesCall", "DispositionId": "4k2q8m1x7c3v9b5n6t0h2y7za" }
]
}
]
}
OmnichannelCadence is shown in references/cadences.md;
OmnichannelLeadStatus and OmnichannelOpportunityStage in
references/crm.md. The full schemas live in the
orchardcore-recipes skill's recipe-schemas reference.
Message bodies and customer and service addresses are stored unencrypted in the
tenant database (and addresses in OmnichannelMessageIndex). Purge marks an
activity Purged but deletes no message or contact data. Access and erasure
requests go through the shared IPersonalDataService
(CrestApps.OrchardCore.PersonalData): the module registers
CrmContactPersonalDataContributor and CrmActivityPersonalDataContributor
(which also exports and deletes the AI conversations of a person's automated
activities, and matches email activities by the canonical address).
Erasing a contact clears only its known personal-data fields (display text,
names, contact-method emails and numbers, the AI memory note) and never rewrites
the ids it references. The nightly guest-retention expiry does not reach CRM
records.
OmnichannelTelemetry (CrestApps.OrchardCore.Omnichannel.Core) publishes the meter and activity source CrestApps.OrchardCore.Omnichannel (matched by CrestApps.OrchardCore.*, see orchardcore-opentelemetry) for bulk loads: crestapps.omnichannel.batch.load.duration (outcome, trigger), .load.page.duration, .load.records (result: loaded, duplicate, opted_out, no_destination, not_in_service, lead_or_contact, over_limit; never counted in preview), .load.stalled (gauge from the watchdog sweep) and .load.preview.duration. Spans: crestapps.omnichannel.batch.load (tag crestapps.omnichannel.batch.id), crestapps.omnichannel.batch.load.preview and the deferred crestapps.deferred.omnichannel_batch_load, linked to the request that started the load. The five Omnichannel.Managements background tasks report on crestapps.background_task.*, and a load run opens a BatchId log scope.
OmnichannelSubjectWriter.GetContactEmail(contact) with
IContactMethodsAccessor.Get(contact).GetPrimaryEmailAddress();
OmnichannelSubjectWriter.TryApplyContactEmailAsync takes an
IContactMethodsWriter.SmsMessagingChannel, DefaultContactActivityBatchLoader,
OmnichannelContactPartContentImportHandler and ActivitiesController take an
IContactMethodsAccessor; ContactOptOutResolver, SmsMessagingChannel,
LeadMatchFinder, OmnichannelContactDuplicateLookupService and
DefaultContactActivityBatchLoader take an IOmnichannelContactPhoneLookup.
IOmnichannelContactDuplicateLookupService.GetPhoneNumberOwnersAsync and
OmnichannelContactMatches take IOmnichannelContactMatch.AdminListContext (List, or
ScheduledList/CompletedList); row view models moved to Models
(SubjectFlowEntry, SubjectActionEntry, NotInServiceNumberEntry), and
ActivitiesController no longer takes IDisplayManager<OmnichannelActivityContainer>.
A driver adding a shape to a row needs a SummaryAdminGrid location too, and
ActionsMenu items are bare <a class="dropdown-item"> elements.OmnichannelSubject stereotype with OmnichannelSubjectPart;
subject flows are part settings, not a separate configure screen.DoNotChat.AddressType and Capabilities; the upgrade merges
per-channel duplicates and keeps the old ids in MergedItemIds, and old
recipes still import.crestapps-bootstrap-select is gone; use Orchard Core's bootstrap-select.AccountPart and AccountPartSettings moved to CrestApps.OrchardCore.Accounts.Models
(package CrestApps.OrchardCore.Accounts.Abstractions); use AccountsConstants
instead of OmnichannelConstants.ContentParts.Account and
OmnichannelConstants.ContentTypes.Account. The account search moved to
Admin/api/crestapps/accounts/search. A migration enables the Accounts feature
and keeps existing accounts.<div class="action-bar-bottom">) instead of an
ocat-wrapper row: Cancel first, secondary actions next, the primary
Save last; update theme overrides and UI tests.orchardcore-business-hours); the load's
calendar id is a schedule id. SMS automation does not enable the Business
Hours feature; enable it to define schedules.NormalizedPrimaryEmailAddress and the
OmnichannelContactEmailAddressIndex table, backfilled by a resumable step.Source and CreatedUtc columns on
OmnichannelActivityBatchIndex.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchard-core, crm, omnichannel, contact-center, activity-management
/crestapps-orchardcore:orchardcore-omnichannel-managementfrom crestapps-orchardcore
npx claudepluginhub crestapps/crestapps.agentskills --plugin crestapps-orchardcore137 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.Other plugins' skills for the same job