# Why RL environments depend on real company workflows

Canonical: https://refer.sourcex.si/guides/rl-environments-enterprise-workflows
Last updated: 2026-11-03

Realistic RL environments for business software depend on real company workflows because ticket queues, approvals, CRM stages and month-end close supply the starting states, action sequences and recorded outcomes that tasks and graders need. Invented scenarios miss the exceptions and handoffs that real operations records contain.

## What does a realistic RL environment need from a company?

A reinforcement learning (RL) environment for business software needs three things that only real operations supply: a believable starting state, a sequence of actions that mirrors how people actually work, and a way to score the result. A ticket queue with real escalation patterns, an approval chain with real exceptions and a month-end close with real reconciliation breaks all provide them.

Invented environments tend to be too clean. Real workflows contain half-filled forms, ambiguous requests, handoffs and corrections, and that mess is what an agent must learn to handle. This is why developers building agent environments look for records of how work was done, not just documents about the work.

## How does a real workflow become a training task?

Environment builders convert a process into a task specification, a simulated tool set and a grader. Records supply each part.

| Workflow | Source records | Becomes in an environment | How it is graded |
|---|---|---|---|
| Support ticket resolution | Tickets, replies, tags, escalations, resolution codes | A queue of requests the agent must triage and answer | Matches the resolved outcome, policy and tone rubric |
| Sales stage progression | CRM opportunity history, activity logs, loss reasons | A pipeline where the agent updates stages and next steps | Correct stage, complete fields, follow-up timing |
| Purchase approval | Requisitions, approver notes, thresholds, rejections | A routing task with limits and exceptions | Right approver, right decision, audit trail complete |
| Month-end close | Journal entries, reconciliation notes, adjustments | A checklist with discrepancies to find | Balances tie and flagged items match the controller's |
| Code review | Pull requests, comments, revisions, merge decisions | A diff the agent must review or fix | Tests pass, reviewer concerns addressed |

The common thread is a recorded outcome. Without a known result, a grader has nothing to compare an agent's work against. Our overview of [why enterprise agents need workflow records](/guides/agentic-ai-enterprise-2026) covers the record types in more depth.

## Why not just simulate everything?

Synthetic generation is useful for volume and for covering rare cases, but it inherits the assumptions of whoever wrote it. Real logs carry the habits, shortcuts and edge cases that nobody thought to script. The [comparison of synthetic environments and real business logs](/compare/synthetic-data-vs-real-data-ai-agents) sets out when each approach wins, and most serious builders use both.

Real data also helps with evaluation. A set of recorded tasks with known outcomes can be held out and used to test an agent, which is how occupational benchmarks are built; see [what GDPval is and why occupational tasks matter](/questions/what-is-gdpval).

## Which client processes map to environment-building demand?

Use the 3S screen to judge whether a company's process is a plausible source: Steps, Signals, Systems.

- [ ] **Steps:** the process has several ordered steps with handoffs, not a single action.
- [ ] **Signals:** each case ends in a recorded outcome, such as approved, refused, resolved, reopened or merged.
- [ ] **Systems:** the work leaves a trail in software that someone can still export, ideally across more than one tool.

Processes that tend to pass include customer support operations, accounts payable and procurement, sales operations, IT service desks, engineering review and claims or order administration that does not involve protected health information. Processes that tend to fail are those that happen mostly by phone with no notes, those run entirely by an outsourcer for its clients, and those where the system of record was replaced without an export.

## What does a partner actually do with this?

You do not build environments or collect examples. You recognize that a business with years of consistent, outcome-labeled process records is the kind of company worth introducing, and you ask a few questions.

1. Which processes have run in the same system for several years?
2. Do cases end with a clear recorded outcome?
3. Who administers the tools and could confirm an export is possible?
4. Does the owner or CFO have authority to consider a license?
5. Who else's information is mixed into the records?

The answers feed a conversation, and SourceX handles qualification, the data inventory, rights review, contracting and delivery. The [company fit checker](/tools/company-fit-checker) gives a preliminary, non-binding screen.

## What are the rights questions behind process records?

Process records sit in other vendors' platforms and often contain client information, so ownership is not automatic. Read [who owns company data stored in SaaS tools](/questions/who-owns-data-in-saas) before assuming a system's contents can be licensed. De-identification and redaction requirements are agreed with the company before any work begins, and nothing is delivered without an executed agreement and the company's authorization.

## When is this not the right lever?

- The company has fewer records than the baseline of 50+ full-time employees at peak (contractors excluded) implies, or only a short history.
- The workflow belongs to clients, as at an agency or outsourcer, and they have not consented.
- The only trail is in a platform that was cancelled without an export.
- The data has already been licensed for AI training.
- The owner will not consider an exclusive license.

For the market context, see [enterprise AI data licensing deals](/guides/enterprise-data-licensing-deals-ai).

## Illustrative walk-through: a procurement approval environment

Illustrative and fictional: a mid-sized distributor has run purchase requisitions through the same workflow tool for seven years. Each request records the requester, category, amount, approver notes, any rejection reason and the final purchase order. An environment builder could turn each request into a task: given the requisition and the policy thresholds, route it to the right approver and decide whether to approve, query or reject.

The grader compares the agent's routing and decision with what the company's staff actually did, and checks that the audit trail is complete. Rejections and queries are the most valuable cases, because they show where policy and judgment meet. A company that only kept approved orders would offer far less, which is why the full history, including refusals, matters.

## What questions separate a strong process from a weak one?

| Question to ask the owner or operations lead | Strong answer | Weak answer |
|---|---|---|
| How long has the process run in the current system? | Several years, with older systems archived | Migrated last year, old data discarded |
| Do cases carry a recorded result? | Resolution, approval or merge status on each case | Free-text notes with no outcome |
| Are exceptions recorded, not just the normal path? | Rejections, reopenings and escalations are logged | Only completed items are kept |
| Who can run an export? | A named administrator, today | Nobody, or only the vendor |
| Whose information is in the records? | Mainly the company's own operations | Mostly clients' or consumers' data |

Use the answers to decide whether to introduce the company now or to suggest they preserve an export first.

## Next step

Pick one business you know with a long-running support, finance or sales process and walk it through the 3S screen. If it passes, read [how it works](/how-it-works) and [register as a partner](/register) to make the introduction. A reward becomes payable after SourceX has paid the referred company under its signed agreement and the payout conditions in the program terms are met, including finance approval and your tax and payment details.
