Configuration for Send Text Message workflow steps: who to text on their mobile, on which channel, and what
(docs/features/WorkflowTextMessages/PLAN.md). SMS sends a practice text template or the step's own text, exactly
one. WhatsApp sends an approved WhatsApp template, with each of its variables mapped to a token expression.
Properties
| Name | Type | Description |
|---|---|---|
| channel | enum | Sms WhatsApp |
Sms WhatsApp | ||
| isPracticeRouted | boolean | The practice's default: the practice's text routing (SMS only, WhatsApp for known numbers, or try WhatsApp first) |
The practice's default: the practice's text routing (SMS only, WhatsApp for known numbers, or try WhatsApp first) | ||
| recipientContactTypes | array of enum | The client contact types to text, on each contact's mobile; at least one. One number under two types gets one |
The client contact types to text, on each contact's mobile; at least one. One number under two types gets one | ||
| templateCode | string | SMS: the practice text template to send. Exactly one of this and body. |
SMS: the practice text template to send. Exactly one of this and body. | ||
| body | string | SMS: the text, at most 1,600 characters, with the step emails' tokens ({{ Client.* }}, {{ Task.* }}, |
SMS: the text, at most 1,600 characters, with the step emails' tokens ({{ Client.* }}, {{ Task.* }}, | ||
| whatsAppTemplateId | string | WhatsApp: the WhatsApp template to send, by its id from the WhatsApp templates list. Its live version is sent, so |
WhatsApp: the WhatsApp template to send, by its id from the WhatsApp templates list. Its live version is sent, so | ||
| contentVariables | object | WhatsApp: each of the template's variables ("1", "2"…) to the text rendered into it for each recipient, with the |
WhatsApp: each of the template's variables ("1", "2"…) to the text rendered into it for each recipient, with the | ||
JSON Example
{
"channel": "Sms",
"isPracticeRouted": false,
"recipientContactTypes": [
"Main"
],
"templateCode": "string",
"body": "string"
}
Contained in Schemas
- PreviewWorkflowStepTextRequest Previews a Send Text Message step's text while it is being built in the workflow editor, before the ...
- UpdateWorkflowStepRequest Request DTO for updating workflow step properties. Supports updating status, assignment, and step-ty...
- WorkflowStepDto DTO for workflow steps within a workflow group. Used for both create/update requests and GET respons...
- WorkflowStepProgressDto Represents the progress of a single workflow step within a TaskItem. Contains both the step template...