# How to personalize the content of your in-app message?

{% hint style="info" %}
This guide is specific to Batch's Mobile Engagement Platform (More on the [difference between Batch's CEP and MEP](https://app.gitbook.com/s/UIK868wiiK9XOVyETGZS/other/faq/what-are-the-differences-between-batch-customer-engagement-platform-and-mobile-engagement-platform)).
{% endhint %}

Batch provides a system of dynamic content and a templating engine, allowing you to create dynamic messages for your campaigns.

## How? <a href="#how" id="how"></a>

You can **personalize your In-App messages** from the campaign editor.

When editing your message, just click the {...} button, choose the custom attribute you want to personalize your message with and select the formatting.

For instance, you can customize the name, the city, or the amount left in the users' pot:

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FfttyVyuckliXBANK5yxi%2Fperso-inapp.jpg?alt=media&#x26;token=043f7d1c-6290-431d-9ac0-95107a18c99a" alt=""><figcaption></figcaption></figure>

Once it's done, click the {...} button below the preview to see how the notification will look for 10 random installs:

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2FljABAq4dlYRSzHSkQknr%2Fscreenshotinapp.png?alt=media&#x26;token=252a76f5-dea7-43b4-8c35-0eccf575fbba" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Don't forget to add a default value so that the content of your message adapts if the user doesn't have the attribute selected.
{% endhint %}

## Using dynamic content wisely in your messages <a href="#using-dynamic-content-wisely-in-your-messages" id="using-dynamic-content-wisely-in-your-messages"></a>

Dynamic messages can be very handful to build user loyalty by creating bonds and addressing users in a personalized way.

It will definitely help you make a difference in the eye of your audience.

Here are some examples :&#x20;

<figure><img src="https://509463063-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfiAYaWDWqtFZeXxyg67F%2Fuploads%2Fay2AUIICgi3n0MMBNEwE%2Fimage%20(4).png?alt=media&#x26;token=02e60127-9609-49a6-b548-6dd60550deb6" alt=""><figcaption></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://doc.batch.com/guides-and-best-practices/message/in-app-messaging/how-to-personalize-the-content-of-your-in-app-message.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.
