Skip to main content
We just moved from Braze to Iterable and have been re-thinking some of our messaging practices due to the new service. In Braze we used quite heavily a feature called "abort". Whit it, you could write if-else statements into the message body and prevent the message to be sent to specific users.

For example:
`if (customer has made the first purchase)
{send this email}
else
{abort}`

This was really handy as it allows us (the marketing team) to fully control the message flow without always bothering our engineering team. With Iterable, or to be more specific, with Handlebars, you do not have that option.

We found a way around this limitation. We created a snippet that causes an error and therefore skips the message sending to that specific user.

The snippet looks like this:
`{{#lookup invalid as |invalid|}}{{/lookup}}`

We call it "skip". This is how we used it in a push campaign:

`{{#ifGt cityOffering.portionsAvailableNow 80}}`
You have `{{credits.amountInUserCurrency}}` worth of credits on your account, don’t forget to use them ✌️Check out today’s offers and rescue something tasty!
`{{else}}
{{ snippet "skip" }}
{{/ifGt}}`

It's a really handy way to have an "engineering" control to your campaigns without having that actual engineering skillset! 😉
@Antti Tuomola Can you confirm if my understanding of your skip logic is correct below:
1) If a user has a credit amount of $80, he'll get the email above in your example. For those who don't have $80 is the credit amount, Iterable will skip sending this email, i.e. no one will get this email.
@Catherine Chan Almost! Conditional rule checks if there are more than 80 portions available in the customer's location (we use data feed called cityOffering there), and if it is, the message gets sent.

Credits amount is shown no matter how much the customer has them, but in the segmentation of this campaign, we've included only customers with more than 5€ of credits.

So the campaign goes through every customer from the segment of:
`city = isSet & credits > 5`
and gets the current number of portions available in the customer's city. If that number is more than 80, the message get's sent to that customer. If not, message gets skipped.

Reply