peach_create_template
Create WhatsApp message templates for marketing, utility, or authentication purposes with required body components and structured formatting.
Instructions
Create a new WhatsApp template in the Peach account. Must include at least a body component in components_attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| template_name | Yes | Unique name for the template (lowercase, underscores only, e.g. order_confirmation) | |
| language | Yes | Language code for the template (e.g. en, en_US) | |
| category | Yes | Template category as required by WhatsApp | |
| components_attributes | Yes | Template components. Must include a body component. Each component has component_type, value, and optional sub_type/data_type/name/index. | |
| purpose | No | Purpose of the template (e.g. general) | |
| whats_app_business_account_id | No | External ID of the WhatsApp Business Account to use (defaults to the account's only WABA if there is one) | |
| folder | No | Folder to organise the template into |