Templates can be sent even outside the 24-hour customer service window. That makes Template Bots the right tool whenever the message needs to feel more formal, include a header image, or land regardless of session timing.
What a Template Bot does
On an incoming message that matches its trigger, the bot:- Looks up the approved template you configured.
- Substitutes parameters into the header, body, and footer from the values you supplied.
- Sends the template to the contact.
Create a Template Bot
Go to Automations → Template Bots and click Create.
Pick who it applies to
Lead or Customer. The bot only fires when the contact has that relationship type.
Choose the template
Pick one of your approved WhatsApp templates. Only approved templates show up in the list.
Fill in parameter values
For each variable in the header, body, and footer, provide a value. You can use merge fields (
{contact_first_name} etc.) to personalise per contact.The four trigger types
Same rules as Message Bots:| ID | Name | When it fires | Keywords field |
|---|---|---|---|
| 1 | On exact match | The incoming message equals a keyword exactly | Required — comma-separated keywords |
| 2 | When message contains | The incoming message contains any of the keywords as a substring | Required — comma-separated keywords |
| 3 | On first message | The contact is messaging your business for the first time | Ignored |
| 4 | If no keyword matches | Nothing else caught this message — the fallback | Ignored |
Template parameters
A Template Bot stores parameters as three JSON fields — one for each section of the template:| Field | Purpose |
|---|---|
header_params | Values for variables in the header (or the header media URL for a media header) |
body_params | Values for the {{1}}, {{2}}, … variables in the body |
footer_params | Values for variables in the footer (if the template has any) |
Example
Suppose the approved template body is:{contact_first_name}ORD-{contact_id}
482, WhatsApp receives:
Merge fields you can use in parameter values
Custom fields are not available as merge fields inside Template Bot parameters at the moment.
Why use Template Bots instead of Message Bots?
| You need… | Use |
|---|---|
| A quick text reply with at most three buttons | Message Bot |
| A branded message with a header image or video | Template Bot |
| To reply to a message that came in outside the 24-hour session window | Template Bot |
| A reply longer than a short message, with formatting | Template Bot |
| A structured call-to-action button that opens a URL | Template Bot |
Active / inactive
Each Template Bot has an active toggle. Inactive bots keep their configuration but don’t fire on incoming messages.Cloning
Clone duplicates an existing bot — useful to fork one for Lead vs Customer, or as a starting point for a near-identical bot with a different template.Permissions
| Permission | Allows |
|---|---|
tenant.template_bot.view | See the Template Bot list |
tenant.template_bot.create | Create new Template Bots |
tenant.template_bot.edit | Edit existing Template Bots |
tenant.template_bot.delete | Delete Template Bots |
tenant.template_bot.clone | Clone an existing Template Bot |
Feature availability
Template Bots require thetemplate_bots feature on the workspace subscription. If the link is missing from the sidebar, your plan doesn’t include them.
What to read next
Message Bots
Plain text keyword replies.
Bot Flows
Branching multi-step conversations.
Templates
How to get templates approved by Meta.