1. Flight-disruption rebooking, proactively and multilingually
A flight cancels or slips and the ops desk scrambles: staff pull the affected PNRs, work out alternatives, then call or email each passenger one by one — so travellers hear about it late, in one language, after they're already at the gate.
Trigger: Webhook (disruption event from ops / PSS)
How the workflow runs
- Trigger
Disruption is posted. A Webhook trigger receives the cancel/delay event with the affected flight and passenger PNRs — pushed from your ops board / PSS (no first-party connector, it feeds in via Webhook).
- Loop
Per affected passenger. A Loop node iterates the PNR list so each traveller gets an individually tailored message, not one blast.
- Agent
Draft rebooking options. An Agent node writes the disruption notice and the available alternatives in the passenger's language, grounded in fare/rebooking rules so it never offers something the fare doesn't allow.
- Output
Reach the passenger. An Output node sends it on WhatsApp/SMS, or speaks it on a Voice call synthesized with Sarvam (Indian languages) or ElevenLabs — whatever channel the PNR carries.
- Condition
Rebook or claim?. A Condition node routes the reply: accept an offered flight (write it back to the PSS) versus request a refund or compensation.
- Approval
Refund / compensation pauses for a human. Any refund or disruption-compensation routes to an Approval node before a rupee moves — an accepted involuntary rebooking within policy proceeds, but money decisions stay with a person.
Channels & connectors
- Webhook
- SMS
- Voice / Call
- Sarvam (22+ Indian languages)
- ElevenLabs
- Knowledge base
- Tool (MCP → PSS/reservations)
- Approval / HITL
Outcome
Every affected passenger is told about the disruption and offered real, policy-valid alternatives within minutes — in their own language — while refunds and compensation stay human-approved.
Why it helps
The value is speed and reach: reaching every PNR at once, in the traveller's language, beats a serial phone tree that only clears a fraction of the list before the gate closes.
Build spec
1 agent — 1 rebooking agent runs inside the Loop; the notify, routing, PSS write and refund approval are workflow nodes.
System prompt (paste-ready)
You are a flight-disruption assistant for {{airline}}. For each affected passenger {pnr, name, flight, disruption_type, language, alternatives[]}, write a clear, calm notice in the passenger's language explaining what happened and listing ONLY the alternatives supplied in the input — never invent a flight, time, or upgrade. State refund/compensation eligibility only as it appears in the rebooking policy from Knowledge; never promise a payout. If the passenger asks for a refund or compensation, output intent=REFUND for the workflow to route to a human — do not confirm any refund yourself.MCP connectors
- PSS / reservations — via a Tool (MCP) node (no first-party connector), for the rebooking write
- Disruption/ops feed — inbound via Webhook trigger
- WhatsApp / SMS / Voice — notify channels
Built-in tools
- knowledge_search (fare rules + involuntary-reroute / compensation policy)
- http_request (fetch PNR + alternatives detail)
Guardrails
- Grounded-only: alternatives and eligibility come from the input + policy Knowledge — the agent never invents a flight, time, or payout
- Every refund or compensation is Approval-gated — the agent may state eligibility but never confirms money; only a human approves the payout
- Idempotent per PNR (keyed by pnr + disruption id) so a re-run never double-notifies or double-rebooks a passenger
Cost strategy
The notify agent runs once per affected PNR, so on a mass disruption its model choice dominates total cost — keep it on the economy tier; the task is grounded templating, not reasoning, so premium buys nothing. Sarvam/ElevenLabs synthesis is billed only on the Voice legs, not for WhatsApp/SMS passengers. Run the Loop in Parallel batches for wall-clock speed without changing per-passenger cost.
Output & delivery
The Loop maps the agent over every affected PNR → the notice + policy-valid alternatives are sent on WhatsApp/SMS or spoken via Sarvam/ElevenLabs → the Condition routes accepted rebookings to a Tool node that writes them to the PSS, and any refund/compensation to a human Approval before it's issued.