How to set conditional send rules to disable Notifications or Channels using properties from the Send API data object or User Profile.
Conditions functionality in the Notification and Channel settings allows you to use properties from the data or profile objects provided by the Send API call or User Profile to prevent the notification from sending when specific conditions are met.
- Channel conditions only apply to the channel where you set them.
- You cannot disable specific integrations within the channel. If you want to be able to disable specific integrations based on Conditions, add set the integration(s) as a stand-alone channel(s) in the notification.
Setting Send Conditions
For Notifications and Channels
Open the Notification / Block Settings and select the Conditions tab.
For Content Blocks
Open the conditional settings modal from the content block you wish to set conditions to.
- Select the
valuesto either render or hide when certain conditions are met.
You can access nested values using dot notation.
- Set the property name, operator and value that you want to disable/enable the notification, channel, or content block.
If you set multiple conditions, all conditions must be met to disable the message.