WhatsApp Templates¶
Introduction¶
WhatsApp templates are pre-approved messages by Meta that allow businesses to initiate conversations outside the 24-hour customer care window or send structured communications (e.g., confirmations, reminders, surveys).
Kewbot connects directly to Meta’s API to sync templates and enable their use in campaigns, agent interactions, and automated flows.
Key Benefits¶
- Speed: Agents and campaigns can use predefined messages instantly.
- Compliance: Only Meta-approved messages are used, ensuring policy compliance.
- Flexibility: Templates can include dynamic variables, interactive buttons, and multimedia.
- Automation: Buttons can be linked to Kewbot flow destinations.
- Pre-testing: Templates can be tested on your own number before being used in campaigns.
Listing¶
The main page shows all synced templates:

- Name: Template name as defined in Meta.
- Language: Template language.
- Status: APPROVED, REJECTED, or PENDING.
- Category: UTILITY or MARKETING.
- Last update: Timestamp of the last sync with Meta.
- Actions:
- 🔎 View details: Shows full template information.
- 🔄 Edit button destinations: Configure buttons (if present) to Kewbot destinations.
- 📤 Send test: Send a test version to a specific number.
👉 After any change in Meta, click Sync with Meta to refresh the list.
Template Detail¶

Details include:
- Name
- Language
- Status
- Category
- Header (text/media if present)
- Body (supports variables {{1}}, {{2}})
- Footer
- Buttons (shown in JSON format if present)
- Dynamic preview (exact view of the message as it will appear to the customer).
Button Editing¶

If a template contains buttons, you can assign each one to a Kewbot flow destination.
Example:
- Yes → Redirect to an outbound campaign.
- No → Redirect to a thank-you announcement.
This transforms templates into interactive entry points in the conversation flow.
Test Sending¶

Before production use, you can send a test:
- Clicking Send test opens a pop-up asking for the phone number (with country code, no “+”).
- If successful, the message is delivered to the number exactly as a customer would see it.
This ensures the template looks and works correctly.
Notes and Examples¶
- Templates must be created and approved in Meta. Kewbot only syncs and makes them usable.
- Always send a test before including templates in campaigns.
- Example:
- Template sample_issue_resolution: asks if the customer solved their problem.
- Button “Yes” → outbound campaigns flow.
- Button “No” → thank-you announcement.