# Template

{% hint style="info" %}
A template is a pre-designed message format that can be used to send notifications to your customers.
{% endhint %}

Create templates at **Templates** to save commonly used messages for easy access in the future. By using variables, you can also personalize these templates to include specific details for each recipient (See [Message Personalization](broken://pages/Z8YOEAwK3zXqYXBmgIAm)).

## Creating a Template

1. Name a template
2. Type in the title, message, URL and upload an image if necessary
3. Personalize the message using variables if necessary
4. Select a category or create a new category
5. Save your template

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

## Managing Templates

You can view template details by clicking **\[···]** > **Details** or edit the template by clicking **Edit**. If you want to remove a segment, click **\[···]** > **Delete**.

<figure><img src="/files/5jgcbpL65aOuKvKB8OsA" alt="FlareLane Templates page showing how to view template details and edit or delete a template"><figcaption></figcaption></figure>

## Sending Messages from FlareLane API

In case you want to send push notifications from your server using FlareLane API, templates can help you to minimize your work.&#x20;

To make changes to the message that is sent from your server, developers' assistance is necessary.&#x20;

However, templates can help you to revise the message without the need for developers' assistance. You can easily make changes to the message through the templates, and the updated message will be sent from your server.

Just insert Template ID into your code. Go to **Templates** and click a template to check Template ID.

<figure><img src="/files/dZyTUkgOps6xwbjXnATr" alt="FlareLane Templates page showing how to send a message from customer&#x27;s server using templates"><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://guide.flarelane.com/engagement-tools/template.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.
