Conditional Emails
Send different emails based on form responses — add conditions to email different people based on form answers. For example, send different confirmation emails depending on the plan a user selects, or route notifications to different teams.
How Conditional Emails Work
You can create rules that match specific form answers. When a submission matches a rule, Form Mailer sends the corresponding template instead of the default one. You can create multiple rules per form, each with its own conditions and templates.
Setting Up Conditions
- Open the Form Mailer sidebar on your form
- Go to the Conditions tab
- Click Add Condition
- Configure:
| Field | Description |
|---|---|
| Question | The form question to check |
| Operator | How to compare (equals, contains, etc.) |
| Value | The value to match against |
| Template | The email template to send when matched |
Operators
| Operator | Description | Example |
|---|---|---|
| equals | Exact match | Plan equals "Enterprise" |
| not equals | Does not match | Status not equals "Cancelled" |
| contains | Includes the text | Comments contains "urgent" |
| starts with | Begins with the text | Name starts with "Dr." |
| is empty | No answer provided | Phone is empty |
| is not empty | Answer was provided | Phone is not empty |
Examples
Different Emails by Plan
| Condition | Template |
|---|---|
Plan equals "Free" | Free plan welcome email |
Plan equals "Pro" | Pro plan welcome with setup link |
Plan equals "Enterprise" | Enterprise welcome with onboarding calendar link |
Event Type Routing
| Condition | Template |
|---|---|
Event Type equals "Workshop" | Workshop details + materials list |
Event Type equals "Webinar" | Webinar link + calendar invite |
Event Type equals "Conference" | Conference agenda + travel info |
Multiple Conditions
You can add multiple conditions to a single rule using AND / OR logic:
- AND — all conditions must match
- OR — at least one condition must match
Example:
Plan
equals"Enterprise" AND Regionequals"EU" → Send EU Enterprise welcome email
Fallback Template
When no conditions match, Form Mailer sends the default template. Always configure a default to ensure every respondent receives an email.
Conditions are evaluated in order from top to bottom. The first matching rule wins. You can drag to reorder rules in the sidebar. Remember, you can create multiple rules per form to handle different notification scenarios.