Actions90
- Business Profile Actions
- Call Actions
- Flow Actions
- Media Actions
- Message Actions
- Phone Number Actions
- QR Code Actions
- System Actions
- Template Actions
- User Actions
Template → Send Template
AI-generatedSummary
Send a WhatsApp message using a predefined template to a specified recipient phone number with optional language and component parameters.
Inputs
- To (required) — Recipient phone number with country code, excluding the '+' sign.
- Template Name (required) — Name of the message template to send.
- Language Code (required) — Language code for the template, e.g., 'en', 'ar', 'en_US'.
- Components — Optional components of the template such as header, body, and buttons, each with parameters like text or media values.
- Options — Additional options including 'Reply To Message ID' to reply quoting a specific message, and 'Tracking Data' for custom tracking in webhooks.
Output shape
a JSON object representing the API response confirming the template message was sent or detailing any errors that occurred.
The response shape depends on the underlying API's standard message send response. There is no pagination or multiple records; each execute call sends a single template message to one recipient.
Examples
Example 1: Send a template with a body component and quick reply buttons in English to a single phone number.
Specify the recipient phone number, template name, language code as 'en', and define components including body text and buttons with parameters representing text values.