Skip to main content

Overview

Glean’s Assistant auto-routing to Agents feature enables organizations to deliver faster, more accurate, and specialized responses by automatically directing user questions to custom-built agents. Instead of relying solely on the Glean Assistant’s general knowledge, you can configure the system to route, for example, HR or IT questions to dedicated agents tailored to your company’s policies, workflows, and data sources. This ensures users get authoritative answers and can trigger automated actions without needing to know which agent to use or how to find it.

Key Benefits

  • Faster, more accurate answers: Users get responses from the most relevant expert agent, improving quality and speed.
  • Seamless user experience: Employees continue to use Glean Assistant as their single entry point. No need to search for the right agent.
  • Centralized control: Admins can define and update routing rules to match evolving business needs.

Typical Use Cases

  • HR: Route all questions about benefits, PTO, or company policies to an HR agent that references official documentation and can initiate HR workflows.
  • IT Help Desk: Direct IT support requests to an IT agent that can troubleshoot, file tickets, or grant access.
  • Departmental Experts: Route specialized queries (e.g., “Who should I contact about X?”) to expert finder agents.

How It Works

  • When a user submits a question to Glean Assistant, the system evaluates the request against the routing conditions you’ve defined for each agent. If a match is found, the Assistant automatically routes the request to the appropriate agent. The user sees a message such as “Using Agent: [Agent Name]” at the top of the response, making the handoff transparent.
  • If multiple agents’ conditions match, the first agent in your configured list is selected. You can reorder agents to set priority.
  • If no agent matches, the Assistant responds as usual.
  • If an agent was mistakenly invoked or the user prefers not to use the agent, the user can “X” out of the agent at the top of the response and have the Assistant regenerate the answer using its general knowledge.

Step-by-Step Setup

Prerequisites

  • Glean Agents must be enabled and launched for your deployment
  • Admin access to the Glean Admin Console is required to configure routing
  1. Go to the Admin Console: Navigate to Admin Console → Platform → Agents.
  2. Open Assistant Auto-Routing: Expand the “Assistant auto-routing” section and click Configure.
  3. Add Agents and Routing Conditions: You can specify up to 15 conversational agents.
    • For each agent, provide a routing condition - a natural language description (max 500 characters) of the types of requests that should be routed to this agent.
    • Add example user requests to improve routing accuracy.
  4. Set Priority Order: Drag and drop agents to change their order.
  5. Save Changes: Click Save changes to activate your configuration.

Example Routing Conditions

HR Agent

Route to agent if the user asks about HR policy, benefits, leave (PTO, sick, parental/maternity/paternity), holidays, payroll/tax docs (W‑2, paystubs), employment verification, or reports a sensitive concern (harassment, discrimination). Do not route if it’s a login, MFA, SSO, or access issue to an HR/benefits system. Example requests:
  • “How do I request a PTO?”
  • “What holidays do we get off?”
  • “How do I enroll in benefits?”
  • “What is the process for maternity leave?”
  • “How do I update my direct deposit?”
  • “Where can I find my W‑2?”
  • “I need an employment verification letter.”
  • “How do I report harassment?”

IT Help Desk Agent

Route to agent if the user needs help with accounts or access (password reset, MFA, SSO/Okta), devices/hardware (laptop, mouse, keyboard, monitor, dock), software installs/licenses, network/VPN/Wi‑Fi, email/calendar/chat tools, printers, or provisioning/access to applications (including the HR/benefits portal). Example requests:
  • “How do I reset my password?”
  • “How do I request a new laptop?”
  • “My mouse isn’t working.”
  • “I can’t log in to the benefits portal — my MFA code is invalid.”
  • “Outlook isn’t showing company holidays.”
  • “Please grant me access to Zoom Pro and Figma.”
  • “VPN keeps disconnecting when I’m on hotel Wi‑Fi.”

Best Practices

  • Be specific in routing conditions: Use clear, concise language and provide several example requests for each agent.
  • Review and update regularly: As your organization’s needs change, revisit your routing rules and agent list.
  • Test with real queries: Try common user questions to ensure they’re routed as expected.
  • Limit to 15 agents: Prioritize the most impactful use cases for routing.

Limitations & Known Issues

  • Routing is not 100% accurate: Quality depends on the clarity of your routing instructions and examples.
  • Only conversational agents viewable by everyone can be routed to.
  • If an agent is removed or made private, it will be excluded from routing.
  • Currently, only agents with chat-message triggers are supported for routing. Expansion to input-form types is planned.
  • Routing applies to all users in your deployment; limiting to a subset (e.g., pilot group) is not currently supported.