{{variables}} filled in per person.
Batches and conversation openers both send them.
Templates are written, submitted, tracked and deleted under WhatsApp →
Templates, or through the API. Talqing keeps no copy: they live on your
WhatsApp account and are read live, so templates made in Twilio’s console show
up too.
Creating templates works for Twilio numbers. A template belongs to the
Twilio account, so it is shared by every number on that account. Gupshup
templates are listed, but created and deleted in your Gupshup app.
What a template holds
Variables are named, like
{{first_name}}: lowercase letters, digits and
_, starting with a letter, at most 16 characters. A batch maps each one to a
CSV column of the same name. Every variable needs a sample value in
examples; WhatsApp reviews the template with them, so make them realistic.
A Call on WhatsApp button (voice_call) starts a WhatsApp call to the
number that sent the template, answered by that number’s calls agent. It works
for ttl_minutes after sending (7 days by default, at most 30).
Rules checked before submitting
Twilio accepts nearly anything and WhatsApp rejects it minutes later, so Talqing checks WhatsApp’s rules first and returns every problem in one400:
- the body can’t start or end with a variable (punctuation after it still counts as the end);
- two variables can’t be next to each other;
xvariables need at least2x + 1other words;- at most 10 emoji, no tabs, no more than four spaces in a row, no
wa.melinks; - a website button’s variable goes at the very end of the URL, after a
/that follows the domain; - every variable has a sample, and no sample is left over.
Creating one
In the dashboard, New template opens a form with a live preview filled with your samples. Through the API:status: "pending".
Statuses
GET /v1/whatsapp/templates?integration_id=… lists every status, newest
first; add status=approved for the sendable ones. The Templates page refreshes
itself while one is in review.
No editing: duplicate instead
A submitted template can’t be changed. To fix a rejected one or change an approved one, Duplicate it, edit the copy and submit it under a new name.Deleting
Delete (DELETE /v1/whatsapp/templates/{id}?integration_id=…) removes it
from Twilio and from WhatsApp, and the name is free again right away. It is
refused while a scheduled, sending or paused batch uses it.
In WhatsApp Manager
Meta’s WhatsApp Manager shows a Talqing template under its name plus a suffix Twilio adds, such asappointment_reminder_hx82d3…, and shows named variables
as {{1}}, {{2}}. That is expected: sends still use the names.