Skip to content

Dataset

Human-in-the-loop approval decision datasets for AI agents

A human-in-the-loop dataset is a set of records of the points where a person had to decide before work could proceed. Here those are decisions from real approval queues: each request with its supporting material, the rule or threshold that sent it to a person, the role it was routed to, and whether it was approved, rejected, sent back or escalated, with the reason given. SourceX sources these to a buyer's spec from established businesses' finance, procurement, IT change, credit, pricing and content-review workflows. Each dataset is de-identified and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Approval-queue decision records: the request, the routing rule, the approver's role, the decision, its reason and its timing
Typical systems
Approval workflows in SAP, Coupa, Workday, Salesforce, ServiceNow, NetSuite and Oracle applications
Typical history
Specified by the buyer; limited by how long the workflow tool keeps step history and by each policy version
Modality
Structured decision and routing records; request text and comments; attached documents
Delivery formats
Agreed per order; JSONL or Parquet records, attachments as PDF, the authority matrix as CSV
Preparation
Approvers and requesters reduced to role and level; vendors, customers and people replaced; amounts kept or banded as agreed
Licensing
Scoped per workflow and date range in the license; where decisions concern individuals, the buyer confirms with counsel which rules apply to that record type
Availability
Sourced to your spec; supply is not guaranteed, and reason text depends on the source workflow
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
decision_idstringOne decision step taken by one approver on one version of one request.
request_snapshotobjectThe request as it stood at this step: type, amount or risk attributes, requester role, justification and version number.
supporting_materialarrayAttachments and linked records the approver could see at the decision, by type and ID.
routing_triggerobjectThe workflow rule that sent the request to a person, with its condition and the attribute values that met it.
authority_ruleobjectThe delegation-of-authority matrix row behind the rule, the level it requires and the matrix version in force at submission.
chain_positionobjectThis step's place in the chain, whether steps run in series or in parallel, and what earlier approvers did.
approverobjectRole, authority level and relation to the requester, and whether the person acted as a delegate or substitute.
decision_actionenumApproved, rejected, sent back for changes, escalated, reassigned, recalled by the requester or timed out.
reasonobjectReason code where the workflow has one, the comment as typed, and whether a comment was mandatory for this action.
decision_timingobjectWhen the step was assigned, first opened where logged, and decided, with the channel and a bulk-action flag.
conditionsarrayChanges an approver attached to an approval, such as a lower amount, a shorter term or a required follow-up.
auto_pathobjectFor a request no person reviewed, the rule that approved or declined it automatically.
resubmissionobjectThe next version of a rejected or returned request and the fields that changed between the two.
aftermathobjectWhat followed the final decision: the order, change or payment made, and any later reversal or audit finding.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "decision_id": "dec_4c81e7",
  "request_snapshot": {
    "request": "req_20931", "version": 1, "type": "purchase_requisition", "category": "it_hardware",
    "amount": 48200.00, "requester_role": "it_operations_analyst",
    "justification": "Replace 20 out-of-warranty laptops."
  },
  "supporting_material": [
    { "type": "vendor_quote", "id": "att_5521" },
    { "type": "budget_line", "id": "bud_it_014", "remaining_before": 61000.00 }
  ],
  "routing_trigger": { "rule": "rt_po_03", "condition": "amount > 25000 AND category = it_hardware",
                       "met_by": { "amount": 48200.00 } },
  "authority_rule": { "matrix_version": "doa_v6", "row": "opex.it.25k_to_100k", "required_level": "director",
                      "effective_from": "2024-07-01", "also_requires": "three_quotes" },
  "chain_position": { "step": 2, "of": 3, "mode": "serial",
                      "earlier": [ { "step": 1, "role": "line_manager", "action": "approved", "open_to_decision_s": 9 } ] },
  "approver": { "role": "it_director", "level": "L4", "relation": "cost_center_owner", "acting_as_delegate": false },
  "decision_action": "sent_back",
  "reason": { "code": "insufficient_support", "comment_required": true,
              "comment": "Policy needs three quotes above 25k and only one is attached. Was leasing priced?" },
  "decision_timing": { "assigned": "2025-03-04T15:02:11Z", "first_opened": "2025-03-05T09:14:40Z",
                       "decided": "2025-03-05T09:21:03Z", "channel": "web", "bulk_action": false },
  "conditions": [],
  "auto_path": null,
  "resubmission": { "next_version": 2, "changed": ["amount", "supporting_material"], "amount": 44900.00 },
  "aftermath": { "final_action": "approved", "final_version": 2, "days_to_final": 6, "order_placed": true }
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train agents when to stop and ask

Requests labeled with the rule that did or did not require a person teach an agent where its own authority ends.

Draft approval recommendations

Request, supporting material and decision triples supervise a model that proposes a decision and a reason for a human approver to confirm.

Build escalation evaluation sets

Held-out requests with the routing that policy required test whether an agent escalates to the right role, neither too often nor too seldom.

Check requests before submission

Send-back reasons and the changes that followed train a pre-check that catches a missing quote or cost center early.

Compare written policy with practice

Decisions read against the authority matrix show where approvers apply a stricter or looser standard than the text.

Use-case guides: Enterprise and computer-use agents, Finance and accounting agents, Private evaluation sets

What makes this data valuable

A rule on every routing

Each step names the rule and the attribute values that triggered it, not only who received it.

Unrouted requests included

Auto-approved and below-threshold requests are present, so the data shows when no person was needed.

The request as seen

The version and attachments in front of the approver are kept, not the request's final state.

Negative decisions with text

Rejections and send-backs carry a usable reason or link to the resubmission.

Opened and decided times

Assignment, first view and decision are separate timestamps, with bulk and mobile actions flagged.

Dated matrix versions

Each version of the authority matrix has effective dates, so a decision is read against the thresholds of its day.

Provenance trail

Human-in-the-loop dataset

This page covers human approval and escalation decisions.Illustrative

The routing rule says as much as the decision

An approval record is usually read as a request and a verdict. The earlier question is why a person was asked at all, and every approval workflow holds that answer as configuration. A delegation-of-authority matrix states who may commit the company to what, by amount, category, legal entity and risk, and the workflow turns each row into a condition. A purchase above a threshold goes to a director, a discount below a price floor goes to the deal desk, and a new bank account for a vendor needs a second person. The products name it differently: SAP purchasing has release strategies, Workday puts approval steps inside a business process, and Salesforce has approval processes. An agent deciding whether to act or to stop makes the same judgment, so a request with the rule it met is a labeled example of where authority ends.

That label needs both sides of the line. Requests that fell under every threshold were never routed, so they are absent from the approvals table. They have to be pulled from the transaction table, as purchase orders, quotes or change records, and marked as not routed. Without them every example says a person was required. Thresholds also move: the matrix is revised after a reorganization, or a spending freeze lowers limits for a quarter. A workflow tool may hold only the rules in force today, with earlier versions left in policy documents and configuration change tickets, so ask where past versions are kept. A decision read against the wrong version looks like an error by the approver.

The records can also show rules being worked around: one purchase split into several orders under the limit, an approval given by email and entered after the goods arrived, a delegate approving for the manager who raised the request. These are useful negatives for an agent, but only when they are labeled.

Rejections are scarce, and fast approvals are not judgment

Most steps in most queues end in approval. Requesters learn what passes, and managers stop weak requests in conversation before they are submitted, so recorded rejections understate how often the answer was no. The actions also differ across tools. Some workflows have a separate return-for-changes action, and others offer only approve and reject, so a rejection followed a day later by an edited copy of the same request was a send-back. Linking each negative decision to its resubmission recovers the difference.

The stated reason is often thin. Comment fields are often optional, and what is typed is short: ok, see email, per our call. Reason codes come from a short list in which Other is popular. The fuller reason is usually in what changed. If version one asked for 48,200 with one quote and version two was approved at 44,900 with three quotes, the difference between the versions states the objection better than the comment does.

Timing separates review from a click. A step decided seconds after it was opened, with no attachment viewed, or as one of thirty approved in the same minute from a list view or a phone notification, records that someone with authority pressed a button. Some of those were agreed in a meeting beforehand, and the data cannot tell. With assigned, opened and decided times and the channel, you can weight or drop these steps. Without them every approval reads as considered judgment. Not every system logs the first view, so ask which timestamps exist.

What to check before licensing

  • Check on the sample that approvers and requesters appear only as role and authority level, and that a unique title does not point to one person.
  • Ask whether any workflow in scope decides about an individual, such as consumer credit, hiring or an insurance claim, and have counsel confirm how the rules for that regulated record type apply before you license it.
  • Request the delegation-of-authority matrix and workflow rules with effective dates, and test that each sampled decision maps to the version in force when its request was submitted.
  • Confirm that requests which needed no approval are included, and ask how they were pulled, since approval tables hold only what was routed.
  • Count rejections, send-backs and recalls per workflow in the sample, read their comments, and check how many link to a resubmission.
  • Ask which timestamps the source system records for each step, and whether bulk, mobile and email-reply approvals can be told apart.
  • Check that the attachments on each step are the ones the approver saw, and that third-party documents among them, such as vendor quotes, are covered by the supplier's right to share.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What is a human-in-the-loop dataset used for?

It is used to train and test when an AI agent should act alone and when it should hand a decision to a person. Approval records supply the rule that required review and what the reviewer decided. Labs use them to train escalation policies and to build evaluation sets in which the correct behavior is to stop and ask the right role.

Which systems hold approval decisions?

Most business applications with a workflow layer hold them. Examples are requisition and invoice approvals in SAP, Coupa and NetSuite, business process steps in Workday, approval processes on Salesforce quotes, and change approvals in ServiceNow. Each stores steps differently, and some keep less detail once a request closes, so depth of history is checked per system.

Are rejected and sent-back requests included?

Yes, where the business kept them, and you should ask for them by name. They are the minority class in most queues and often the most useful for training. State the number you need per workflow, and whether a rejected request that was edited and resubmitted should arrive as a linked chain of versions.

Can the delegation-of-authority matrix come with the decisions?

It can, when the supplying business agrees to share it, but it is a separate document with its own sensitivity. The matrix shows who can commit the company to what, and some businesses will share thresholds only as bands. Without it you can still learn from the routing rule recorded on each step. Say in your request whether you need exact thresholds, bands or only rule identifiers.

How are approver identities handled?

Approvers and requesters are replaced before delivery with a role, an authority level and their reporting relation to each other. That keeps the level at which a decision was made and removes who made it. No de-identification method is perfect. A unique title in a small business unit can still single a person out, so check the sample.

How is this different from QA-scored work?

An approval is a decision made before an action, about whether it may proceed. A QA score is a judgment made afterwards, about how well work was done. Approval records carry a routing rule and an authority level. QA records carry a rubric and graded criteria. One teaches when to ask, the other what good work looks like.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026. Own data like this? See how companies license it to AI developers.

See if your company qualifies