
The Escalation Gateway is a flow component designed to intelligently route messages within an AI workflow based on escalation logic. It helps in managing the transition between automated AI responses and human agent intervention, ensuring that user queries are handled effectively and efficiently.
What the Component Does
This component examines incoming messages and determines whether the conversation should continue with the AI or be escalated to a human agent. It keeps track of previous escalation events, enabling a seamless handover and a memory of when and why a human agent took over. This is especially useful in customer support or service automation scenarios where certain situations require human involvement.
Inputs
The Escalation Gateway provides the following input parameters:
| Name | Type | Required | Description |
|---|---|---|---|
| Input Text | Message | No | The primary text input to be processed. |
| Default Escalation Type | String | Yes | Sets the default routing when no conditions are met. Options: “AI” or “Human”. Defaults to “AI”. |
- Input Text: The main message or user input that triggers the escalation logic.
- Default Escalation Type: Determines the fallback route if no specific escalation condition is satisfied. You can select either “AI” for continued automation or “Human” for immediate human intervention.
Outputs
The component offers two distinct outputs, allowing downstream nodes to handle messages accordingly:
| Output Name | Type | Description |
|---|---|---|
| Human Escalated | Message | Output when the message requires escalation to a human agent. |
| Bot Response | Message | Output when the message can be handled by the AI or bot. |
- Human Escalated: If escalation is triggered, the message passes through this output for human processing.
- Bot Response: If no escalation is needed, the message continues through automated handling.
Why Use This Component?
- Seamless Human-AI Collaboration: Ensures that complex or sensitive issues are directed to humans, while routine queries are resolved by the AI.
- Flexible Escalation Logic: Lets you specify default behaviors, adapting to various workflow requirements.
- Traceability: Maintains a memory of escalation events, which is valuable for auditing and improving escalation rules over time.
- Improved User Experience: Reduces frustration by ensuring users are escalated to the right responder at the right time.
Example Use Cases
- Customer Support Bots: Automatically escalate complex customer issues to a human representative.
- Helpdesk Automation: Route tickets based on urgency or topic, sending only critical cases to human agents.
- AI Chatbots: Provide uninterrupted service, but smoothly transition to human support when needed.
This component is essential for building robust, user-friendly AI workflows where both automation and human expertise are required.
