Hello {profile.first_name}, but the Courier profile doesn’t have first_name and first_name wasn’t provided in the Send API call, then we will throw an error while rendering this email template.
The feature is available when rendering a Preview Test event and visible within Message Log render events
Preview


Conditional Blocks and Conditional Text
This feature runs its check after all conditionals have been evaluated and only checks the final blocks that will be sent to the provider. For example,- Put a conditional on profile.first_name for a text block
- Use
{profile.first_name}within that block - Courier renders the template, but doesn’t render that block because it fails the condition
- Throw on Variable Not Found will not invoke, and the render will succeed and send

Screenshot of a Conditional Block
Multiple channels
If you are sending to multiple channels and each provider has different variables, only the channel that fails the check will fail to send. For example, if using{profile.first_name} in an email template but not in a Courier Inbox template, then Email will fail to render and send if I do not have a profile.first_name, but the Inbox will render and send it successfully.