Actions3
- Message Actions
Message → Send Template Message
AI-generatedSummary
Send a DrWally-approved template message to the specified recipient. Optionally include template context built from name/value fields or supplied as raw JSON; the node submits each input item separately and returns the API response when its status is queued.
Inputs
- Recipient (required) — Recipient phone number for the template message.
- Template (required) — Choose an approved template fetched from the DrWally dashboard. The node sends its name and language.
- Include Context — Enable this to send context for filling template variables.
- Specify Context — Choose JSON Fields to build context from name/value pairs, or Raw JSON to provide a JSON context payload. Shown when Include Context is enabled.
- Fields — Add context fields as name/value pairs. Fields with an empty name are ignored. Shown when JSON Fields is selected.
- Context — Provide the context payload as JSON. Shown when Raw JSON is selected.
Output shape
A list of items, one per input item, each containing the DrWally API response in json.
A response is accepted only when its
statusisqueued; other statuses cause an error. With Continue On Fail enabled, failed items include anerrorfield alongside their original input JSON. Requires Template Message credentials with an API link and secret key.
Examples
Example 1: Send a template without variables
Set the recipient and select an approved template; leave Include Context off.