Delivery
Delivery runs the Orders Customers place for Agent and Service outcomes, and bills only on confirmation.
Outcome
| Part | This Process |
|---|---|
| Outcome | Each Order is delivered, confirmed by the Customer or remedied, and billed only for confirmed lines. |
| Reads | Order |
| Leaves | Order, Task, Invoice, Transaction, Dispute |
| Runs in | Each Startup |
Accountable
Operations Lead, Operations Team.
Workflows
| Workflow | Runs | Team |
|---|---|---|
| Deliver an outcome | on Order.placed | Operations Team |
| Bill on confirmation | on Order.confirmed | Operations Team |
| Start the remedy | on Order.disputed | Operations Team |
Who does each step
| Workflow | Step | Role | Calls | Approval |
|---|---|---|---|---|
| Deliver an outcome | 1. Extract the Order’s fields from what the Customer sent. | Delivery Manager | Order.update | None |
| Deliver an outcome | 2. Ask once, in one Message, for anything missing. | Delivery Manager | Message.create | None |
| Deliver an outcome | 3. Assign the work to an Agent or a Supplier by Credential, state, and load. | Delivery Manager | Task.assign | None |
| Deliver an outcome | 4. Fulfill the Order, and hold any Reserved Act for Licensed review. | Delivery Manager | Order.fulfill | None |
| Deliver an outcome | 5. Deliver the outcome and request confirmation. | Delivery Manager | Order.deliver | None |
| Deliver an outcome | 6. Redo the work once when the Customer rejects it. | Delivery Manager | Order.revise | None |
| Deliver an outcome | 7. Bill when the Customer confirms. | Billing Specialist | Invoice.bill | Asks first; waits 1 business hour |
| Bill on confirmation | 1. Capture the authorized payment for the confirmed lines. | Billing Specialist | Order.pay | Asks first; waits 1 business hour |
| Bill on confirmation | 2. Bill the confirmed lines on the Order’s Invoice. | Billing Specialist | Invoice.bill | Asks first; waits 1 business hour |
| Bill on confirmation | 3. Close the Order once every line is confirmed or refunded. | Billing Specialist | Order.update | None |
| Start the remedy | 1. Hold the fee for the disputed lines. | Billing Specialist | Invoice.update | None |
| Start the remedy | 2. Run the remedy the Outcome Contract names: redo the work, refund, or grant a credit. | Delivery Manager | Order.revise | None |
| Start the remedy | 3. Release or return the held fee when the remedy completes. | Billing Specialist | Invoice.update | None |
Events
| Direction | When | What happens |
|---|---|---|
| In | On Order.placed | Starts Deliver an outcome |
| In | On Order.confirmed | Starts Bill on confirmation |
| In | On Order.disputed | Starts Start the remedy |
| Out | Order.updated | Raised by step 1 of Deliver an outcome |
| Out | Message.created | Raised by step 2 of Deliver an outcome |
| Out | Task.assigned | Raised by step 3 of Deliver an outcome |
| Out | Order.fulfilled | Raised by step 4 of Deliver an outcome |
| Out | Order.delivered | Raised by step 5 of Deliver an outcome |
| Out | Order.revised | Raised by step 6 of Deliver an outcome |
| Out | Invoice.billed | Raised by step 7 of Deliver an outcome |
| Out | Order.paid | Raised by step 1 of Bill on confirmation |
| Out | Invoice.updated | Raised by step 1 of Start the remedy |
Plays
No Play names this Process.
Controls
Settings
| Setting | Type | Default | Say | Set with |
|---|---|---|---|---|
delivery.redoLimit | integer | 1 | Redo rejected work once before refunding | Setting.update |
Failure
A failed step retries; when retries run out, the Action goes to the Operations Lead.
| Step | On failure |
|---|---|
| Start the remedy 2. Run the remedy the Outcome Contract names: redo the work, refund, or grant a credit. | Undoes it with Order.refund. |
Loop
| Step | Value |
|---|---|
| Hypothesis | Confirming each outcome with the Customer before billing raises accepted outcomes per Customer and lowers refunds. |
| Measure | Accepted outcomes over 30d, at least 30 observations |
| Learn | The learn step reads the Readout, records Evidence and a Decision, and drafts the next Variant. |
Code
Turn on deliveryEnable
On by default for Marketplace, Licensed-human marketplace, Services-as-Software, E2E managed service. Process.pause stops new Actions; Actions in progress finish.
Redo rejected work once before refundingExample
A café owner orders a reconciled month from a bookkeeping service. An Agent matches 412 Transactions, the owner rejects one category, and the Agent redoes it once. The owner confirms, and the Invoice follows.