Q:
Can I set an "OR" condition for an email trigger so that it activates if the subject contains either A or B?
A: Yes, you can set this up using the following steps!
Step 1. Search Location
Select the part of the email you want to search (e.g., Subject, Body).
Step 2. Search Conditions
Choose "Match with regular expressions."
Step 3. String
Enter A | B
where A and B are the conditions you want to match. The vertical bar |
between them functions as the "OR".
For example, if you want to trigger the email when the subject contains either "Invoice" or "Receipt", you would use Invoice|Receipt
as the string.
📚 Related Guides
✍️ How to Write Regular Expressions - View Guide Here
📩 How to Set Up Email Triggers - View Guide Here
Search Keywords
Search Keywords
email, trigger, email trigger, search, or condition, regular expressions, vertical bar