ZapGate icon

ZapGate

Interaja com a API ZapGate — WhatsApp gateway self-hosted

Actions1511

Chatwoot → Enviar Template

AI-generated

Summary

Send a pre-configured template message to a recipient phone number.

Inputs

  • templateId (required) — The unique identifier of the template to send.
  • to (required) — The recipient phone number with country code (e.g., 5511999999999).
  • vars — Optional JSON object or string containing template variable key-value pairs (e.g., {"1": "value"}).

Output shape

a single record

Returns the JSON response from the ZapGate API confirming the template dispatch status.

Examples

Example 1: Send a welcome template with custom variables

Set templateId to 'welcome_template', to to '5511999999999', and vars to '{"1": "John"}'

Links

Discussion