> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wazzapi.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Templates

> Create reusable message content with extracted variables and preview support

# Message Templates

Templates help you standardize recurring messages while still personalizing content for each recipient.

## Dashboard Guide

The dashboard template editor lets you create, preview, and save templates before using them in sends.

<Steps>
  <Step title="Go to Templates">
    Navigate to **Messaging > Templates** in the dashboard.
  </Step>

  <Step title="Create New">
    Click **Create Template**.
  </Step>

  <Step title="Design">
    * **Name**: A clear template name, such as `welcome_msg`.
    * **Category**: A category that helps your team stay organized, such as `marketing` or `utility`.
    * **Content**: Type your message with variables such as `{{name}}` or `{{phone_number}}`.
  </Step>

  <Step title="Preview & Save">
    Preview the rendered content, confirm variable substitution, and save the template for reuse.
  </Step>
</Steps>

## Variable handling

### Template Anatomy

A template can include both built-in and custom variables.

Typical built-in values come from contact data, for example:

* `{{name}}`
* `{{phone_number}}`
* `{{whatsapp_name}}`
* `{{email}}`

**Example Content:**
`Hello {{name}}, your order {{order_id}} has been shipped!`

## API coverage

The public API includes endpoints to:

* list templates
* create/update/delete templates
* retrieve built-in variables
* preview rendered output before sending
