Example workflow using synthetic data

A digital employee's morning run, from first check to final log

Follow one daily operations workflow for a fictional Auckland wholesaler. See what the digital employee reads, which rules it applies, where it stops for a person, and what it writes back after approval.

This fictional business, its records, people, amounts and run results are illustrative. It is not a customer story or a completed client result. It shows one possible recovery path, not a promise that every system or failure can recover in the same way.

Business
Fictional Auckland wholesaler
Run starts
7:30 am each business day
Access
Read-only until an action is approved
Output
Morning brief and readable action log
01 Input

Start with the overnight changes

The example run reads only the records needed for this workflow. Each record below is synthetic.

This fictional business, its records, people, amounts and run results are illustrative. It is not a customer story or a completed client result. It shows one possible recovery path, not a promise that every system or failure can recover in the same way.

  • ERP and dispatchSO-1842

    Paid order is late

    Promised dispatch was yesterday. No courier scan is recorded.

    Exception
  • CRMSO-1848

    Delivery detail is missing

    The unit number required by the delivery rule is blank.

    Needs a person
  • InventorySKU-042

    Stock is below its rule

    8 units on hand, reorder point 12, and no open purchase request.

    Rule matched
  • Accounting and ERPINV-614

    Payment status does not agree

    Accounting shows paid. The order record still shows payment pending.

    Source conflict
  • Shared inboxLEAD-233

    A follow-up is due

    The agreed follow-up window has passed with no reply recorded.

    Draft allowed
Connector contract

Each system has a limited job, not an open door

Before a live connection is enabled, the workflow gets a system-by-system contract. This synthetic example shows what each connector may read, prepare, write after approval, and how it fails closed.

ERP and dispatch

May read
Order ID, payment flag, promised dispatch date, courier scan status
May prepare
Internal dispatch task and customer update draft
May write after approval
Approved dispatch note or confirmed tracking reference
Stop or hand back when
The order cannot be matched, a required field is blank, or the connection is unavailable

CRM

May read
Customer ID, required delivery fields, follow-up date, last recorded reply
May prepare
Missing-field exception or follow-up draft
May write after approval
Approved note and next action date against the matched record
Stop or hand back when
The customer is unmatched, two records compete, or a key field needs a person

Inventory and purchasing

May read
On-hand quantity, reorder point, open request reference
May prepare
Purchase request with quantity, reason, and synthetic estimate
May write after approval
Approved order reference and next check date
Stop or hand back when
The stock record changes after approval, the supplier is new, or the writeback fails

Accounting

May read
Invoice ID and payment status required for this check
May prepare
A source-conflict exception with both values attached
May write after approval
Nothing in this example. Accounting remains the payment source of truth
Stop or hand back when
Accounting and ERP disagree or the invoice cannot be matched by ID

Shared inbox

May read
Thread ID, agreed recipient, last reply, follow-up due date
May prepare
Follow-up message draft using the approved pattern
May write after approval
Approved send result and a CRM activity note
Stop or hand back when
The recipient is new, the thread is ambiguous, or no approved message rule applies
02 Check and decide

Apply agreed rules, then separate routine work from exceptions

The digital employee does not invent a response when the data is incomplete or conflicting. It prepares what the rule allows and sends the rest to a person.

  1. 1
    When this condition is found

    Stock is at or below its reorder point and no request is open

    The digital employee may prepare

    A purchase request using the agreed reorder quantity

    Control boundary

    A nominated person must approve any spend

  2. 2
    When this condition is found

    A paid order is past dispatch time with no courier scan

    The digital employee may prepare

    An internal dispatch task and a customer update draft

    Control boundary

    The external message waits for approval

  3. 3
    When this condition is found

    A required field is blank or two source systems disagree

    The digital employee may prepare

    An exception record with the conflicting values attached

    Control boundary

    No value is guessed and no key record is changed

  4. 4
    When this condition is found

    A follow-up date has passed and no reply is recorded

    The digital employee may prepare

    A follow-up draft using the approved message pattern

    Control boundary

    A person reviews it before it is sent

03 Action and recovery trace

Follow one stock exception through a failed writeback

The first approved write does not succeed. The workflow pauses, keeps the evidence, alerts a named owner, and resumes only after that person reconciles the records and authorises one controlled retry. If the target state cannot be confirmed, it stays paused.

Tracked record · SKU-042 · Synthetic recovery example
Fictional business · Synthetic records
  1. Input

    7:31 am

    Read the stock record

    8 units are on hand. The approved reorder point is 12.

  2. Check

    7:33 am

    Confirm there is no open request

    The purchasing register contains no active request for SKU-042.

  3. Decision

    7:35 am

    Match the agreed restock rule

    The rule allows a draft request for 24 units. It does not allow spending without approval.

  4. Action

    7:37 am

    Prepare purchase request PR-0092

    The request includes the item, quantity, synthetic estimated cost and the rule that triggered it.

  5. Approval

    7:47 am

    Record the operations owner's decision

    The example owner approves the request. Until this point, nothing has been ordered or written back.

  6. Writeback

    7:50 am

    The first approved write fails

    The purchasing API rejects the request because a required order field is missing. No purchase order reference is returned, so the workflow records the error and pauses every dependent action.

  7. Escalate

    7:51 am

    Alert the operations owner with the evidence

    The exception keeps the approved request, source-record version, attempted payload, time, target response and workflow run ID together.

  8. Reconcile

    7:56 am

    A person checks both sides before resuming

    The owner confirms that no order exists, corrects the missing field and verifies that the source record, supplier, quantity and amount are unchanged, then authorises one controlled retry. A changed business value would require a new approval.

  9. Verified writeback

    7:58 am

    Retry once, read back and reconcile

    The connector creates PO-7714, reads the reference back from purchasing and writes the confirmed reference and next check date to the ERP record.

04 Writeback, recovery and audit

The failed attempt and the reconciled result stay in the record

This cross-system workflow record does not replace the failed attempt with a green tick. It shows the pause, the evidence sent to the owner, the human decision to resume and the final readback. A connected system may also provide its own activity history. Availability and coverage can vary by product, action, configuration and subscription.

Synthetic action log for SKU-042
TimeActorTargetActionStatus
7:31Digital employeeInventory / SKU-042Read on-hand quantity and reorder pointRead only
7:33Digital employeePurchasing registerChecked for an open requestNone found
7:37Digital employeePR-0092Prepared a purchase request with its reasonWaiting
7:47Operations ownerPR-0092Approved the proposed spendApproved
7:50Digital employeeERP / SKU-042Attempted the approved write; target rejected a required fieldPaused
7:51Digital employeeOperations ownerSent the exception with record version, request, error and run IDOwner notified
7:56Operations ownerPR-0092Confirmed no target order exists, corrected the field and authorised one retryResume approved
7:58Digital employeePurchasing / PO-7714Retried once, read back the order and recorded the confirmed referenceReconciled
05 Morning brief

The owner sees decisions, not another dashboard

At 8:00 am the example run condenses the work into exceptions, pending approvals and completed actions.

  • 3 exceptions need attention
  • 2 action drafts are ready for review
  • 1 failed writeback was paused, reviewed and reconciled
  • 1 source conflict is still waiting for a person
  • 0 actions ran without the required approval

All counts, record IDs, amounts, decisions and timestamps on this page are synthetic example data.

How we set this up

Use native features first, then connect only the agreed gap

We first check what your existing systems and available connections can already do. If a real hand-off gap remains, the required access has been verified, and the written scope includes the connection, BestAI builds or configures a workflow-specific API connector for that gap. Before live data is connected, we agree what the workflow may read, what it may prepare, what always needs approval, and where each result is written back.

  • Prefer the existing systems whose native capabilities support the agreed records and controls
  • Limit access to the fields and actions required for this workflow
  • Test the rules and exceptions before connecting live records
  • Pause on an unclear write, reconcile both systems, and require a named person before resuming
  • Keep the approval decision and action log visible to your team

Bring one repetitive workflow to the conversation

We will map the records, rules, exceptions, approvals and system connections before recommending what to build. We will also agree what counts as a failed or uncertain write, who is alerted, and what evidence they need before work resumes.