# Notification Blocks

Notifications can be customized using blocks. These block types allow you to dictate how the content of a Notification is rendered and styled before it is sent out. They are primarily used in Email Notifications.

{% hint style="info" %}
All block types utilize [Liquid Templating](/docs/notifications/liquid-templating-for-notifications.md) to display dynamic information inside Notifications.
{% endhint %}

## Text

<figure><img src="/files/qHs794wIVUoikEE7wHFy" alt="" width="375"><figcaption><p>Example Text Block in an Email Notification</p></figcaption></figure>

Text blocks allow you to display normal text inside Notifications. In Email Notifications, this block utilizes [Github Markdown](/docs/others/github-markdown.md) for formatting. Every succeeding text block is rendered on a new line.

{% hint style="info" %}
SMS Notifications can only have Text blocks.
{% endhint %}

## Header

<figure><img src="/files/sc2lHBu54roe2VEt6tBr" alt="" width="375"><figcaption><p>Example Header Block</p></figcaption></figure>

Header blocks allow you to display a header in emails. By default, this block uses your Workspace's logo but you can also upload a different image to override this.

## Footer

<figure><img src="/files/VOezfqXJAjVcnOsLhatn" alt="" width="375"><figcaption><p>Example Footer Block</p></figcaption></figure>

Footer blocks allow you to display a footer in emails. By default, this block uses your Workspaces's horizontal logo and tagline but you can also upload a different image and specify a different tagline to override this.&#x20;

Additionally, this block also uses your Workspace's legal information to display information about your terms of service, privacy policy, copyright, and address.

## Button

<figure><img src="/files/5Xu9a8AscGJvx6X6ETyv" alt="" width="375"><figcaption><p>Example Button Block</p></figcaption></figure>

Button blocks allow you to display a button in emails. This button will link out to a URL of your choice.

## Image

<figure><img src="/files/JLRNwxvnfv40BNfWpV58" alt="" width="375"><figcaption><p>Example Image Block</p></figcaption></figure>

Image blocks allow you to display images in emails. You can also optionally include an image subtitle as shown in the example above.

## Event Information

<figure><img src="/files/WlNnGymZia9eilhEOvox" alt="" width="375"><figcaption><p>Exampe Event Information Block</p></figcaption></figure>

Event Information blocks allow you to display a formatted section with information about an event. The block displays the event's title, date and time, attendees, location, and conference room link if those exist.

{% hint style="info" %}
This block can only be used if the Notification's Trigger attaches an Event to it.
{% endhint %}

## Event Cancel Information

<figure><img src="/files/hLMSkzbIEzayKuoD0WHb" alt="" width="375"><figcaption><p>Example Event Cancel Information Block</p></figcaption></figure>

Event Cancel Information blocks allow you to display a formatted section with information about a canceled event. The block displays the event's title, original date and time, and information about who canceled the event and why.

{% hint style="info" %}
This block can only be used if the Notification Trigger is "Event Canceled".
{% endhint %}

## Divider&#x20;

<figure><img src="/files/MXf2AGHn82VmXodtJ7re" alt="" width="375"><figcaption><p>Divider Block in between Text and Event Information Blocks.</p></figcaption></figure>

Divider blocks allow you to display a divider in emails. This can be useful to separate different sections of your email.


---

# 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://meetbit.gitbook.io/docs/notifications/notification-blocks.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.
