Documentation Index
Fetch the complete documentation index at: https://docs.tedro.io/llms.txt
Use this file to discover all available pages before exploring further.
WhatsApp Templates
WhatsApp message templates are pre-approved message formats required for sending outbound messages outside the 24-hour customer service window. Templates must be submitted to Meta for approval before use. Once approved, use them in broadcasts, workflow nodes, and proactive outreach.Prerequisites
- A Tedro workspace with Admin role
- A connected WhatsApp channel
- Access to Meta Business Suite for template management
Understanding the 24-Hour Window
WhatsApp enforces a customer service window:| Scenario | What You Can Send |
|---|---|
| Within 24 hours of the customer’s last message | Free-form messages (any text, media, buttons) via wa.send_message |
| Outside 24 hours | Only pre-approved templates via wa.send_template |
Create a Template
Meta charges different rates per category. Utility templates typically cost less than marketing templates.
{{1}}, {{2}}, etc. as placeholders for dynamic valuesChoose the language for the template. You can create the same template in multiple languages for different audience segments.
Template Status
| Status | Meaning |
|---|---|
| Pending | Submitted to Meta, awaiting review |
| Approved | Ready to use in broadcasts and workflow nodes |
| Rejected | Meta declined the template. Review the rejection reason and edit/resubmit |
Using Templates
Approved templates can be used in two places:- Broadcasts — Select a template when creating a WhatsApp broadcast. Template parameters are filled with contact data or custom values. See Broadcasts and Campaigns.
-
Workflow nodes — Use the
wa.send_templatenode to send templates programmatically. Configure the template name, language, and parameter mappings in the node settings. See the WhatsApp Nodes reference.
Template Parameters
Parameters are dynamic placeholders that get replaced with actual values when the template is sent:| Parameter | Example Value | Source |
|---|---|---|
{{1}} | ”Sarah” | Contact name |
{{2}} | ”ORD-12345” | Custom field or workflow variable |
{{3}} | ”March 15” | Computed value |
{{contact.name}} or {{conversation.fields.order_id}}.
Opt-Out Handling
WhatsApp requires that marketing templates include a way for contacts to opt out. When a contact replies with STOP, UNSUBSCRIBE, or similar keywords:- Tedro automatically sets
opted_out = trueon the contact record - Future broadcasts and template sends are blocked for that contact
- The opt-out is logged in the contact’s activity timeline
What’s Next
Broadcasts and Campaigns
Send approved templates to contact groups with scheduling and analytics.
WhatsApp Nodes
Use wa.send_template in your automation workflows.