Build powerful IF/THEN rules
Route, tag, and assign emails automatically — without writing code.
Header-based rules (instant triggers)
Header rules trigger on email metadata — the sender address, subject line, or Gmail/Outlook labels. Because they don't require fetching the email body, they execute instantly when an email arrives.
When to use header rules:
- Route emails from a specific sender to a team member
- Create tickets when subject contains "support" or "help"
- Tag emails with a specific Gmail label as leads
- Auto-assign based on the recipient address
Example rule: IF Subject contains "invoice" AND Label is "inbox" THEN Tag as "billing" AND Assign to Finance team
Body-parsing rules (Pro)
Body-parsing rules fetch the full email body to match against content. This enables more precise matching but uses an additional API call per email.
When to use body rules:
- Match specific phrases inside the email body
- Extract structured data from email content
- Combine with header conditions for precision
Important: Body-parsing rules are available on the Pro plan only. Each body fetch counts against your API quota. Use header rules where possible for performance.
Using AND/OR condition logic
Rules support both AND and OR logic to build precise conditions.
AND logic: All conditions must be true for the rule to trigger. Example: Subject contains "urgent" AND Sender is "client@company.com"
OR logic: Any one condition being true triggers the rule. Example: Subject contains "support" OR Subject contains "help"
Combining AND/OR: You can mix AND and OR conditions within a single rule. Conditions are evaluated left to right. Use parentheses in the rule builder to group conditions.
Available rule actions
When a rule triggers, you can execute one or more of the following actions:
Ticket actions:
- Create ticket
- Assign ticket to user or team
- Set ticket status (open, pending)
- Add tag to ticket
CRM actions:
- Create opportunity
- Assign to sales rep
- Set pipeline stage
Inbox actions:
- Assign email to user
- Add label
- Mark as read
- Move to folder
Notification actions:
- Send internal notification
- Trigger webhook (Pro)

