# How to use WhatsApp templates with Tiledesk

A message template is required to start a [business-initiated conversation](https://developers.facebook.com/docs/whatsapp/conversation-types). These conversations can be customer care messages or appointment reminders, payment or shipping updates, alerts, and more.

If you haven't yet configured a WhatsApp Business account, our guide [Configure a WhatsApp Business account](/apps-and-integrations/whatsapp-business/how-to-configure-a-whatsapp-business-account.md) awaits you! Also, you can watch a video version of this guide below, too.

{% embed url="<https://www.youtube.com/watch?v=K4IMJWI291s>" %}

#### **Create a WhatsApp template**

In order to create a template simply go to **Message templates** page in the [Meta Business Suite](https://business.facebook.com/wa/manage/message-templates/), select a Business Account on the left side and choose a WhatsApp Account on the right side.

> Note: each phone number has a different WhatsApp Account ID, therefore a different WhatsApp Account corresponds to different templates.

<figure><img src="/files/pSXRYzyQS6CMAwFLSR9U" alt=""><figcaption></figcaption></figure>

Click on **Create template**, follow the steps and submit the template for the approval process. For further info about message template creation please refers to the official [guidelines](https://developers.facebook.com/docs/whatsapp/message-templates/guidelines/).

#### **Set up the WhatsApp Business app on Tiledesk**

Let's see how to configure the WhatsApp Business app to allow Tiledesk to send templates. If you haven't already connected Tiledesk with WhatsApp Business take a look at [How to connect Tiledesk with WhatsApp Business](/apps-and-integrations/whatsapp-business/how-to-connect-tiledesk-with-whatsapp-business.md).

In order to use WhatsApp templates you need to add the **WhatsApp Business Account ID** in the Tiledesk WhatsApp configuration.

Go to Meta Developer console, select your app and on the left-side menu, underneath products section, go to WhatsApp → API Setup. Is important to select your production phone number, then copy the corresponding Business Account ID.

<figure><img src="/files/wFNWONfOSZojsdVLwXkJ" alt=""><figcaption></figcaption></figure>

Now go to [Tiledesk Console](https://panel.tiledesk.com/v3/dashboard/#/projects), open the WhatsApp integration app and paste the Business Account ID, as in the image below.

<figure><img src="/files/wQ3xD6CPqH10lfFZPz5X" alt=""><figcaption></figcaption></figure>

That's it, now you will be able to send Whatsapp templates from the Tiledesk Chat.

A template allows you to send a message to a WhatsApp user even if more than 24 hours have passed since the last message. Note that this is the only way to do it.&#x20;

So, let's open the Tiledesk Chat and select a WhatsApp conversation. Click on **Templates** and select one of your approved templates.

<figure><img src="/files/JOJUV05vEpQQYTKAQyzi" alt=""><figcaption></figcaption></figure>

If you have added some variables to your template, you have to fill all field in order to send it. Moreover, you can also add images, files or locations. You can add these media selecting a local file or pasting a remote url.

<figure><img src="/files/5Ean1NYwabQ40TXArY6z" alt=""><figcaption></figcaption></figure>

Once your template is ready, click on the *Send* button and *les jeux sont faits!*\
You will see a simple preview in the Tiledesk chat, while the user will receive immediately the template.

<figure><img src="/files/I1Ja0pi0zx7YxL2ut3ww" alt=""><figcaption></figcaption></figure>

\
If you have any questions, feel free to contact us live on chat or at <support@tiledesk.com>

For more info on who we are, what we do, or what is our shtick, visit the [Tiledesk Website](https://tiledesk.com/) 👩‍🚀\
&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://guide.tiledesk.com/apps-and-integrations/whatsapp-business/how-to-use-whatsapp-templates-with-tiledesk.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
