Route replies by country domain to the regional sales team
Replies from domains ending in .de, .at or .ch move to the DACH list and ping the DACH team in Slack. Copy the workflow per region to route every market to its own reps.

Why teams run it
Replies in another language reach a native speaker instead of bouncing between colleagues.
Set it up in Master Inbox
- In Master Inbox, open Settings, then Workflows, and click Add a workflow.
- Name it Route replies by country domain to the regional sales team.
- Set the trigger to Incoming Message and choose All channels.
- Add a condition: Domain ends with .de, .at or .ch.
- Add the action Move to list: DACH.
- Add the action Notify in Slack: Post the reply to #dach-sales.
- Save the workflow and switch it to Active.
Before you start, connect Slack under Settings, Integrations.
Or create it with the API
Everything in the workflow builder is also in the Master Inbox API. This request creates the same workflow. Replace the example ids with your own label, list and campaign ids from GET /workflows/filter-fields. This workflow also uses conditions: add them under trigger_config.conditions, as shown on the conditions page.
curl -X POST https://api.masterinbox.com/api/api-webhook/v1/api/workflows/create-workflow \
-H "Authorization: Bearer $MASTER_INBOX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Route replies by country domain to the regional sales team",
"trigger_type": "incoming_message",
"trigger_config": {
"channel_ids": [
"-1"
]
},
"action_configs": [
{
"action_type": "move_to_list",
"inbox_type_id": 52311
},
{
"action_type": "slack_notify",
"payload_variables": [
"name",
"company_name",
"label_names",
"text",
"thread_url"
],
"show_draft": true
}
]
}'Full reference: workflow API guide and API docs.
Or ask Claude, ChatGPT or Grok to build it
Our workflow guide is written for AI agents to read. Give your assistant your API key and this prompt:
Read https://app.masterinbox.com/public-workflow-api.md and use my Master Inbox API key to create this workflow: "Route replies by country domain to the regional sales team". First call GET /workflows/filter-fields and look up my label, list and channel ids, then create the workflow and tell me what you set up.Questions
What about prospects on .com domains?
Route those by campaign name or by the mailbox they replied to instead.
Can the regional team see only its list?
Yes. Scope member permissions so each region sees its own leads.
Can I build this workflow through the API?
Yes. Send the create-workflow request shown on this page with your Master Inbox API key. The API checks the payload first and lists every problem by field if anything is off.
Which plan includes this?
This workflow works on the Team plan. Every plan has unlimited users and starts with a free 7-day POC.
Learn more
Related workflows
Route replies to the right team by campaign or brand
When a reply comes from a campaign whose name contains a brand or product, Master Inbox moves it to that team's list and posts it to the team's Slack...



Routing and assignmentAlert the manager in Slack when a positive reply has no owner
When a reply is labeled Interested and the lead is unassigned, Master Inbox posts to the managers' Slack channel, so no positive sits in a shared...
Routing and assignmentPing each rep in Slack about positive replies on their own leads
One workflow per rep: when a lead assigned to that rep is labeled Interested, Master Inbox posts the reply to the rep's Slack channel, so reps only...
Routing and assignmentRoute referral replies to a Referrals list and alert the owner
When a prospect points you to a colleague and the reply is labeled Referral, Master Inbox moves it to the Referrals list and posts it to Slack so a...

Run this on your own inboxes
Free 7-day POC. Unlimited users on every plan.
