Content Block Basics
Understanding how Content Blocks work, the different Content Block types available in Courier, and their core functionality.
What is a Content Block?
Content Blocks are drag and drop components that allow you to build notification content which can be reused across your notification channels.
Courier Content Blocks are responsive and cross-channel by default. Content that you create in one channel is available in the Content Library for use in the other channels you add to a notification.
A few block types, such as
Action Blocks, have channel or integration specific options or formatting. In these cases, Courier automatically makes adjustments when you drag the content in from the shared content Library.
Adding Content Blocks to a Notification
When you create a new notification and add delivery channels, you will see the content toolbar. To create a new Content Block, click the block type you wish to add.
Content Block Library
The Block Library holds shared channel content. It will display blocks not in use by the selected channel. If a block is not being used by any channel, it will be marked as Unused. Unused blocks can be deleted by hovering over the block and clicking
Filtering Blocks Using Conditions
Blocks can be conditionally hidden using a filter. You can add a filter by selecting a block and clicking on the
This will present you with a modal where you can specify the conditions in which the block will be hidden or shown.
You can use values passed in the data object or from the merged recipient profile for the property and values.
Each content block has block-specific settings. The available settings are block-dependent but include things like alignment, color, and text formatting.
Removing a Block
Blocks can be removed from a channel by selecting the block and clicking the Remove Block button. This action will send it to the Block Library.