Scope Wiser

AI Intent Detection and Agent Routing

Send each kind of customer message to the right AI agent, decide when the AI may answer, set memory, restrictions and timing, and use ## agent actions.

Last updated Nov 15, 2026

What you'll do: send each kind of customer message to the right AI agent, decide when the AI may answer at all, and give agents actions to perform.

Time: 20–30 minutes.

Intent is what the customer wants, not the exact words they typed. "Where's my parcel", "has it shipped yet" and "tracking?" are one intent. Everything here lives on one page: Chatbot Manager β†’ AI β†’ AI Configuration.

Before you start

  • ☐ You have built at least one agent. Building agents is covered in Training Your AI: Knowledge Sets, URLs, Files and Live Data.

  • ☐ If your bot has ever sent two replies to one message, read Preventing Bot Conflicts and Duplicate Replies first.

1. Open AI Configuration

  1. Open Chatbot Manager and select your bot.

  2. Click AI β†’ AI Configuration.

  3. Switch the AI Agent toggle on. Nothing below it appears while the toggle is off.

2. Choose who is on duty

  1. In Active Agents, select every agent that may answer on this bot.

  2. If one is missing, click + Create Agent, then Refresh to see it in the list.

Only agents chosen here can answer, and agents can transfer conversations only to other agents in this list.

AI Configuration with the Active Agents multi-select and the empty Agent Routing table

3. Write the routing rules

Agent Routing decides which agent replies first and where chats can transfer.

  1. Click + Add Rule.

  2. In MESSAGE TYPE / WHEN TO USE THIS AGENT, describe the kind of message.

  3. In ASSIGN AGENT, pick the agent.

  4. Repeat for two or three rules covering the categories that dominate your inbox.

The product's own example: "pricing / buy / product" β†’ Sales Agent, "bug / account / help" β†’ Support Agent.

Writing a rule that works:

  • Describe the situation, not just the words. "Customer is asking what something costs, whether a discount applies, or how to place an order" routes better than "price, cost, buy".

  • Include the phrasings customers really use, including misspellings, abbreviations and mixed languages.

  • Keep rules distinct. If two rules both cover "my order hasn't arrived", merge the agents or sharpen the descriptions.

Add more rules only when a real conversation went to the wrong agent.

4. Decide when the AI may speak at all

AI Response Mode is the most important setting on the page. Choose one:

  • AI Agent for All Queries β€” the AI answers every message, even if a bot flow or keyword could match.

  • AI as a Fallback Only β€” bot flows and keywords run first; the AI answers only when nothing matches.

Choose fallback unless your flows are thin, or you have watched the AI handle real conversations and trust it.

The AI Response Mode section with the two radio buttons

5. Hand conversations to a team

Assign to Team or Department hands a conversation to people rather than to another agent.

  1. Under Assignment, switch on Assign to Team or Department.

  2. Choose a Team / Department.

  3. Write an Assignment Message β€” the line the customer sees as they are passed across.

  4. Decide on Do Not Assign Agent in Business Off Hour β€” see AI Customer Service: Business Hours and After-Hours Replies.

6. Set memory

  1. Switch on Enable Contextual Memory. A Memory Window appears.

  2. Set Memory Window to 2 to start.

Memory Window counts whole conversations (0, 2, 4 …). Each step up adds history and cost on every reply.

7. Keep the AI off certain subjects

Under Behavior & Restrictions:

  1. In Restricted Topics, type a topic and press Enter. Repeat for each topic.

  2. In Response for Restricted Keywords (500 characters), replace the default "Sorry, I cannot assist with this query. Please contact support." with a line that says what happens next, for example "I can't help with that one, but a colleague can. I've passed this on and someone will reply here shortly."

Use it for medical, legal and financial questions, complaints heading towards a dispute, and anything where a wrong answer costs more than a slow one.

8. Set timing and effort

Under Advanced Settings:

  1. Set Delay for AI Reply (Seconds) β€” default 0, maximum 60. A few seconds lets a customer who sends three short messages finish the thought before the AI answers.

  2. Set AI Reasoning Level for Responses β€” Low, Medium or High. Higher handles awkward questions better and costs more on every reply. Low is enough for a bot answering delivery questions from a tight knowledge set. Change one level at a time.

  3. Optional: switch on Enable Typing on Indicator to show the customer that a reply is being composed. Pair it with a delay or a High reasoning level.

9. Save and check

  1. Click Save Settings.

  2. Check the right-hand AI Assistant Overview rail shows your agents and routing.

Avoid Reset to Default. It discards the whole configuration.

10. Test with real phrasings

  1. Message the bot from a real device using the phrasings your customers use.

  2. When a message reaches the wrong agent, fix that rule's description rather than adding another rule.

11. Optional: give an agent actions

Actions are written into an agent's SYSTEM PROMPT.

  1. Go to Chatbot Manager β†’ AI β†’ Agents and edit the agent.

  2. In SYSTEM PROMPT, type ##. A list of actions appears.

  3. Pick the action, then pick its parameter from the list.

  4. Write the condition around it, for example: "When the customer says the item arrived damaged, add the label damaged-item with ##add_label## and hand the chat to the returns role with ##assign_human_role##."

One # inserts a custom field into a message; two ## make the agent perform an action.

Know which handover you mean. ##transfer_agent## moves the chat to another AI agent listed in Active Agents. ##assign_human_member## and ##assign_human_role## move it to a person β€” a fixed person, or the next person in a rota.

Be careful with the destructive ones. ##block_subscriber## and the two cancel-order actions change something real with no confirmation step. Give them narrow conditions or leave them out.

Store actions need the store first. Put ##shopify_store## before any Shopify action and ##woocommerce_store## before any WooCommerce action. Product images go under Knowledge Sources β†’ Media, not in the prompt.

The SYSTEM PROMPT field with ## typed and the autocomplete open, listing the actions

βœ… Done when…

  • ☐ Active Agents lists every agent that should answer

  • ☐ Each main kind of message has an Agent Routing rule

  • ☐ AI Response Mode is set and the settings are saved

  • ☐ Test messages from a real device reach the right agent

If something doesn't work

  • The settings don't appear. The AI Agent toggle is off.

  • The AI is on but nobody answers. Active Agents β€” Not selected and Agent Routing β€” None under a green Active badge in the AI Assistant Overview rail means the AI is on with nobody to answer.

  • A message reaches the wrong agent. Fix the rule's description rather than adding another rule. Check that two rules don't cover the same situation.

  • An agent can't transfer a chat. Agents can transfer only to other agents in Active Agents.

  • Two replies to one message. Read Preventing Bot Conflicts and Duplicate Replies.

Reference

After hours

Do Not Assign Agent in Business Off Hour appears twice on this page: under Misc. Settings and under Business Hours. The Business Hours card is read-only here; its Edit button opens Bot Settings β†’ Business Hour. Setup is in AI Customer Service: Business Hours and After-Hours Replies.

All ## actions

You never type these by hand β€” pick them from the ## list. The info icon on the agent form opens the same list under the heading How to write actions in System Prompt, showing each action's format as ##action_name## : id.

The action reference drawer, opened from the info icon on the form, listing every handover, routing and inbox action with its format

Subscriber

Action

What it does

##add_label##

Add Label

##remove_label##

Remove Label

##assign_sequence##

Assign Sequence

##remove_sequence##

Remove Sequence

##save_custom_field##

Save Custom Field

##block_subscriber##

Block Spam Subscriber

Handover and conversation control

Action

What it does

##assign_human_member##

Assign Team Member (Fixed Person)

##assign_human_role##

Assign Team Role (Round Robin)

##transfer_agent##

Transfer AI Agent

##mark_as_solved##

Mark Conversation Solved

##add_note##

Internal Note

##follow_up##

Follow-up Reminder

##ask_information##

Ask Information

##finish_task##

Finish Task

##skip_reply##

Skip Reply

Flow and API

Action

What it does

##trigger_bot_flow##

Trigger Bot Flow

##call_http_api##

Call HTTP API (for developers)

Store orders. Shopify and WooCommerce get the same capabilities under different tokens. The WooCommerce note action is labelled Add Order Note on screen.

Shopify

WooCommerce

##shopify_store##

##woocommerce_store##

##shopify_get_order_details##

##woocommerce_get_order_details##

##shopify_recommend_products##

##woocommerce_recommend_products##

##shopify_update_order_tag##

##woocommerce_update_order_note##

##shopify_cancel_order##

##woocommerce_cancel_order##

To sharpen the answers rather than the routing, go back to Training Your AI: Knowledge Sets, URLs, Files and Live Data.

Next: AI Tokens: How Usage and Cost Actually Work.

Was this helpful?
Edit this page