AI router
The AI router sends each item down one of the outputs you name, such as Complaint, Sales lead and Spam. xMap AI reads each item and picks the output that fits, with a short reason; an item that fits none goes out of None of these. Each output is its own dot under the block, so each kind of item gets its own next step.
In the editor: Sends each item down one of 2 to 6 outputs you name, such as Complaint, Sales lead and Spam. xMap AI reads each item and picks the output that fits, with a short reason; an item that fits none goes out of None of these. Link each dot under the block to what should happen to those items.
Settings
Model
An account you connectxMap AI (the default) runs on xMap’s own models and uses credits. Or pick your own AI provider from the Connections page (OpenAI, Anthropic, Google Gemini, Azure OpenAI or an OpenAI-compatible server): this block then sends what it reads to that provider, on your own account and agreement with it, and xMap charges no AI credits for it.
Outputs
Text, several linesOne output a line: its name, then : and what goes there. 2 to 6 outputs; None of these is always there too.
One output per line: its name, then : and what goes there (optional). 2 to 6 outputs; None of these is always there too.
Needed before the flow can run.
Read
TextWhat xMap AI reads of each item. Left empty, its short text fields.
Field names, separated by commas, such as message, subject. Left empty: each item’s short text fields.
Instructions (optional)
Text, several linesAnything else that helps it choose, in plain words.
What comes out
Each item that leaves the block carries these fields, to use in the blocks after it as {{field}}.
Added to each item
Every run.
route: The output it went down.route_reason: Why, in a few words.visit_route: Only for stops a Route planner ordered before it: the name of their visiting route, kept here because route now holds the output.
How to use it
Sort the inbox
Complaints reach a person at once, questions get answered, spam goes nowhere.
Website form triage
Every form lands with the right team the moment it is sent.
Listings by kind
Each team gets only the listings it works on.
News by topic
Only the stories that matter reach the channel.
WhatsApp messages
Bookings go to an AI agent with the right tools; the rest to a person.
Postings by seniority
Each recruiter gets the level they place.
Good to know
- Link each dot under the block to what should happen to those items; an output nobody links is only counted.
- It is paid per item xMap AI reads. A test run shows a preview sorted by the words in each item; live runs ask xMap AI.
- xMap AI can only answer with one of your outputs or None of these.
- Removing an output removes its link; the outputs keep their order, so the dots follow the lines of Outputs.
Works well with
- News: Stories from news feeds (RSS or Atom) or a website’s news page: title, link, when, the source and a short summary.
- Email: Sends one email per run with all the items, or one email per item.
- Reply: Answers whoever started the flow, on the same channel: the app or system that called its Webhook / API gets the answer back, and a message from Slack, WhatsApp, Telegram, Teams, SMS, Outlook or Discord gets a reply in the same chat, through the account of the block that received it.
- Slack: Channel-based messaging platform
Help articles
- The AI router: send each item the right way: xMap AI sorts each item into one of the outputs you name.
Read more
- AI routing of leads to teams: each enquiry down its own named output: How the AI router reads each incoming lead, picks which of your teams should have it, says why, and sends anything that fits nowhere to a place you choose.
- Building a law firm leads list by area and firm size: For legal software and service providers: find law firms by district, sort them by size, reach the right partner or office manager, and keep the list fresh.
- An AI agent for customer support that answers from your own branch list: Branch addresses, opening hours and the nearest location are most of what customers ask. An agent that answers them from your tables and passes on the rest.
Try it
Build a flow with AI router on the home page, no account needed, or book a call. Try it live