# Use location in message templates

Location headers appear as generic maps at the top of the template and are useful for order tracking, delivery updates, ride-hailing pickup/dropoff, locating physical stores, etc.&#x20;

The template will reflect a static location defined by the business for a particular use case, for example, a pickup spot for a particular order with a particular user. When tapped, the user's default map app will open and load the specified location.&#x20;

{% hint style="info" %}
Location headers can only be used:

* In **Utility** and **Marketing** templates (see [template categories](https://guides.clickatell.com/whatsapp-channel/channel-capabilities/whatsapp-message-templates/..#template-categories))
* In the **Cloud** environment

Real-time (live) locations are **not** supported.
{% endhint %}

## Add location to template header

1. When [creating your message template](https://guides.clickatell.com/whatsapp-channel/channel-capabilities/whatsapp-message-templates/add-message-templates) in WhatsApp Business Manager, add a media header and select *Location*.
2. The location's name and address are specified when you [send](https://guides.clickatell.com/whatsapp-channel/channel-capabilities/whatsapp-message-templates/send-message-templates) the template.

<figure><img src="https://content.gitbook.com/content/H9mbp0ZlSZKdmkQMXA0U/blobs/cLsEbTXBXlcxvx0WH5bK/image.png" alt=""><figcaption></figcaption></figure>

<figure><img src="https://content.gitbook.com/content/H9mbp0ZlSZKdmkQMXA0U/blobs/Tf8qJW6igC17F9odQNOu/image.png" alt="" width="375"><figcaption><p>Customer experience on WhatsApp</p></figcaption></figure>


---

# 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://guides.clickatell.com/whatsapp-channel/channel-capabilities/whatsapp-message-templates/use-location-in-message-templates.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.
