Send WhatsApp template
gambot_send_templateSend an approved WhatsApp template with variables to contact customers outside the 24-hour window and initiate conversations.
Instructions
Send an approved WhatsApp template with variables. Can initiate a conversation even outside the 24-hour window.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"to": "<to>",
"templateId": "<templateId>"
},
"name": "gambot_send_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Phone number, ideally E.164 international format (country code, digits only, no leading 0), e.g. 972501234567 or 12025551234. A local/national number (e.g. leading 0) is accepted when a country is provided — or when the organization has a saved country from onboarding; otherwise it's rejected as ambiguous. | |
| country | No | ISO-3166 alpha-2 (e.g. 'US','IL') to internationalize a local/national number in `to`. Optional if the organization has a saved country (set at onboarding). | |
| variables | No | Body variables in order | |
| templateId | Yes | Template id/name |