Actions3
- Message Actions
- Template Actions
Message → Send Template
AI-generatedSummary
Send a templated message via the WABA API to a specified recipient phone number, optionally including variables, buttons, and an attached file.
Inputs
- To (required) — Recipient phone number including country code (e.g., 919876543210).
- Template ID (required) — Identifier of the template message to send.
- Language — Two-letter language code for the template, defaults to 'en'.
- Additional Fields — Optional collection including template variables (key-value pairs), buttons (key-value pairs), file (URL or base64 string), and file name.
Output shape
a list of response objects, each corresponding to the sent message's API response, paired with the input item index
Response data is returned as JSON from the WABA API; errors can be caught per item if 'Continue On Fail' is enabled.
Examples
Example 1: Send a WhatsApp template message with variables and buttons
To=919876543210, Template ID=welcome_template, Language=en, Variables([{key: 'v1', value: 'John'}]), Buttons([{key: 'b1_type', value: 'url'}, {key: 'b1_value', value: 'https://example.com'}])