What a Send Text Message step on a task would do if it ran now (docs/features/WorkflowTextMessages/PLAN.md, "API
surface"): who it would text and with what, who it would miss and why, what would stop it texting anyone, and when
an automatic run would wait for the practice's quiet hours. Nothing is sent or stored, and no cost is shown (D14).
Properties
| Name | Type | Description |
|---|---|---|
| channel | enum | Sms WhatsApp |
Sms WhatsApp | ||
| isPracticeRouted | boolean | The step is on the practice's default: the practice's routing chooses each recipient's channel |
The step is on the practice's default: the practice's routing chooses each recipient's channel | ||
| recipients | array of WorkflowStepTextPreviewRecipientDto | The people the step would text, one per number, each with the text rendered for them |
The people the step would text, one per number, each with the text rendered for them | ||
| missed | array of TextMessageMissedDto | The people chosen who would not be texted, and why: no contact of a type, no mobile, a number that cannot be |
The people chosen who would not be texted, and why: no contact of a type, no mobile, a number that cannot be | ||
| blockers | array of string | What would stop the step texting anyone, each as the step would show it when blocked: messaging not set up, no |
What would stop the step texting anyone, each as the step would show it when blocked: messaging not set up, no | ||
| heldUntil | string | When an automatic step would run now inside the practice's quiet hours: the end of them (UTC), when it would |
When an automatic step would run now inside the practice's quiet hours: the end of them (UTC), when it would | ||
JSON Example
{
"channel": "Sms",
"isPracticeRouted": false,
"recipients": [
{
"contactCode": "...",
"name": "...",
"address": "...",
"isKnownOnWhatsApp": "...",
"channel": "..."
}
],
"missed": [
{
"contactType": "...",
"name": "...",
"reason": "..."
}
],
"blockers": [
"string"
]
}