Send WhatsApp Template Message
whatsapp_send_templateSend approved template messages to reach customers outside the 24-hour customer service window. Specify recipient, template, language, and optional dynamic parameters.
Instructions
Send an approved template message. Templates are the only way to initiate conversations outside the 24-hour window.
Args:
to (string): Recipient phone number
template_name (string): Approved template name
language_code (string): Template language (default: "en_US")
components (string, optional): JSON string of template components for dynamic values
Returns: Message ID and delivery status.
Examples:
"Send welcome template to user" → template_name="hello_world", language_code="en_US"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient phone number in international format (e.g. '353851234567' or '+353851234567') | |
| components | No | JSON string of template components array for dynamic parameters. Example: '[{"type":"body","parameters":[{"type":"text","text":"John"}]}]' | |
| language_code | No | Template language code (e.g. 'en_US', 'es', 'pt_BR') | en_US |
| template_name | Yes | Name of the approved message template | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |