Route Form Submissions to the Right Team with Email Routing Rules
The problem
You have one contact form on your website. People use it for everything: sales inquiries, support requests, partnership proposals, job applications.
All of these go to one email inbox. Someone has to manually sort and forward each submission to the right person. That's a waste of time.
The solution: conditional email routing
InputHaven's email routing rules let you automatically send submissions to different email addresses based on field values. No code changes required — configure it entirely in the dashboard.
How it works
Each routing rule has four parts:
- Field — which form field to check (e.g., "department", "inquiry_type", "subject")
- Operator — how to match: equals, contains, starts with, or ends with
- Value — the value to match against (case-insensitive)
- Email — where to send matching submissions
When a submission comes in, InputHaven evaluates each rule in order. All matching rules fire — so a submission can go to multiple recipients if it matches multiple rules.
If no rules match, the submission goes to your form's default notification email.
Example setup
Say your contact form has a "department" dropdown:
<select name="department" required>
<option value="sales">Sales</option>
<option value="support">Technical Support</option>
<option value="billing">Billing</option>
<option value="partnership">Partnerships</option>
</select>In the InputHaven dashboard, you'd set up these rules:
| Field | Operator | Value | Send to |
|---|---|---|---|
| department | equals | sales | sales@yourcompany.com |
| department | equals | support | support@yourcompany.com |
| department | equals | billing | billing@yourcompany.com |
| department | equals | partnership | partnerships@yourcompany.com |
Now each department automatically gets the inquiries meant for them.
Advanced patterns
Route by content keywords
If users don't select a category, you can route based on message content:
| Field | Operator | Value | Send to |
|---|---|---|---|
| message | contains | pricing | sales@yourcompany.com |
| message | contains | bug | support@yourcompany.com |
| message | contains | invoice | billing@yourcompany.com |
Route by email domain
For B2B forms, route based on the submitter's email:
| Field | Operator | Value | Send to |
|---|---|---|---|
| ends with | @bigclient.com | vip-support@yourcompany.com | |
| ends with | .edu | academic-sales@yourcompany.com |
Multi-recipient routing
A submission can match multiple rules. If someone from bigclient.com submits a support request, it could go to both vip-support@ and support@ — ensuring VIP clients get fast attention.
Setting it up
- Go to Dashboard → Forms → [Your Form] → Settings
- Scroll to Email Routing Rules
- Click Add Rule
- Configure field, operator, value, and email
- Click Save
You can add up to 20 rules per form. Rules are evaluated in order, and all matching rules fire.
Plan requirements
Email routing is available on Starter ($5/mo) plans and above. Free tier forms always send to a single notification email.
Tips
- Test your rules by submitting test data through your form
- Use specific operators — "equals" is more precise than "contains"
- Set a fallback — your form's default email catches anything that doesn't match a rule
- Keep it simple — 3–5 rules covers most use cases. If you need more complex logic, consider using webhooks to forward to a custom backend.