Drive to Reimagine

What are WhatsApp Message Templates? [Guide for 2022]

Engati Team
.
May 18
.
4-5 mins

Table of contents

Automate your business at $5/day with Engati

REQUEST A DEMO
WhatsApp message templates

While using a WhatsApp Business Number, there are two kinds of messages that you can use. If the customers you wish to send a WhatsApp message to have interacted with your business number within the last 24 hours, you can send them session messages.

But, if those customers have not interacted with your WhatsApp Business number within the last 24 hours, you would need to send message templates to them.

What are WhatsApp message templates?

If you need to reach customers who have not interacted with your WhatsApp Business Number within the last 24 hours, message templates are exactly what you need. WhatsApp message templates are specific message formats pre-approved by WhatsApp and can be sent to customers who are not within the 24-hour window of having interacted with your business number if you have the WhatsApp Business API.

You can leverage message templates to push out notifications, shipping information, payment updates, appointment reminders, customer care messages, etc. 


The benefits of message templates

There are three significant advantages when you use WhatsApp message templates for your business:

  • They can be sent to customers who have crossed the time window of 24 hours since the last interaction.
  • They can be sent to users who haven’t interacted with your business number yet.
  • They can be used to display interactive buttons on WhatsApp.

How do you create WhatsApp message templates?

If you use an Engati WhatsApp chatbot via 360Dialog, you will need to sign into the 360Dialog Client Hub.

From the dashboard, select your WhatsApp Business Account and go to ‘Templates.’

Now you need to hit ‘Add Template’


How to create a WhatsApp message template
Creating a WhatsApp message template


Give your template a name. It should only comprise lower case letters, numbers, and underscores.

Select the language that you want to use in your template. You’ll also need to choose the category that your template falls under. Here are your options:

  • Auto Reply
  • Account Update
  • Payment Update
  • Personal Finance Update
  • Reservation Update
  • Appointment Update
  • Shipping Update
  • Issue Resolution
  • Transportation Update
  • Ticket Update
  • Alert Update


Now, choose whether you want a Standard (text only) or a Media Template.

1

Standard (text only) Templates

These will only have body sections. While writing your message content, you can add variables by using {{#}} as a placeholder. Your placeholders would look like  {{1}},  {{2}}, etc.

2

Media Templates

These consist of a header, body, footer, and buttons.

Headers can be text, image, video, or document. Your body, like your footer, can only be text-based. Buttons can include Quick Reply buttons or Call to Action buttons. Call to Action buttons can be used to urge your customers to visit a website or call a phone number.

After creating your WhatsApp message template, you’ll need to submit it to WhatsApp for their approval. This can be done directly from the 360Dialog portal where the message template is created.

Create your own Whatsapp Chatbot for 5$ a day
Schedule a demo

How do you send WhatsApp message templates? 

There are two steps that you need to follow to execute and send your message templates.

1

Number validation

You’ll need to execute this API (copy this curl command and import it in Postman). Replace the API Key with your WhatsApp Business number’s API Key and use your recipients’ phone numbers in the “contacts” section.

Sample code:

curl --location --request POST 'https://waba.360dialog.io/v1/contacts' \

--header 'D360-API-KEY: prD9dtBw7GNRsYVb1kuTgsMcnnAK' \

--header 'Content-Type: application/json' \

--data-raw '{

"blocking": "wait",

"contacts": [

"+917366879580"

],

"force_check": true

} ' 


Number Validation

The response you receive will include a wa_id. You will need to use this wa_id in the “to” section of the Template API.

Sample response:

Number validation response
2

Template API execution

After getting the number validated, plug the wa_id into the “To” section of your template API and execute it. You can copy this curl command, replacing the sample namespace and text with your namespace and text.


curl --location --request POST 'https://waba.360dialog.io/v1/messages' \

--header 'D360-API-KEY: prD9dtBw7GNRsYVb1kuTgsMcnnnAK' \

--header 'Content-Type: application/json' \

--data-raw '{

"to": "917366879580",

"type": "template",

"template": {

"namespace": "b1529400_23d1_43ba_8a55_858f48b97annfb",

"name": "order",

"language": {

"code": "en",

"policy": "deterministic"

},

"components": [

{

"type":"body",

"parameters":[{

"type":"text",

"text":"test1"

},

{ "type":"text",

"text":"test2"

},

{ "type":"text",

"text":"test3"

},

{ "type":"text",

"text":"test4"

},

{ "type":"text",

"text":"test5"

}]

}]

}

}' 


Using the Template Message Node on Engati

You can make use of the Template Message Node in Engati’s conversation flow builder to send template messages directly in the bot flow, use the Broadcast workflow to shoot broadcasts with Path type and have node setup in the specific path, or even use the Broadcast API with external systems to trigger a specific path according to custom logic.

To use the Template Message node, first pick the template that you want to use.

Using the Template Message Node on Engati


Now upload documents and media and insert the attributes or values for the parameters. 

Upload documents & media and insert attributes or values for parameters in your WhatsApp Message Templates


If you’re using quick reply buttons, choose the path that you want to trigger and/or the attribute that should be set when the button is clicked.

Now you can use the WhatsApp number of an existing bot user to test your template.

Even your agents can send WhatsApp message templates now!

We have now made it possible to you to send message templates directly from the OneView Inbox. 

After WhatsApp’s 24-hour chat window expires for a user, your agents, supervisors, and owners can start another business-initiated conversation by sending a WhatsApp message template directly from the OneView Inbox if you’re using WhatsApp with 360Dialog.


Send WhatsApp message templates from the OneView Inbox
Restart conversations with template messages from the OneView Inbox


What are the parameters used for WhatsApp message templates?

  • Template object
  • Components object
  • Parameters object
  • HSM object
  • Language object

FAQs

1

Is there a limit on the number of template messages an account can have?

You have a maximum of 250 message templates for every WhatsApp Business account. Each of these templates can be translated into multiple languages and would still be counted as a single template.

2

Can you send message templates to anyone?

Yes, you can send WhatsApp message templates to any user with a WhatsApp chatbot, regardless of whether they have had prior interactions with your WhatsApp Business number.

3

Does WhatsApp approve all message templates?

WhatsApp usually approves message templates within 48 hours if the templates adhere to certain guidelines. However, if your message template does not get approved, you will receive a reason and can revise and resubmit your message template for approval.

Update: Register now and get your WhatsApp number activated in 5 mins!

Create your own Whatsapp Chatbot for 5$ a day
Schedule a demo


Engati Team

At the forefront for digital customer experience, Engati helps you reimagine the customer journey through engagement-first solutions, spanning automation and live chat.

Close Icon
Request a Demo!

Get started on Engati with the help of a personalised demo.

Thanks for the information.
We will be shortly getting in touch with you.
Please enter a valid email address.
For any other query reach out to us on contact@engati.com
Close Icon
Congratulations! Your demo is recorded.

Select an option on how Engati can help you.

I am looking for a conversational AI engagement solution for the web and other channels.

I would like for a conversational AI engagement solution for WhatsApp as the primary channel

I am an e-commerce store with Shopify. I am looking for a conversational AI engagement solution for my business

I am looking to partner with Engati to build conversational AI solutions for other businesses

continue
Finish
Close Icon
You're a step away from building your Al chatbot

How many customers do you expect to engage in a month?

Less Than 2000

2000-5000

More than 5000

Finish
Close Icon
Thanks for the information.

We will be shortly getting in touch with you.

Close Icon

Contact Us

Please fill in your details and we will contact you shortly.

Thanks for the information.
We will be shortly getting in touch with you.
Oops! Looks like there is a problem.
Never mind, drop us a mail at contact@engati.com

<script type="application/ld+json">
{
 "@context": "https://schema.org",
 "@type": "FAQPage",
 "mainEntity": [{
   "@type": "Question",
   "name": "What are WhatsApp message templates?",
   "acceptedAnswer": {
     "@type": "Answer",
     "text": "If you need to reach customers who have not interacted with your WhatsApp Business Number within the last 24 hours, message templates are exactly what you need. WhatsApp message templates are specific message formats pre-approved by WhatsApp and can be sent to customers who are not within the 24-hour window of having interacted with your business number if you have the WhatsApp Business API."
   }
 },{
   "@type": "Question",
   "name": "Is there a limit on the number of template messages an account can have?",
   "acceptedAnswer": {
     "@type": "Answer",
     "text": "You have a maximum of 250 message templates for every WhatsApp Business account. Each of these templates can be translated into multiple languages and would still be counted as a single template."
   }
 },{
   "@type": "Question",
   "name": "Can you send message templates to anyone?",
   "acceptedAnswer": {
     "@type": "Answer",
     "text": "Yes, you can send WhatsApp message templates to any user with a WhatsApp chatbot, regardless of whether they have had prior interactions with your WhatsApp Business number."
   }
 },{
   "@type": "Question",
   "name": "Does WhatsApp approve all message templates?",
   "acceptedAnswer": {
     "@type": "Answer",
     "text": "WhatsApp usually approves message templates within 48 hours if the templates adhere to certain guidelines. However, if your message template does not get approved, you will receive a reason and can revise and resubmit your message template for approval."
   }
 }]
}
</script>