# Templates

## Creating template

* [ ] Go to the templates tab and click the New Template button &#x20;

![](/files/-M4k0g-06MKliDAMOWlR)

* [ ] Give your template a name and fill out the message body.  You can use merge tags by using the {{tag\_name}} notation. You can also use the emoji selector in the top right of the message body box.

#### Buttons

![](/files/-M7uzGDYjhpCQ5M8rT6K)

You can optionally add buttons and links to your notifications to make them actionable. Links can be URLs that take your users to a specific page in your app and can also use variables similar to the ones in the message body.

#### Test data / Preview

![](/files/-M4k1WmOKYwz1eDpdiO2)

* [ ] Use the Test Data and preview section to preview what your notification will look like with some test data.  When you’re ready click Save.

Now you can use this template with [Broadcasts](/broadcasts.md) and [Event Types](/event-types.md)


---

# 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://docs.ravenhub.io/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.
