Configuration
whatsapp_config_id
: WhatsApp connection to use (optional; falls back to the conversation)template_id
: WhatsApp template identifierparameters
: Template parameter values (dict or list, optional)provider_model_name
: Required when using AIField in parameters
Examples
Simple templateai_field_config
paths the backend expects. For example, the first element in a list maps to parameters.0
, while a dictionary entry such as {"name": AIField("Prompt")}
creates an entry at parameters.name
.
Template setup
Templates must be created and approved in Meta Business Manager first. Common templates:- Welcome messages
- Order confirmations
- Appointment reminders
- Support ticket updates