Online order with a stock check
Document the fulfilment process for new staff
See input + output preview
Input
- Describe the process, the conversation or the topic
- A customer places an order in the online shop. We check whether every item is in stock. If yes, we pack the parcel and hand it to the courier the same day and email the tracking number. If not, we email the customer and offer either a refund or delivery when the item is back; a refund is paid within 3 days.
- Diagram type
- Flowchart (steps and decisions)
- Flowchart direction
- Top to bottom
Output (excerpt)
```mermaid
flowchart TD
A(["Order placed"]) --> B{"All items in stock?"}
B -->|"yes"| C["Pack the parcel"]
C --> D["Hand to courier the same day"]
D --> E["Email the tracking number"]
B -->|"no"| F["Email the customer"]
F --> G{"Refund or wait?"}
G -->|"refund"| H["Pay the refund within 3 days"]
G -->|"wait"| I["Deliver when back in stock"]
```
…