Example 2: Order Fulfillment Process
Prompt: The customer submits an order request. The Sales Department reviews the request. If approved, the Warehouse packs the item, and the Shipping Department delivers it.
Generated Workflow:
Start: “Submit order request” (Customer).
Sales: “Review request” leads to a decision gateway “Approved?”.
No: “Order rejected.”
Yes: Proceeds to Warehouse.
Warehouse: “Pack item.”
Shipping: “Deliver item” leads to “Order delivered.”
This example demonstrates the AI’s ability to handle conditional logic (Exclusive Gateways) and cross-departmental handoffs (Message Flows) automatically.
Diagram Example: A three-lane BPMN diagram showing the flow from Customer request through Sales approval, Warehouse packing, and Shipping delivery, with a clear “Approved?” decision diamond controlling the path.