Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

WorkflowStepTextPreviewDto

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
channelenum

Sms WhatsApp

Sms WhatsApp

isPracticeRoutedboolean

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

recipientsarray 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

missedarray of TextMessageMissedDto

The people chosen who would not be texted, and why: no contact of a type, no mobile, a number that cannot be
read, on the do-not-text list

The people chosen who would not be texted, and why: no contact of a type, no mobile, a number that cannot be
read, on the do-not-text list

blockersarray of string

What would stop the step texting anyone, each as the step would show it when blocked: messaging not set up, no
number to text from, the text template gone, nobody to text. Empty when it can send.

What would stop the step texting anyone, each as the step would show it when blocked: messaging not set up, no
number to text from, the text template gone, nobody to text. Empty when it can send.

heldUntilstring

When an automatic step would run now inside the practice's quiet hours: the end of them (UTC), when it would
send. Null for a step sent by hand, which always goes at once, and outside quiet hours.

When an automatic step would run now inside the practice's quiet hours: the end of them (UTC), when it would
send. Null for a step sent by hand, which always goes at once, and outside quiet hours.

JSON Example

{
  "channel": "Sms",
  "isPracticeRouted": false,
  "recipients": [
    {
      "contactCode": "...",
      "name": "...",
      "address": "...",
      "isKnownOnWhatsApp": "...",
      "channel": "..."
    }
  ],
  "missed": [
    {
      "contactType": "...",
      "name": "...",
      "reason": "..."
    }
  ],
  "blockers": [
    "string"
  ]
}

Used By Operations