Message Template
  • 16 Jul 2025
  • 1 Minute to read
  • PDF

Message Template

  • PDF

Article summary

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 > Users > Tools > Message Template.

    The Message Templates list page is displayed.

  2. Click Creating a New Template.

    The New Template page appears.

  3. Enter the description in the Template Body field.

    Note

    Input parameters must be surrounded by {{ and }}. For example, use {{name}} to insert a value from the input.

  4. 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.

  5. In the Template Input


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.
ESC

Eddy AI, facilitating knowledge discovery through conversational intelligence