Knowledge Base NovaTalks
EN
  • ↗️Get started!
    • 🔐Login
    • 🧑‍🔧Profile settings
    • 🗨️Conversations
      • 📄Conversations list
      • 🟣Conversation Statuses and Substatuses
      • 📤Conversation panel
        • 🪄AI Assistant
        • 📱Get customer data
        • HSM templates in the WhatsApp Business API
      • 🪪Contact card, Conversation information and Conversation actions
        • 📬New dialog
      • ➕Dashboard Apps panel
        • 📞NovaTalks Phone
        • 🎥Web-Call
    • 📒Contacts
    • 📈Reports
      • ⏱️Online reports
        • ✅Agent status report
        • 👥Agent Overview Report
        • 🧑‍🤝‍🧑Team Overview Report
        • 📥Inbox Overview Report
      • 🕒Historical reports
        • 👥Agent Overview Sum Report
        • 🧑‍🤝‍🧑Team Overview Sum Report
        • 📥Inbox Overview Sum Report
        • 🟢Agent Availability Sum Report
        • 😊Agent CSAT Sum Report
        • 🆗Agent Availability Detail Report
        • 🤩CSAT Detail Report
        • 💬Dialogs Detail Report
        • 💭Messages Detail Report
        • 🏷️Tags Detail Report
    • 🔔Outgoing campaigns
      • 📤Campaigns
      • 📄Contact list
      • 🔁Attempt control
      • ⚙️Dialer settings
    • 🛠️Settings
      • 👥Agents
      • 🧑‍🤝‍🧑Teams
      • 📥Inboxes
        • 💻Online chat and widget on a website
        • ⛓️API channel
        • 📧Email
        • 🤳Call
        • Telegram by phone
          • ⚠️Restrictions and limits
        • Viber by Phone
          • ⚠️Restrictions and limits
      • 🌟Skills
      • 🏷️Labels
      • 📝Custom attributes
      • 📆Calendars
      • 🤖Chatbots
      • 🔌Automation
      • 🛞Macros
        • 🪄Macroses AI
        • 📱Macroses Get customer data
      • ✍️Canned Responses
      • 📑Wrap-Up Codes
      • ⚡Integrations
        • 🪝Webhooks
        • 🧩Dashboard apps
        • 🪄AI
      • 🔔Notifications
      • ⚙️Account settings
    • 📙Light Version Guide
      • 🔐Login
      • 🛠️Settings
      • 🗨️Conversations
        • 📤Conversation panel
        • 🟣Conversations Statuses and Substatuses
        • 🪪Contact card
        • 🗃️Conversation Actions
    • 🔗Connecting messengers
      • Connecting Whatsapp Business
      • Connecting Viber
    • ❓FAQ
      • 🔢Dialog utilization and an agent utilization calculation
      • 📞IP telephony
        • ⚙️Connecting IP telephony
        • 🎯Advantages of IP telephony compared to GSM gateways
        • 📲How to retain customers when transitioning from a GSM Gateway to IP Telephony
  • 🤝Terms of support for NovaTalks
    • 🗿Standard
    • ⭐Advanced
Powered by GitBook
On this page
  • What are HSM templates?
  • A 24-hour window for communication
  • Sending an HSM template from NovaTalks
  • Examples of HSM templates
  • HSM template without variables and attachments
  • HSM template with variables in the main text
  • HSM template using the NovaTalks variable
  • HSM template with a Button
  • HSM template with variables in the Header, Body and Button
  • HSM template with attachment
  • HSM Authentication template
  1. Get started!
  2. Conversations
  3. Conversation panel

HSM templates in the WhatsApp Business API

PreviousGet customer dataNextContact card, Conversation information and Conversation actions

Last updated 6 months ago

What are HSM templates?

HSM (Highly Structured Message) templates are pre-agreed with Meta standard messages that businesses can use to start communicating with customers via the WhatsApp Business API. Messages can include appointment reminders, delivery information, payment updates, etc.

Templates are created and approved via .

A template can include a header (text or attachments: images, videos, PDFs), body text with the ability to add variables, a footer, and buttons.

Currently, templates containing Catalogue, Location, and Autocomplete Authentication are not supported (Authentication templates with code copying are supported).


A 24-hour window for communication

WhatsApp Business uses 24-hour sessions for messaging.

When a customer sends a message to your number, a 24-hour window opens during which you can write free-form messages to users.

Outside of the 24-hour customer service window, you can only send HSM-approved templates. As soon as a customer replies to a template message, a new 24-hour window for communication opens.

Using HSM templates allows you to initiate a dialogue even with customers who have not yet written to the company.


Sending an HSM template from NovaTalks

To send an HSM template from NovaTalks, in the message sending panel, enter the text in the appropriate markup consisting of several lines:

  • @HSM@ - a label that informs the system that an HSM template is being sent.

  • template_name|language - the name of the template in lowercase with lowercase underscore and the . They must be the same as in the Meta template builder.

  • Template variables - names of the template variables (if exists).

If the template contains an attachment, it must be attached to the message.

Features of adding variables:

  • If several variables are used in a template, each variable must be written on a new line in the sequence specified in the template.

  • If the template contains a button that contains a variable, the value of this variable must be added to the markup.

  • If the template contains variables and they are not specified in the message, the template will not be sent.

  • If the template contains a Copy Code button, the code must be specified twice in the markup of the message to be sent from NovaTalks: as a variable value in the body text and as a variable value for the button.

  • You can substitute NovaTalks variables. To do this, enter two double curly brackets {{ in the corresponding line, after which a list of available variables will appear.

After sending the template, the text and other elements from the template registered in WhatsApp Manager will be added to the message that will be sent to the client.

The NovaTalks user will see it as a markup in the message history window in Conversation.

Before sending the template, make sure that the message does not contain any extra spaces or characters and that it follows the structure. Otherwise, it will not be delivered.


Examples of HSM templates

HSM template without variables and attachments

Setting up a template in Meta:

Marking up a template for submission to NovaTalks

The message that the client will receive:

HSM template with variables in the main text

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

HSM template using the NovaTalks variable

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

HSM template with a Button

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

HSM template with variables in the Header, Body and Button

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

HSM template with attachment

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

HSM Authentication template

Setting up a template in Meta:

Marking up a template for submission to NovaTalks:

The message that the client will receive:

For convenience, we recommend adding the HSM template structure to .

↗️
🗨️
📤
WhatsApp Manager
language code
Canned responces