← Back to Dashboard
1. Flow Design Fundamentals2. Fallback and Escalation Graphs
Fallback and Escalation Graphs
📚 Bedrock Flows⏱ 10 min⭐ 80 XP
Graceful Degradation Paths
Define what happens when confidence is low, tools fail, or policy blocks the response - before it happens in production. A workflow without explicit failure edges fails in whatever way the model improvises that day.
The Degradation Ladder
- Retry safe nodes - transient failures (timeouts, throttling) on read-only steps retry with backoff; side-effect nodes only retry with idempotency keys.
- Switch to a backup model - if the primary tier is throttled or degraded, route to a designated equivalent (defined in your model equivalence map, not chosen ad hoc).
- Degrade the feature - return cached or partial results with an explicit "reduced mode" marker rather than nothing.
- Escalate to human - generate a handoff summary with evidence links, state so far, and the specific reason for escalation.
Escalation Triggers Worth Encoding
| Trigger | Signal | Destination |
|---|---|---|
| Low confidence | Classifier confidence below threshold | Human triage queue |
| Policy block | Guardrail intervention on output | Safety review path |
| Tool exhaustion | Retries + fallbacks all failed | Operator with partial-state summary |
| High-impact action | Irreversible side effect proposed | Human approval gate |
What a Good Handoff Contains
{
"reason": "confidence 0.62 < 0.80 threshold",
"work_completed": ["classified: legal?", "retrieved 4 policy chunks"],
"evidence": ["kb:policy-sec-17#chunk3", "trace:8f3a"],
"suggested_next": "confirm category, then re-enter flow at node 3"
}
The human continues the work instead of restarting it - that is the difference between escalation and abandonment.
Test your ladder: chaos-test each rung deliberately (kill a tool, force low confidence). An untested fallback path is a second bug waiting behind the first.
🧪 Knowledge Check
Press 1-4 to select1 of 2
Best response to low-confidence critical outputs is:
Auto-publish
Escalate with context and evidence
Delete logs
Disable fallback