Wednesday, October 27Digital Marketing Journals

What are WhatsApp message templates and how can you use them? | by Engati | Jul, 2021


While using a WhatsApp Business Number, there are two kinds of messages that you can use. If the customers you wish to message 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.‍

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

  • 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.‍

1. How Conversational AI can Automate Customer Service

2. Automated vs Live Chats: What will the Future of Customer Service Look Like?

3. Chatbots As Medical Assistants In COVID-19 Pandemic

4. Chatbot Vs. Intelligent Virtual Assistant — What’s the difference & Why Care?

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

Now you need to hit ‘Add 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

2. Media Templates

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.

1. Number validation

Sample code:

curl — location — request POST ‘’

— header ‘D360-API-KEY: prD9dtBw7GNRsYVb1kuTgsMcnnAK’

— header ‘Content-Type: application/json’

— data-raw ‘{

“blocking”: “wait”,

“contacts”: [



“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

curl — location — request POST ‘’

— 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”:”text”,



{ “type”:”text”,



{ “type”:”text”,



{ “type”:”text”,






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

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

This article about “What is WhatsApp message templates and how can you use them?” was originally published in Engati blogs.

Leave a Reply