Prompt
How do I set up a multi-agent system for routing work and managing approvals in an enterprise workflow?
Latest observation
A good enterprise multi-agent setup for routing work and managing approvals usually looks less like “many chatbots” and more like a workflow control plane with specialized agents, clear handoffs, and human approval checkpoints.
1) Start with the workflow, not the agents
Map the business process first:
- Trigger: what starts the work item?
- Intake: what data is required?
- Routing rules: who should handle it and based on what logic?
- Approval stages: what needs sign-off, in what order?
- Escalation: what happens if someone doesn’t respond?
- Audit needs: what must be logged for compliance?
A common mistake is designing agents before defining the process. In enterprises, the process determines the agent roles.
2) Use a coordinator + specialists pattern
A practical architecture is:
A. Orchestrator / Router agent
This is the “traffic controller”:
- receives the incoming request
- classifies the task
- determines the required path
- assigns work to specialist agents
- tracks state and deadlines
- invokes approval steps when required
B. Specialist agents
These do narrow tasks, such as:
- Intake agent: validates forms, extracts fields, checks completeness
- Policy agent: checks rules, compliance, thresholds, entitlements
- Risk agent: identifies exceptions or elevated risk
- Drafting agent: prepares summaries, notifications, or recommended decisions
- Escalation agent: handles reminders, reassignments, and overdue items
C. Human approvers
Humans remain in the loop for:
- policy exceptions
- high-value or high-risk decisions
- final sign-off
- any action requiring legal, financial, or HR authority
3) Define a clear state machine
Every work item should have a lifecycle. For example:
- Received
- Validated
- Routed
- In Review
- Pending Approval
- Approved / Rejected / Returned
- Executed
- Closed
Agents should not “freestyle” transitions. They should only move items according to explicit rules. This makes the system easier to audit and safer to operate.
4) Put routing logic in rules first, AI second
For enterprise approvals, deterministic rules should handle the core routing:
- department
- region
- monetary threshold
- contract type
- risk level
- customer tier
- legal entity
- separation of duties
Use AI to help with:
- document classification
- summarizing context
- detecting missing information
- suggesting route or approver
- identifying anomalies
But let a rules engine make the final routing decision when possible. That gives you predictability and compliance.
5) Separate decision support from decision making
A strong pattern is:
- Agents recommend
- Rules validate
- Humans approve
- System executes
For example:
- The policy agent says, “This looks like a Level 2 approval because amount > $50k.”
- The routing engine confirms that rule.
- The approver receives a concise summary and recommended action.
- The human clicks approve/reject/return.
- The system records the decision and executes downstream steps.
6) Build an approval package for each item
Approvers should not have to hunt for context. Each approval request should include:
- request summary
- requested action
- business justification
- key extracted fields
- applicable policy/routing rule
- risk flags
- prior approvals
- recommended decision
- links to source documents
This can be generated by an agent, but should be presented in a structured, consistent format.
7) Add guardrails and permissions
In enterprise systems, each agent needs limited authority:
- Read-only access by default
- explicit permissions for actions
- scoped access to data sources
- no direct approval authority unless mandated and controlled
- redaction of sensitive fields where not needed
Also define:
- which actions require human confirmation
- which can be auto-routed
- which can be auto-approved under thresholds
- which must always escalate
8) Make auditability a first-class requirement
You’ll want full traceability for every item:
- who submitted it
- what data was used
- which agent touched it
- what rules fired
- why it was routed a certain way
- who approved it
- what changed after approval
Keep an immutable event log. This is essential for compliance, troubleshooting, and trust.
9) Use event-driven communication
A robust enterprise design often uses events/messages rather than synchronous calls:
- RequestCreated
- RequestValidated
- ApprovalNeeded
- ApprovalGranted
- ApprovalRejected
- WorkRouted
- SLAExpired
Agents subscribe to events they care about. This improves resilience and makes the workflow easier to scale.
10) A practical reference architecture
A simple enterprise architecture might be:
- Frontend / intake portal
- Workflow engine for state, timers, retries, SLAs
- Rules engine for routing and approval policies
- Agent services for classification, summarization, exception detection
- Human approval UI
- Audit log / data store
- Identity and access management
- Integration layer to ERP, CRM, ticketing, HRIS, etc.
If you already use tools like ServiceNow, Camunda, Temporal, Power Automate, or similar, the agents should sit inside or alongside that workflow layer—not replace it.
11) Example flow
Example: expense exception approval
- Employee submits expense request
- Intake agent validates fields and attachments
- Policy agent checks amount, category, and policy limits
- Router agent decides:
- auto-route to manager if under threshold
- route to finance if over threshold
- escalate to legal if a compliance flag appears
- Approval package is generated
- Manager receives a concise approval task
- Manager approves or rejects
- Workflow engine records outcome
- Downstream system executes reimbursement or sends a rejection notice
12) Measure the system with the right metrics
Track:
- average routing time
- approval cycle time
- percentage auto-routed
- percentage auto-approved
- exception rate
- approval rejection rate
- SLA misses
- manual rework rate
- false routing suggestions
- audit completeness
These metrics show whether the system is actually reducing friction.
13) Recommended implementation approach
A safe rollout plan:
Phase 1: Assistive mode
- agents summarize and recommend
- humans make all decisions
Phase 2: Controlled automation
- agents auto-route low-risk items
- humans approve exceptions
Phase 3: Policy-based auto-approval
- only under tightly defined thresholds
- with strong audit logs and rollback/exception handling
14) Design principles to follow
- Keep policy deterministic
- Keep agent roles narrow
- Keep humans in the loop for exceptions
- Keep every decision auditable
- Keep permissions least-privileged
- Keep workflow state explicit
If you want, I can also give you:
- a sample architecture diagram in text,
- a database/schema model for approvals and agent handoffs, or
- an implementation blueprint using tools like Temporal/Camunda + LLM agents.
Observation history
Unlock observation history
Create a free Obsurfable account to unlock historical responses, model comparisons, and deeper brand intelligence.
How did Obsurfable measure this prompt?
Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.
Which AI systems does Obsurfable collect answers from?
OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, and Meta AI.