FAQ

Multiple conditions for conditionally sending emails or attaching templates to emails

September 20, 2021

You can add conditional logic to the following functions:

  • Attaching a template to an email
  • Sending an email

However, you may notice that the expression editor for these functions is simple (it consists of only 1 dropdown):

This lesson will show you a workaround for building complex, multi-line expressions for these functions.

The trick is using an Expression Block to encapsulate your complex, multi-line expression into a single variable, and then using that single in the simple expression editor for these two functions.

How it works

Hire an Afterpattern expert

Go from idea to launch in weeks.

View services