chrismdp / counting-house-rung-1-off
Fernwick Air: rebook after a missed connection, tier off
workflow.yaml
workflow.yaml is AWML 0.6, as it was pushed. The registry draws, checks and fits it converted to AWML 0.8.
awml: "0.6"
title: "Fernwick Air: rebook after a missed connection, tier off"
description: |
Tier off. No model touches the intent: a rep reads the customer's message, rebooks them in the
booking system and replies. Anyone can write to the contact centre, so the message is untrusted.
Fernwick Air is fictional.
scopes:
- { id: ops, label: "ops: Fernwick staff", processing: none }
parts:
- { id: asks, kind: trigger, label: "A customer writes in: rebook me after a missed connection", wait: PT1H, untrusted: true }
- { id: contact, kind: connector, label: "Fernwick's contact centre: email and chat", in: ops, untrusted: true }
- { id: bookings, kind: connector, label: "Fernwick's booking system, live", in: ops }
- { id: rep_rebook, kind: person, op: do, label: "A rep rebooks the passenger, if eligible", in: ops }
- { id: rebook, kind: outside, label: "Rebook the passenger: Ask", in: ops }
- { id: rep_reply, kind: person, op: do, label: "The rep replies to the customer", in: ops }
- { id: reply, kind: outside, label: "Reply to the customer: Ask", in: ops }
lines:
- { from: asks, to: rep_rebook, kind: start }
- { from: contact, to: rep_rebook, kind: data, label: the message }
- { from: bookings, to: rep_rebook, kind: data }
- { from: rep_rebook, to: rebook, kind: data }
- { from: rebook, to: bookings, kind: data }
- { from: rep_rebook, to: rep_reply, kind: start }
- { from: rep_reply, to: reply, kind: data }
- { from: reply, to: contact, kind: data }