🟩 How to Create a Message Template from WhatsApp Cloud API

📚 In this tutorial, you’ll learn how to create a message template using the WhatsApp Cloud API and integrate it with BotCommerce. This guide will walk you through the steps to create, configure, and map your message template effectively.

💡 PRO TIP: Click here to hire an expert to guide you in the step by step. Book a call now to learn all the tips and tricks for training your AI, or let us handle it all for you instead.

Creating message templates is essential for efficient communication on WhatsApp. This guide will walk you through the process of using the WhatsApp Cloud API to design and implement message templates, allowing you to automate and personalize your customer interactions with ease.

Visit business.facebook.com and log in to your account.

If you have multiple business accounts, select the appropriate one from the drop-down list.

Click on the All Tools menu and select WhatsApp Manager.

Create a New Message Template

In the WhatsApp Manager, locate your WhatsApp account and click on the three dots menu.

Select Manage Message Templates.

Click on Create Template to start a new template creation.

You will see three categories to choose from:

Marketing: For promotions or product/service information.

Utility: For messages related to existing orders or accounts.

Authentication: For sending verification codes or login confirmations.

For this tutorial, select Utility.

Configure the Message Template

Name the Template: Enter a unique name for your message template.

Select a Language: Choose the language in which the message will be sent.

Click on Continue to proceed.

You can add a header to your message, which can be either Text or Media.

If you choose Text, a form will appear for you to enter the header text.

If you select Media, you can choose from three options: Image, Video, or Document.

For this tutorial, let’s select Image. You will have the option to upload the image when using this template.

Compose the Message Body: Write the body of your message. You can use variables to personalize the content.

Example message body: “Your order {order_number} has been shipped and is expected to arrive by {delivery_date}.”

If you want, you can include a footer for additional information.

You can add Call to Action or Quick Reply buttons to your message.

For this example, let’s add Quick Reply buttons:

Write the text for the button (e.g., “Track Order”).

To add another button, click on Add Button.

These buttons can be linked to postbacks when using the message template.

Before submitting the template, you need to add sample data:

Header Sample Data: If you used an image, provide a sample image.

Variable Sample Data: Add sample data for any variables used in the message body.

Once all fields are filled out, click on the Submit button.

The template will be sent to WhatsApp for approval. It will be marked as pending until verified.

Refresh the page to check the status. Once approved, you can proceed to the next step.

Go to BotCommerce’s Message Templates section.

Click on Check Status to fetch the message template you created on the WhatsApp Cloud API.

Once the template appears, click on Map Variables.

Select the corresponding variables from the list or create new ones if necessary.

Finally, click on the Save button.

Your Message Template is Ready: The template is now integrated and ready to be used within BotCommerce.

You can now use this template to send personalized notifications via WhatsApp to your customers.

For further assistance, please contact our support team. We are here to help you optimize your messaging strategy.