> For the complete documentation index, see [llms.txt](https://docs.gallabox.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gallabox.com/basic-modules/whatsapp-template-guidelines/custom-marketing-and-utility-templates.md).

# Custom Marketing and Utility Templates

### Marketing Message Template

Marketing templates are versatile. Unlike other templates focused on specific transactions, they cover a wider range including promotions, greetings, updates, invitations, and calls to action.

Here are some of the most common use cases for Marketing templates:

<table><thead><tr><th width="204">Use-Case</th><th>Example Message Template</th></tr></thead><tbody><tr><td>Promotions or Special Offers</td><td>🎉 Don't miss our weekend sale! Enjoy 20% off on all products. Use code: WEEKEND20. Hurry, offer ends Sunday!</td></tr><tr><td>Welcome Messages</td><td>👋 Welcome to our community! Explore our latest products and exclusive offers. Let us know if you have any questions.</td></tr><tr><td>Updates, Invites, or Suggestions</td><td>📢 Stay tuned for exciting updates! Join us for our product launch event next Friday. Save the date!</td></tr><tr><td>Call To Action</td><td>🛍️ Your cart is waiting! Complete your purchase now and enjoy free shipping. Click here to shop: [Link].</td></tr></tbody></table>

### Utility Templates

Utility templates are typically activated by a user's action or request and are designed to notify precise details about ongoing transactions, accounts, subscriptions, or interactions. For example, an order confirmation template should include essential information like the corresponding order number.

Let's look at some examples of messages that align with the utility template category:

<table><thead><tr><th width="248">Use-Case</th><th>Example Message Template</th></tr></thead><tbody><tr><td>Managing User-Requested Opt-Ins</td><td>You're now subscribed to receive our latest updates and exclusive offers. Stay tuned for exciting news!🔔</td></tr><tr><td>Order or Transaction Management</td><td>🛒 Order Confirmation: Thank you for your purchase! Your order #123456 has been confirmed.</td></tr><tr><td>Account Alerts and Updates</td><td>📬 Account Update: Your password has been changed successfully. If you didn't make this change, contact support immediately.</td></tr><tr><td>Feedback Surveys</td><td>📋 We value your feedback! Please take a moment to complete our short survey and share your thoughts. Click here: [Survey Link].</td></tr><tr><td>Continuing a Conversation</td><td>👋 Hi [Name]! It's been a while since we chatted. How can we assist you today? Reply with your questions or concerns.</td></tr></tbody></table>

{% hint style="info" %}
If a template includes both utility and marketing content, it falls under the category of a marketing template. In simple terms, any conversation that isn't about utility or authentication is considered a marketing conversation.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.gallabox.com/basic-modules/whatsapp-template-guidelines/custom-marketing-and-utility-templates.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
