
A shared contact form can send sales questions to sales and support questions to support without asking visitors to know your internal email addresses. Contact Form 7 supports selectable recipients through its pipe syntax. The visitor chooses a readable department name, while the mail template uses the mapped address.
The configuration is small, but the workflow needs an owner. This guide shows a fixed department menu, explains which values belong in notifications and reports, and provides a test plan for avoiding misrouted inquiries. It does not create workload balancing, automatic CRM assignment or a guarantee that someone will reply.
Define a small routing map first
Start with a list of reasons someone contacts you, rather than your full organization chart. A visitor usually understands “Sales,” “Support” and “General inquiry” more easily than internal team codes. Each option should lead to a monitored destination with someone responsible for handling unexpected messages.
Write down the public label, destination mailbox, operational owner and fallback procedure. This can be an internal note; the mailbox addresses do not need to appear on the public page. Avoid making an individual employee the only recipient if holidays or a role change would leave the route unmonitored.
A single-choice menu is easier to reason about than a group that permits multiple departments. If people routinely choose the wrong department, revise the labels and help text before adding more choices. Routing quality is partly an information-design problem.
Add a required department selector
In the Form tab, add a labeled menu. Replace these example addresses with destinations you own or are authorized to use:
<label>What can we help with? (required)
[select* inquiry-team first_as_label "Choose a department"
"Sales|[email protected]"
"Support|[email protected]"
"General inquiry|[email protected]"]
</label>
The pipe divides each public option from its mail replacement value. The text before the pipe is shown to visitors; the address after it is used by the corresponding mail-tag. This behavior is documented in Contact Form 7’s selectable-recipient guide. The example uses a required menu and a first option as its prompt; consult the menu reference for those options.
Keep the label attached to the menu and check it on a small screen. A long list inside a narrow layout makes a simple decision unnecessarily difficult. If the form appears in several page templates, inspect every placement, especially those with different CSS or page-builder wrappers.
Use the mapped address in the notification
In the primary Mail template, set the To field to [inquiry-team]. Keep your normal same-domain From address and the visitor’s email in Reply-To when appropriate for the team notification. Review the official mail configuration reference when editing header fields.
For the subject and message body, the readable department is usually more useful than repeating its mailbox address. The raw mail-tag returns the part before the pipe:
To: [inquiry-team]
Subject: Website inquiry — [_raw_inquiry-team]
Message body:
Selected department: [_raw_inquiry-team]
Name: [your-name]
Email: [your-email]
Message: [your-message]
This example assumes your existing name, email and message fields use those names. Replace them to match your form. Do not paste a new mail template over a working one without checking attachments, special tags and required business context.
The distinction between the mapped and raw values matters. Using the raw label in To would try to deliver mail to a department name instead of the intended mailbox. Conversely, using the mapped address in a report can expose internal routing details and produce confusing categories when destinations later change.
Keep operational routing and analytics categories distinct
For reporting, store a stable category such as sales, support or general. If a mailbox changes from a named employee to a shared team inbox, the business category can remain the same. Document any label change so a monthly report does not mistakenly treat renamed categories as a new source of demand.
Do not assume an entry-storage or integration plugin exports the same value that the mail template uses. Check one saved record for each option. Some integrations work with submitted values, while mail replacement has its own behavior. Inspect the actual mapping before building a dashboard or automation around the field.
The pipe mapping belongs to Contact Form 7. It is not a CF7 Analytics integration or an automatic CRM assignment feature. Use our monthly reporting guide to define your department totals only after verifying the fields available in your chosen data source.
Verify every branch on staging
Use controlled inboxes and synthetic messages for the first test. Create a short acceptance record with one row per menu option. For each case, record the visible selection, received To address, displayed department label and whether any connected system stored the expected category.
- Leave the prompt selected and confirm the required-field behavior prevents a normal successful submission.
- Select Sales, Support and General inquiry separately and verify the correct destination for each.
- Check that a notification does not also reach an obsolete default address through Cc, Bcc or another integration.
- Use the form on every page where it appears, including mobile layouts.
- If an autoresponder is enabled, verify its recipient independently from the selected department.
Inspect the rendered public markup to confirm the intended labels appear without the mapped addresses. That is a useful exposure check, but hiding addresses is not an authorization mechanism. Visitors can manipulate browser-side inputs. Keep destinations as an administrator-controlled list and test unexpected values in an isolated environment before relying on the route.
Plan for mailbox and staffing changes
A routing rule continues to exist after a team changes. Assign someone to review it when staff leave, shared inboxes are renamed or a department is merged. Update the destination, retest the affected option and record when the change became active.
Look for repeated reassignment in your actual lead process. If support often forwards messages selected as sales, the fix may be a clearer prompt or a short explanation beneath the selector. Measure those changes with comparable periods and enough inquiries to distinguish a pattern from a few unusual cases.
Finally, separate successful routing from timely handling. Use the response-time workflow to assign ownership after receipt, and the form testing checklist to preserve a repeatable test after plugin updates. A department selector earns its place when it shortens the path to a useful reply.
