Skip to content

Delivery

Delivery runs the Orders Customers place for Agent and Service outcomes, and bills only on confirmation.

Outcome

PartThis Process
OutcomeEach Order is delivered, confirmed by the Customer or remedied, and billed only for confirmed lines.
ReadsOrder
LeavesOrder, Task, Invoice, Transaction, Dispute
Runs inEach Startup

Accountable

Operations Lead, Operations Team.

Workflows

Who does each step

Delivery: who does each step13 steps in 3 Workflows, across 2 Roles: Delivery Manager, Billing Specialist. The table below lists every step.Delivery ManagerDexBilling SpecialistBeaWorkflowDeliver an outcomeWorkflowBill on confirmationWorkflowStart the remedy1 · Order.updateExtract the Order’s fields from what theCustomer sent.2 · Message.createAsk once, in one Message, for anythingmissing.3 · Task.assignAssign the work to an Agent or a Supplierby Credential, state, and load.4 · Order.fulfillFulfill the Order, and hold any Reserved Actfor Licensed review.5 · Order.deliverDeliver the outcome and requestconfirmation.6 · Order.reviseRedo the work once when the Customerrejects it.7 · Invoice.billBill when the Customer confirms.1 · Order.payCapture the authorized payment for theconfirmed lines.2 · Invoice.billBill the confirmed lines on the Order’sInvoice.3 · Order.updateClose the Order once every line isconfirmed or refunded.1 · Invoice.updateHold the fee for the disputed lines.2 · Order.reviseRun the remedy the Outcome Contractnames: redo the work, refund, or grant acredit.3 · Invoice.updateRelease or return the held fee when theremedy completes.Delivery: who does each step13 steps in 3 Workflows, across 2 Roles: Delivery Manager, Billing Specialist. The table below lists every step.WorkflowDeliver an outcomeWorkflowBill on confirmationWorkflowStart the remedyDelivery Manager1 · Order.updateExtract the Order’s fields from what the Customersent.Delivery Manager2 · Message.createAsk once, in one Message, for anything missing.Delivery Manager3 · Task.assignAssign the work to an Agent or a Supplier byCredential, state, and load.Delivery Manager4 · Order.fulfillFulfill the Order, and hold any Reserved Act forLicensed review.Delivery Manager5 · Order.deliverDeliver the outcome and request confirmation.Delivery Manager6 · Order.reviseRedo the work once when the Customer rejects it.Billing Specialist7 · Invoice.billBill when the Customer confirms.Billing Specialist1 · Order.payCapture the authorized payment for the confirmedlines.Billing Specialist2 · Invoice.billBill the confirmed lines on the Order’s Invoice.Billing Specialist3 · Order.updateClose the Order once every line is confirmed orrefunded.Billing Specialist1 · Invoice.updateHold the fee for the disputed lines.Delivery Manager2 · Order.reviseRun the remedy the Outcome Contract names:redo the work, refund, or grant a credit.Billing Specialist3 · Invoice.updateRelease or return the held fee when the remedycompletes.
Each box is a step, numbered within its Workflow, with the Verb it calls, under the Role it runs as. The table below adds approvals.
WorkflowStepRoleCallsApproval
Deliver an outcome1. Extract the Order’s fields from what the Customer sent.Delivery ManagerOrder.updateNone
Deliver an outcome2. Ask once, in one Message, for anything missing.Delivery ManagerMessage.createNone
Deliver an outcome3. Assign the work to an Agent or a Supplier by Credential, state, and load.Delivery ManagerTask.assignNone
Deliver an outcome4. Fulfill the Order, and hold any Reserved Act for Licensed review.Delivery ManagerOrder.fulfillNone
Deliver an outcome5. Deliver the outcome and request confirmation.Delivery ManagerOrder.deliverNone
Deliver an outcome6. Redo the work once when the Customer rejects it.Delivery ManagerOrder.reviseNone
Deliver an outcome7. Bill when the Customer confirms.Billing SpecialistInvoice.billAsks first; waits 1 business hour
Bill on confirmation1. Capture the authorized payment for the confirmed lines.Billing SpecialistOrder.payAsks first; waits 1 business hour
Bill on confirmation2. Bill the confirmed lines on the Order’s Invoice.Billing SpecialistInvoice.billAsks first; waits 1 business hour
Bill on confirmation3. Close the Order once every line is confirmed or refunded.Billing SpecialistOrder.updateNone
Start the remedy1. Hold the fee for the disputed lines.Billing SpecialistInvoice.updateNone
Start the remedy2. Run the remedy the Outcome Contract names: redo the work, refund, or grant a credit.Delivery ManagerOrder.reviseNone
Start the remedy3. Release or return the held fee when the remedy completes.Billing SpecialistInvoice.updateNone

Events

DirectionWhenWhat happens
InOn Order.placedStarts Deliver an outcome
InOn Order.confirmedStarts Bill on confirmation
InOn Order.disputedStarts Start the remedy
OutOrder.updatedRaised by step 1 of Deliver an outcome
OutMessage.createdRaised by step 2 of Deliver an outcome
OutTask.assignedRaised by step 3 of Deliver an outcome
OutOrder.fulfilledRaised by step 4 of Deliver an outcome
OutOrder.deliveredRaised by step 5 of Deliver an outcome
OutOrder.revisedRaised by step 6 of Deliver an outcome
OutInvoice.billedRaised by step 7 of Deliver an outcome
OutOrder.paidRaised by step 1 of Bill on confirmation
OutInvoice.updatedRaised by step 1 of Start the remedy

Plays

No Play names this Process.

Controls

Settings

SettingTypeDefaultSaySet with
delivery.redoLimitinteger1Redo rejected work once before refundingSetting.update

Failure

A failed step retries; when retries run out, the Action goes to the Operations Lead.

StepOn 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

StepValue
HypothesisConfirming each outcome with the Customer before billing raises accepted outcomes per Customer and lowers refunds.
MeasureAccepted outcomes over 30d, at least 30 observations
LearnThe learn step reads the Readout, records Evidence and a Decision, and drafts the next Variant.

Code

Text
Turn on delivery

Enable

On by default for Marketplace, Licensed-human marketplace, Services-as-Software, E2E managed service. Process.pause stops new Actions; Actions in progress finish.

Text
Redo rejected work once before refunding

Example

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.