Skip to content

Templates ​

Templates facilitate users' work when responding to repetitive questions, improving efficiency and response times. You can create templates for both text channels and email.

Template scope ​

In uContact there are two scopes for templates:

  1. Global: available for all campaigns in the system. They are created from the Templates section, within the Campaigns screen of the Administrator menu.
  2. Campaign-specific: associated exclusively with a particular campaign. They are created from the Templates tab within each campaign's configuration and are only available in that campaign. This tab is available once the campaign has been saved.

Types of templates ​

In uContact you can create five types of templates according to format:

  1. Text: Simple text editor for SMS, WhatsApp, WebChat, Instagram, and Messenger templates.
  2. Rich text format: Rich text editor for email templates with format options (bold, colors, lists, etc.).
  3. HTML: HTML text editor for email templates with custom HTML code for more complex designs.
  4. Call to Action: WhatsApp interactive message with buttons to open a link or call a phone number.
  5. Button List: WhatsApp interactive message that lets the customer choose from a list of options.
HSM templates

WhatsApp HSM templates are not created here: they are imported from the WhatsApp connector with the Synchronize templates action (Gupshup and WhatsApp Business). Their content comes from the provider, and you can only enable them if their status is APPROVED.

How to create a template? ​

  1. Access the Campaigns screen from the Administrator menu.
  1. Go to the Templates tab.
  1. Click the New button located in the upper right corner.
  1. Select the type of template you want to create:
    • Text: For text channels (SMS, WhatsApp, WebChat, Instagram, Messenger)
    • Rich text format: For emails with format
    • HTML: For emails with custom HTML code
    • Call to Action: For WhatsApp messages with link or call buttons
    • Button List: For WhatsApp messages with a list of options

With the Enabled switch you can define whether the template is available to be used. Only enabled templates are available to users in the Inbox and in Outbound Hubs; disabling an existing template asks for confirmation.

Text templates ​

Text templates are used for messaging channels like SMS, WhatsApp, Messenger, and Instagram.

Required fields ​

  • Name: Unique identifier of the template in the system. This name is only visible internally to users when selecting the template in the Inbox. It cannot be changed once the template is created.
  • Template: Template content that will be sent to the customer.

Using variables ​

You can use manually written variables within the message to guide users when completing the information.

These variables are not dynamic and are not replaced automatically. When using the template in the Inbox, the user must edit the content and manually replace each variable with the corresponding text before sending it.

Common variable examples:

  • {nombre} - User name
  • {nombreCliente} - Customer name
  • {campaña} - Campaign name
  • {fecha} - Date

Text template example:

Hello! My name is {nombre} and it will be my pleasure to assist you today.

When using this template, the user must modify {nombre} and write the correct value before sending the message.

The only exception is Outbound Hubs (SMS and Email): there, variables written as ${key} are replaced with the values of the list's Params column.

Rich text format templates ​

Rich text format templates are ideal for emails that require visual formatting without needing to write HTML code.

Required fields ​

  • Name: Unique identifier of the template in the system.
  • Content: Email body with rich formatting.

Content editor ​

The rich text editor offers multiple format options:

  • Text format: Bold, italic, underline, strikethrough
  • Lists: Numbered and bulleted
  • Headers: Different levels of titles
  • Links: Insert hyperlinks
  • Images: Add images to content
  • Colors: Customize text and background colors
  • Alignment: Left, center, right, justified

Rich text template example:

Dear {nombreCliente},

We are contacting you from {empresa} to inform you that your service #{codigo} was successfully activated.

Best regards,
{nombre}

HTML templates ​

HTML templates are ideal for more complex and customized email designs, where you need total control over the design.

Required fields ​

  • Name: Unique identifier of the template in the system.
  • HTML code: Complete HTML code of the email.

HTML editor ​

The HTML editor allows you to write HTML code directly. You must have basic HTML knowledge to use this type of template.

HTML template example:

html
<!DOCTYPE html>
<html>
<head>
  <style>
    .header { background-color: #0095ff; color: white; padding: 20px; }
    .content { padding: 20px; }
  </style>
</head>
<body>
  <div class="header">
    <h1>Welcome {nombreCliente}</h1>
  </div>
  <div class="content">
    <p>We are contacting you from {campaña} to inform you that...</p>
    <p>Best regards,<br>{nombre}</p>
  </div>
</body>
</html>

Once all fields are completed, click Save to create the template.

Interactive templates (Call to Action and Button List) ​

Interactive templates are WhatsApp messages that include buttons. The form shows a preview of the message on the right while you complete it.

Common fields ​

  • Name: unique identifier of the template.
  • Header: optional. It can be a text, an image, a video or a document. For media, you only choose the type here; the file is chosen when the message is sent.
  • Body: main text of the message. It supports WhatsApp format (bold, italic, strikethrough and lists) and variables.
  • Footer: optional short text shown below the message.
  • Variables: in the header and body you can insert variables of type Number ({{1}}, {{2}}…) or Text ({{name}}). Each variable needs an example value.

Call to Action ​

Add between 1 and 3 buttons. For each one choose what it does: URL (opens a link) or Call (calls a phone number), and write the text the customer will see on the button.

Button List ​

  • Button: text of the button that opens the list.
  • List header: title shown at the top of the options list.
  • Sections: group the options. You can add up to 10 sections; the section title is required when there is more than one.
  • Rows: each option the customer can choose, with a title and an optional description. There can be up to 10 rows in total, across all sections.

Important considerations ​

Key points to keep in mind
  • Unique names: Each template must have a unique name in the system to avoid confusion.
  • Testing: Before using a template in production, review it to make sure the variables users must replace are clearly identified.
  • Global templates: Are available for all campaigns in the system. They are created from the Templates section, within the Campaigns screen of the Administrator menu. They are useful for standard messages that apply to the entire operation.
  • Specific templates: Are only available in the campaign where they were created. They are created from the Templates section within each campaign's configuration. They are useful for particular messages of an operation or specific product.
  • Using variables: Variables are not replaced automatically in the Inbox: users must replace them manually before sending the message.