Escalation
An Escalation step opens a case for a team or queue and waits until someone marks it resolved. It is for problems that need attention away from the customer. To hand over a live conversation, use Human agent.
When to use it
Section titled “When to use it”- A refund failed twice and the payments team must look into it.
- A customer complained about a missed hospital appointment and the patient care team should follow up.
- An approval ran out of time and a desk lead must act.
When not to use it
Section titled “When not to use it”- The customer is still in the conversation and needs a person now. Use Human agent.
- You need a decision. Use Approval.
- You need specific work done with a form and outcomes. Use Human task.
- You only want to tell a team, without waiting. Use Notify, or an Error handler set to escalate.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Team or queue | Required. Who gets the case. |
| Reason | Why it is escalated. Use {{ expression }} to include run data. |
| Priority | low, normal, high (default) or urgent. |
| SLA | Default: 4h. When nobody resolves it in time, the error path is taken. |
What it produces
Section titled “What it produces”- A single Next once resolved, and an error path for the SLA.
steps.<step id>:outcome(done),noteandby(who resolved it).
Example
Section titled “Example”An online store escalates a delivery that failed three times.
MCP tool (delivery status) → Condition (data.delivery.attempts >= 3) true → Escalation (logistics, "Order {{ input.orderId }} failed delivery 3 times") → Send message (update) → End false → End