Send message
A Send message step sends one of your message templates to a customer, filling in its variables from run data. The channel builds the message and applies that channel’s rules, such as WhatsApp template categories. You can hold the message until your contact hours, choose a fallback when it cannot be delivered, and wait to hear that it was delivered.
When to use it
Section titled “When to use it”- Confirm an appointment on WhatsApp with the date, time and doctor’s name.
- Send a payment link carousel after a failed EMI.
- Send a slot picker so a customer can choose a delivery window.
When not to use it
Section titled “When not to use it”- You need the customer’s answers back. Use Collect form.
- A voice agent should talk to the customer. Use Outbound call.
- The message goes to an internal team, or is a plain status update. Use Notify.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Channel | Required. Voice, web chat, WhatsApp (default), RCS, web voice or app. |
| Recipient | Required. An expression for the phone number, user id or conversation id, for example input.phone. |
| Template | Required. The message template. |
| Template variables | Variable and expression pairs. |
| Language | The template language, for example en. |
| WhatsApp category | utility (default), marketing or authentication. |
| If it cannot be delivered | none (default), read_out or other_channel. |
| Other channel | For Other channel. Required. For example RCS when WhatsApp fails. |
| Only send within the workflow’s contact hours | Default: on. Outside the contact hours set in the workflow’s settings, the step waits until they open. |
| Wait for delivery | Default: off. On: the step waits for the delivery result, and a failed delivery takes the error path. |
| Delivery timeout | For Wait for delivery. Default: 1h. When it passes, the error path is taken. |
| Retries | 0 to 5. Default: 0. Used with Wait for delivery: how many more times to send after a failed delivery. |
What it produces
Section titled “What it produces”- A single Next, and an error path.
- With Wait for delivery:
steps.<step id>holds the delivery result. Without it, the step continues as soon as the message is handed over and writes no data.
A message is never sent with a blank where a value belongs. If any template variable is empty, the message is not sent and the error path is taken.
Example
Section titled “Example”A hospital confirms a booked appointment.
Conversational agent (appointments) → Send message (whatsapp, appointment_confirmed) → End| Variable | Expression |
|---|---|
name |
steps.book.patientName |
slot |
steps.book.slot |
doctor |
steps.book.doctor |