# 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](https://meetbit.gitbook.io/docs/notifications/liquid-templating-for-notifications) to display dynamic information inside Notifications.
{% endhint %}

## Text

<figure><img src="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2FfTyfPfgmchoxcjiucZQX%2FScreenshot%202024-04-27%20at%2018.09.53.png?alt=media&#x26;token=f52a4e03-27d3-402a-97dc-8badc6b1213c" 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](https://meetbit.gitbook.io/docs/others/github-markdown) 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2F0IVPRO3eLChsk8TqMqjl%2FScreenshot%202024-04-27%20at%2018.12.05.png?alt=media&#x26;token=11165448-156d-4930-9522-31eb011035c8" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2Fd4p504eWzLM53MBuqJ8F%2FScreenshot%202024-04-27%20at%2019.04.19.png?alt=media&#x26;token=17e0b2f4-a373-45f8-a4f2-dd305dd2ede5" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2FTD2DMfwWI06H9fx70dxV%2FScreenshot%202024-04-27%20at%2019.07.32.png?alt=media&#x26;token=6b6bd64b-81b0-4d66-8b5c-795ed4f2a9a5" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2F0kVyMCkxZ8tjV5xTZw6h%2FScreenshot%202024-04-27%20at%2019.08.55.png?alt=media&#x26;token=c1f5cf38-32a1-403c-89f2-c908f6907340" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2Fjl1lciEeNTYwdhYSFsnb%2FScreenshot%202024-04-27%20at%2019.10.41.png?alt=media&#x26;token=95cba46d-be54-449a-93e2-67e40f9477d2" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2FAf3xPb0fvsrJCi5xkgaT%2FScreenshot%202024-04-27%20at%2019.13.46.png?alt=media&#x26;token=7ffa0b9f-1a1f-4672-9818-2642ecf67791" 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="https://91127013-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F6B5cn0CbIbT4a4yvlffa%2Fuploads%2Febl31fUdO6wXNiLU5vVp%2FScreenshot%202024-04-27%20at%2019.16.14.png?alt=media&#x26;token=1979373c-2664-458b-9b4f-a8d1d8333c38" 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.
