Actions3
- Message Actions
Message → Send WhatsApp Template
AI-generatedSummary
Send an approved WhatsApp template message to a recipient via the Sinch Conversations API.
Inputs
- whatsappTo (required) — Recipient WhatsApp phone number in E.164 format (e.g. +14155552671).
- whatsappTemplateId (required) — Approved WhatsApp template identifier formatted as 'templateName,languageCode'.
- templateVariableCount — Number of body placeholder variables (0 to 20) present in the selected template.
- var1 — Body placeholder value for template variable {{1}}.
- var2 — Body placeholder value for template variable {{2}}.
- var3 — Body placeholder value for template variable {{3}}.
- var4 — Body placeholder value for template variable {{4}}.
- var5 — Body placeholder value for template variable {{5}}.
- var6 — Body placeholder value for template variable {{6}}.
- var7 — Body placeholder value for template variable {{7}}.
- var8 — Body placeholder value for template variable {{8}}.
- var9 — Body placeholder value for template variable {{9}}.
- var10 — Body placeholder value for template variable {{10}}.
- var11 — Body placeholder value for template variable {{11}}.
- var12 — Body placeholder value for template variable {{12}}.
- var13 — Body placeholder value for template variable {{13}}.
- var14 — Body placeholder value for template variable {{14}}.
- var15 — Body placeholder value for template variable {{15}}.
- var16 — Body placeholder value for template variable {{16}}.
- var17 — Body placeholder value for template variable {{17}}.
- var18 — Body placeholder value for template variable {{18}}.
- var19 — Body placeholder value for template variable {{19}}.
- var20 — Body placeholder value for template variable {{20}}.
Output shape
a single record
Returns an object containing messageId, queued status, acceptedTime, recipient E.164 number, templateId, languageCode, provider name ('Sinch Conversations'), channel ('WHATSAPP'), and the raw API response body.
Examples
Example 1: Send a standard WhatsApp template message without variables
Set To to '+14155552671', select an approved template, and leave Template Body Variable Count at 0.
Example 2: Send a personalized WhatsApp template message with two body parameters
Set To to '+14155552671', select a template, set Template Body Variable Count to 2, and fill in values for Variable {{1}} and Variable {{2}}.