Skip to main content

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​

  1. Open the Form Mailer sidebar on your form
  2. Go to the Conditions tab
  3. Click Add Condition
  4. Configure:
FieldDescription
QuestionThe form question to check
OperatorHow to compare (equals, contains, etc.)
ValueThe value to match against
TemplateThe email template to send when matched

Operators​

OperatorDescriptionExample
equalsExact matchPlan equals "Enterprise"
not equalsDoes not matchStatus not equals "Cancelled"
containsIncludes the textComments contains "urgent"
starts withBegins with the textName starts with "Dr."
is emptyNo answer providedPhone is empty
is not emptyAnswer was providedPhone is not empty

Examples​

Different Emails by Plan​

ConditionTemplate
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​

ConditionTemplate
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 Region equals "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.

note

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.