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

# Create an Email Template

> Build an email template in the Comify dashboard with the Drag & Drop editor or raw HTML, then publish it for use in campaigns and triggered communications.

Email templates are reusable messages you design once and reference by name everywhere Comify sends email — [campaigns](/campaigns/content) and triggered communications. This guide walks the **exact dashboard flow**, then explains **every block (node)** in the Drag & Drop editor and how to use it.

<Note>
  This is a dashboard walkthrough — no code required. Screens below are captured from **cloud.comify.io**.
</Note>

## Open the Email Templates workspace

From the left sidebar, open **Template Manager → Manage Templates → Email**. This opens the **Email Templates** list.

<Frame caption="Template Manager → Email in the left sidebar">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-01-nav.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=842c6e9de74fc2b0bd9b6d2adab18151" alt="Template Manager menu with Email highlighted" width="1440" height="726" data-path="images/email-01-nav.png" />
</Frame>

The list shows every template with a **Status** filter (**All**, **Draft**, **Live**), a search box, and the **Create Template** button. Only **Live** templates appear when you build a campaign.

<Frame caption="Email Templates list — Status filter, search, and Create Template">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-02-list.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=0fe301e5c07e5abbd66bc84c6f2bba3a" alt="Email Templates list page" width="1440" height="726" data-path="images/email-02-list.png" />
</Frame>

## Create a template

<Steps>
  <Step title="Click Create Template">
    In the top-right of the Email Templates list, click **Create Template**. The **Create Email Template** dialog opens.
  </Step>

  <Step title="Name the template and choose how to build it">
    Enter a **Template Name** (e.g. `welcome_onboarding` or `order_confirmation`) — this is the identifier used in campaigns and triggers. Then pick **Create using**:

    | Option          | Use it when                                                             |
    | --------------- | ----------------------------------------------------------------------- |
    | **Drag & Drop** | You want a visual editor with blocks (recommended for most users).      |
    | **HTML**        | You already have coded HTML to paste, or need full control over markup. |

    <Frame caption="Create Email Template — name + HTML vs Drag & Drop">
      <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-03-create-modal.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=0a9a24259da177bda12309b52e0376de" alt="Create Email Template dialog" width="1440" height="726" data-path="images/email-03-create-modal.png" />
    </Frame>
  </Step>

  <Step title="Continue">
    Click **Continue**. The editor opens in a new tab with the template in **Draft** status.
  </Step>
</Steps>

## The Drag & Drop editor

The editor has three regions: the **top bar** (actions), the **left panel** (Templates / Blocks / Sections), and the **canvas** where you drop blocks.

<Frame caption="Drag & Drop editor — top bar, left panel, and canvas">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-04-editor.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=4783fc90e7841d841a94375f8021ed12" alt="Email drag and drop editor overview" width="1440" height="726" data-path="images/email-04-editor.png" />
</Frame>

The top bar contains:

| Control                     | What it does                                                                                                      |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------- |
| **Back**                    | Returns to the Email Templates list.                                                                              |
| **Draft / Unsaved Changes** | Status of the template. "Unsaved Changes" appears until you save.                                                 |
| **Test**                    | Sends a test email to your authenticated address (see [Send a test](#send-a-test)).                               |
| **Data Source**             | Attaches a Payload so you can personalize with `{{variables}}` (see [Data Source](#data-source-personalization)). |
| **Settings**                | Opens Template Settings — subject, sender, recipient, etc. (see [Template Settings](#template-settings)).         |
| **Save Draft**              | Saves your progress without publishing.                                                                           |
| **Publish**                 | Makes the template **Live** so it can be used in campaigns.                                                       |

## Blocks (the building nodes)

Open the **Blocks** tab in the left panel to see every content block. **To use any block: drag it from the panel onto the canvas** (drop it on a **Drop here** zone). Once placed, select it to edit its content and styles.

<Frame caption="Blocks palette — every content block">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-05-blocks.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=af96b63c6284afea4f5d36c154a1d0a1" alt="Blocks palette" width="1440" height="726" data-path="images/email-05-blocks.png" />
</Frame>

Here is every block and how to use it:

| Block              | What it is                                        | How to use it                                                                                         |
| ------------------ | ------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Text**           | A paragraph of rich text.                         | Drag in, type your copy, format with the toolbar, and insert `{{variables}}` via **Personalization**. |
| **Button**         | A call-to-action button.                          | Set the label and destination **Link**; style the color, padding, and radius in the properties panel. |
| **Image**          | A single image.                                   | Add an image URL or upload; set alt text and a click-through link.                                    |
| **Logo**           | Your brand logo block.                            | Point it at your logo image; typically placed in the header.                                          |
| **Navbar**         | A row of navigation links.                        | Add link items (e.g. Home, Shop, Contact) and their URLs for a top menu.                              |
| **Divider**        | A horizontal rule.                                | Drag between blocks to visually separate sections; adjust thickness/color.                            |
| **Spacer**         | Vertical empty space.                             | Drag in to add breathing room; adjust its height.                                                     |
| **Section**        | A full-width container that holds columns/blocks. | Use as a structural wrapper to group and background-style a band of content.                          |
| **Column**         | A multi-column layout inside a section.           | Drag in to place blocks side by side (e.g. image left, text right).                                   |
| **Table**          | A data table.                                     | Use for structured rows such as order line items; edit rows and cells.                                |
| **Products**       | Product cards pulled from your catalog/payload.   | Bind to product data to show images, names, and prices automatically.                                 |
| **Recommendation** | Personalized product recommendations.             | Insert a recommendations block driven by your data for cross-sell/upsell.                             |
| **Review**         | A customer review/rating block.                   | Display social-proof content such as star ratings and quotes.                                         |
| **Socials**        | A row of social media icons.                      | Add your social profile links (Instagram, LinkedIn, etc.).                                            |
| **Video**          | A video thumbnail that links out.                 | Add the video URL; email clients show a clickable poster image.                                       |

<Tip>
  Blocks nest. When a block is selected, the breadcrumb at the top of the canvas shows its place in the structure — for example **Body › Section › Column › Text** — so you always know what you're editing.
</Tip>

### Editing a block

Select any block on the canvas to reveal its controls:

* A **floating toolbar** above the block: link, text formatting, alignment, AI assist, clear formatting, and **Personalization**. Icons to **duplicate** or **delete** the block sit on the right.
* The **left properties panel** with **Content**, **Link**, and **Styles** (font size, font family, colors, spacing, and more).

<Frame caption="A selected block — breadcrumb, floating toolbar, and properties panel">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-06-block-selected.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=f1fc644d086711a305b31c007db04b1f" alt="Selected block with properties panel" width="1440" height="726" data-path="images/email-06-block-selected.png" />
</Frame>

### Templates and Sections

The left panel has two more tabs that speed up building:

* **Templates** — start from a prebuilt, fully designed email and customize it.
* **Sections** — drag in prebuilt multi-block sections, filterable by **Header**, **Footer**, and **Products**.

<Frame caption="Templates and Sections tabs — prebuilt designs and blocks">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-11-templates-sections.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=17d0382b0d9fa5a397ae511927289b17" alt="Templates and Sections tabs" width="1440" height="726" data-path="images/email-11-templates-sections.png" />
</Frame>

## Data Source & personalization

To personalize content, first attach a **Data Source**. Click **Data Source** in the top bar and select a **Payload** — its fields become the tags you can insert.

<Frame caption="Data Source panel — attach a Payload">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-08-data-source.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=6a6b530686f1ecd446bfbaf1bc4cd8a9" alt="Data Source panel" width="1440" height="726" data-path="images/email-08-data-source.png" />
</Frame>

Then, inside any text-bearing block (or the Subject), open **Personalization** and pick a field to insert a `{{variable}}`:

```
Hi {{name}}, your order {{order_id}} is confirmed.
```

<Frame caption="Personalization menu — insert {{variables}}">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-07-personalization.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=d0e0bf6b56d1ff9559bad904ad752ff9" alt="Personalization dropdown" width="1440" height="726" data-path="images/email-07-personalization.png" />
</Frame>

At send time, each variable is filled from the mapped audience column (in a [campaign](/campaigns/content)) or from the trigger payload.

## Template Settings

Click **Settings** in the top bar to open **Template Settings**. This is where the email's delivery details live.

<Frame caption="Template Settings — email details and configuration">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-09-settings.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=35c6f8d5c5a0a5b6e55c97f823b80fce" alt="Template Settings panel" width="1440" height="726" data-path="images/email-09-settings.png" />
</Frame>

**Email Details**

| Field                             | Description                                                                                             |
| --------------------------------- | ------------------------------------------------------------------------------------------------------- |
| **Template Name**                 | The template's identifier.                                                                              |
| **Subject** *(required)*          | The subject line. Use **Personalize** to insert variables.                                              |
| **Preheader Text**                | The inbox preview snippet after the subject. Supports **Personalize**.                                  |
| **Content Type**                  | **HTML** or **Text**.                                                                                   |
| **Transaction Type** *(required)* | **Transactional** or **Promotional** — classifies the email for deliverability and compliance purposes. |
| **ESP**                           | The email service provider used to send.                                                                |
| **Sender** *(required)*           | The from address/name.                                                                                  |
| **Reply-To**                      | Where replies are routed.                                                                               |

**Email Configuration** — bind these to fields from your selected payload:

| Field            | Description                                      |
| ---------------- | ------------------------------------------------ |
| **Recipient**    | The payload field holding the recipient address. |
| **CC** / **BCC** | Optional carbon-copy fields.                     |
| **Attachments**  | Optional payload field for file attachments.     |

## Send a test

Click **Test** in the top bar. In the **Send Test Email** dialog, enter a **Subject** and choose a **Service Provider**, then **Send**. The test goes to your authenticated email address so you can verify rendering.

<Frame caption="Send Test Email dialog">
  <img src="https://mintcdn.com/co-d33c95f1/JDH1bOmW9sqfInn6/images/email-10-test.png?fit=max&auto=format&n=JDH1bOmW9sqfInn6&q=85&s=618cc3e577a558879928cc896d491998" alt="Send Test Email dialog" width="1440" height="726" data-path="images/email-10-test.png" />
</Frame>

## Save or publish

* **Save Draft** keeps your work in progress (status stays **Draft**).
* **Publish** makes the template **Live**.

<Warning>
  Only **Live** templates appear in the campaign template picker. If a template isn't selectable in a campaign, confirm it's **Published**, not saved as a Draft.
</Warning>

## Next steps

* Send it as a broadcast: [Create an email campaign](/campaigns/overview)
* Other channels: [WhatsApp template](/platform/create_whatsapp_template) · [Push template](/platform/create_push_template)
