Add Reply Template
replies_add_templateCreates a new customer reply template with automatically extracted placeholders. Specify category, language, tone, and body with {{variable}} syntax to generate reusable responses.
Instructions
Create a new reply template. Placeholders in body use {{variable}} syntax; variables are auto-extracted from the body.
Args:
id (string): unique slug, e.g. 'promo-ar-1'
category (string): one of greeting, price_inquiry, diagnosis, repair_status, ready_for_pickup, delay_apology, warranty, complaint, unrepairable, data_disclaimer, part_unavailable, location_hours, payment, follow_up
title (string)
language ('ar'|'en')
tone ('formal'|'friendly')
body (string): reply text with {{placeholders}}
tags (string[], optional)
Returns: the created template JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique template id | |
| body | Yes | Reply body with {{variable}} placeholders | |
| tags | No | ||
| tone | Yes | Reply tone | |
| title | Yes | ||
| category | Yes | Template category | |
| language | Yes | Template language: 'ar' Arabic or 'en' English |