Conditional logic for emails

Updated on:
July 28, 2021

The conditional logic is a great way to control who an email is sent to, what is in the email and when they are sent.

In this article you’ll learn how to:

  1. Add a condition to an email.
  2. How to add multiple conditions

How to add a condition to an email?

To add a condition to an email first you need to open up the Email settings by clicking the 'Automatically email created docs' checkbox within the 'Share via email' box. After the 'Email Settings' modal opens you can see the 'Sending conditions' on the right side under 'Attachments'.

To enable sending conditions click the 'Send emails based on defined rules' checkbox, which will open up the 'Email conditions modal'. In the top right hand corner of the box there is a field where you can enter a name of the condition.

To set a condition select a field the condition will be based on in the first dropdown menu then select an operator between:

  • equal
  • not equals
  • contains
  • not contains
  • is empty
  • is nonempty

When you have selected your operator, you can enter the value to reference in the final field.

You can then add another rule that will be used with the first rule this can be one of two options:

  • AND - will only be true if all the rules are true
  • OR - will be true if any of the rules are true

After you have selected this type of rule, all subsequent rules must either all be AND or all be OR.

Finally, if you need to remove any rule there is a trash can on the far right hand side of the rule. Click this to delete the rule.

When you are finished click 'Save' (in the bottom right hand corner) and the modal will close.

Feedback and feature suggestions

We created Portant only a few months ago, so any feedback or suggestions you have for us would be greatly appreciated. Please feel free to send us an email at contact@portant.co or use our contact form here: https://www.portant.co/support

Thanks,

Blake and James

More than mail merge

You can do a lot more than just mail merge with Portant. Portant is a fully-fledged online document automation solution that can optimise many different document flows. You can use our online document automation platform to optimise your repetitive work, so you can get back to doing the work you enjoy.

Get startedAn animation showing a google document being created from a Trello card.