---
title: "Message Templates"
slug: "message-templates"
updated: 2025-12-23T11:54:24Z
published: 2025-12-23T11:58:53Z
canonical: "help.symphonysummitai.com/message-templates"
---

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

# Message Templates

The **Message Template** connector enables to create and use static message templates for commonly used messages in Recipes. You can use message templates to generate HTML, text, JSON, and XML messages.

Templates allow you to separate the message composition logic (what the message looks like) from the message generation logic (when the message is sent). This separation enables you to change the message format without changing the Recipe that sends the message.

**Message Templates** are logic-less. This means that flow logic such as loops and conditional statements (including if and else) is not supported within templates. However, templates support Mustache tags for variable substitution, conditional blocks, and list iteration. Create tags by wrapping text in double curly brackets ({{ }}).

Each Message Template has an associated input schema that defines the variables that must be passed to the Template’s tags. The Recipe developer must provide values for the input schema when using the message template within a recipe.

To create a **New Message Template**, perform the following steps:

1. Navigate to **Integration Hub** > **Tools** > **Message Template**. ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/message templates.png) Figure: Message Templates
2. Click **Creating a New template** on the Message Templates page. ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/creating a new template.png) Figure: Message Templates
3. Edit the **Template Name** and enter **Template body** and **Template input** in the The **New Template** page.

![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/Message template page.png)Figure: Message Templates

> [!NOTE]
> Note
> 
> Input parameters must be surrounded by {{ and }}. For example, use {{name}} to insert a value from the input.

Variables must be added in the Template input field. JSON can be used, or variables can be created manually. Template variables support both scalar data types string, integer, date, number, time, and Boolean and complex data types such as object and list. Values for template variables can be defined in recipes using the Create message action.
4. In the Template Input select JSON or add the values manually.

**JSON**

Upon selecting JSON, Generate Schema page is displayed. Enter the JSON and click **Next.** ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/Generate schema.png) Figure: JSON sample Review and click **Generate Schema**. ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/Generate schema 1.png)Figure: Generate Schema

**Add Fields Manually**

  1. Click **add fields manually**. ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/add fields manually.png) Figure: add fields manually
  2. Enter the details in the popup window. ![](https://cdn.document360.io/62351b42-cfbd-43ad-8ce1-82b8f455337f/Images/Documentation/Add new field.png) Figure: Add new Field
  3. Click **Add Field** to insert in the T**emplate Body**.

Mustache is a template system used for generating formatted output like HTML, XML, JSON, or plain text by injecting values into templates. It's called "logic-less" because it doesn’t contain programming logic like if, else, or for loops — instead, it uses tags to insert data and control sections.
