Skip to main content
Workflow automation

What data you need before building AI automation

How to assess the data, examples, permissions, edge cases, and source-of-truth rules needed before building useful AI automation.

Vladimir Siedykh

AI deployment partner for business workflows

Teams often ask whether they have enough data for AI automation. The better question is whether they have the right kind of data for the workflow they want to improve.

You may not need a huge dataset. Many practical AI workflows start with a small number of representative examples, clear business rules, and a human review path. But you do need enough reliable context to define what good output looks like, what bad output looks like, which data is allowed, and where the final decision should be recorded.

AI automation fails when teams treat data as a vague input. It succeeds when data is connected to a workflow: where it comes from, what it means, who owns it, who may see it, and what action depends on it.

That distinction is important because "data readiness" can sound like a technical warehouse project. For most first AI automation projects, it is more practical. Can the system see the right input? Can it distinguish fact from inference? Can a reviewer check the source? Can the workflow handle missing fields? Can the business measure whether the output was useful? If the answer is no, adding more raw data will not fix the workflow.

Start with real examples

The most useful data is usually a set of real examples from the workflow. For lead qualification, that might be recent inquiries and how sales handled them. For document processing, it might be common documents, difficult documents, and examples of reviewer corrections. For proposal work, it might be intake forms, discovery notes, final scope documents, and reasons proposals changed.

These examples help define the task. They show common patterns, missing information, edge cases, and the language people actually use. They also make evaluation possible. If you cannot show examples of good and bad outcomes, you will struggle to know whether the AI workflow is improving.

Do not collect only the clean examples. The first set should include ordinary cases, messy cases, and cases where the correct action is to stop and ask a human. A document extraction workflow needs documents where fields are clear and documents where the layout is odd. A lead workflow needs clear-fit leads and vague messages with missing context. A proposal workflow needs complete intake answers and partial requests that should become clarification questions rather than a draft proposal.

This is also where the team should agree what the example represents. Is it a training example, an evaluation example, a policy example, or just a historical artifact? Those are different uses. For most business workflow automation, the first priority is not training a model. It is building enough examples to test prompts, rules, review screens, and downstream behavior.

Identify the source of truth

AI automation often touches several systems: CRM, email, documents, spreadsheets, ticketing, finance tools, internal databases, and shared notes. Before building, decide which system is authoritative for each important field.

If a customer name appears in an email, CRM, and contract, which one wins? If a budget is mentioned in discovery notes but not in the CRM, should the workflow write it back? If a document extraction result conflicts with an existing record, should the system overwrite, flag, or ask for review?

These are not technical details. They are business rules. A workflow cannot be reliable if it does not know which data to trust.

The source-of-truth decision should be specific by field, not only by system. A CRM may be authoritative for account owner, but not for the buyer's latest problem statement. A contract may be authoritative for legal terms, but not for current project status. A support ticket may be authoritative for the latest customer complaint, but not for account value. AI needs those distinctions because its output will otherwise blend sources into a confident but untraceable answer.

Good automation preserves source references. If the model extracts a renewal date, the reviewer should be able to see the document and passage. If it recommends a lead priority, the reviewer should see the submitted message and the fit signals. If it flags a missing field, the workflow should show which downstream step depends on that field.

Map permissions early

AI systems can accidentally expand access if permissions are not designed early. A model might receive data that the reviewer should not see, or an automation might write to a system with broader authority than intended.

Before building, list the data categories involved: personal data, financial data, legal terms, customer notes, credentials, internal pricing, or sensitive operational details. Then decide which roles can view, edit, approve, or export each category.

The ICO AI and data protection risk toolkit is useful here because it keeps practical attention on transparency, accuracy, security, and data minimisation. The article on AI automation PII redaction and permission boundaries covers this more deeply. For a first automation, the practical point is simple: data access should match workflow authority.

That means the data plan should answer who can see the input, who can see the AI output, who can approve the next action, and what should be redacted or excluded before the model is called. It should also answer what gets stored afterward. A workflow may need enough logging to debug and audit decisions, but it may not need to retain every raw prompt or sensitive field indefinitely.

Permission design is part of the product experience. If reviewers see information they should not act on, the workflow creates governance risk. If reviewers cannot see enough source evidence, the workflow creates trust risk. The useful middle is scoped access: enough context to make the decision, not every available piece of data.

Define the task before asking for data

Data readiness depends on the task. "We want to use AI with our documents" is too broad. "We want to extract invoice totals, supplier names, due dates, and exceptions from one document type before finance approval" is specific enough to evaluate.

The task definition should name the input, output, decision, review point, and downstream system. It should also define what the AI is not allowed to do. For example, the AI may extract payment fields but not approve payment. It may summarize a lead but not reject the lead. It may draft a proposal assumption but not promise scope or pricing.

Once the task is defined, data questions become clearer. Which examples show the input range? Which fields are required? Which policies affect the output? Which edge cases require escalation? Which corrections should be stored? Which metric tells us the workflow improved?

This is why the AI workflow audit starts with a workflow slice rather than a generic data inventory. A complete data inventory can be useful later. Early on, the sharper move is to ask what data a specific workflow needs in order to become safe, reviewable, and measurable.

Collect edge cases, not only happy paths

Happy-path examples are useful, but edge cases are where production readiness appears.

Gather examples with missing fields, conflicting information, unusual formats, unclear language, high-value decisions, sensitive data, and previous mistakes. These examples help define review rules. They also prevent the team from overestimating quality because the first demo used clean input.

The NIST AI Risk Management Framework encourages teams to map and manage risk in context. NIST's 2024 Generative AI Profile also keeps attention on evaluation, privacy, provenance, and human-AI configuration. In a workflow build, edge cases are the practical material for that risk work.

Edge cases should lead to workflow states. Missing required data might create a clarification task. Conflicting records might route to a reviewer. Sensitive content might trigger redaction. Low confidence might keep the output as a recommendation. High-impact actions might require approval before anything is written downstream.

If the workflow has no state for an edge case, the AI will either guess or fail silently. Neither is a production design.

Prepare evaluation data separately

Evaluation data is not just a pile of examples. It is a set of examples with expected behavior.

For each example, define what a good output should include, what it should avoid, and what the workflow should do next. A lead example might expect a specific fit band, missing-information flag, and recommended next step. A document example might expect fields, source references, and escalation if a field is unreadable. A proposal example might expect scope assumptions and clarification questions instead of a finished proposal.

Google Cloud's 2025 guidance on generative AI evaluation is a good reminder that teams need more than informal output inspection. Evaluation should use representative data, rubrics, metrics, and checks across the lifecycle. In a first sprint, this can be simple, but it should still be explicit.

Do not let evaluation become only a model benchmark. The business needs workflow evaluation too. Did the reviewer finish faster? Did the output reduce missing information? Did corrections fall over time? Did the downstream system receive cleaner records? Did the workflow route exceptions instead of hiding them?

That is the difference between model quality and automation quality.

Separate raw data from decision data

Raw data is what the workflow receives. Decision data is what the reviewer or downstream system should rely on. The distinction matters because AI can summarize, infer, and normalize, but those outputs should not silently become facts.

A prospect may write a vague message that suggests urgency. The submitted message is raw data. "High urgency" is an interpretation. A contract may contain a renewal date. The source passage is raw data. The extracted date becomes decision data only when the workflow shows the source, validates the format, and decides whether review is needed.

Good automation keeps that boundary visible. It labels submitted facts, connected-system facts, extracted fields, model inferences, and human-approved decisions differently. This makes review faster because people can see what they are accepting. It also prevents the system from laundering guesses into records that later look authoritative.

Decide what feedback should be stored

Human corrections are some of the most valuable data in AI automation. If reviewers edit a suggested category, reject a drafted reply, change an extracted field, or escalate a case, that feedback should not disappear.

You do not need a complex learning system on day one. You do need a way to record the correction and the reason. Over time, those corrections help improve prompts, rules, evaluation examples, and interface design.

Without feedback, the workflow stays static. With feedback, the system can become more aligned with how the business actually decides.

Feedback should be structured enough to analyze. Free-text comments help, but simple reason codes are often more useful: missing context, wrong source, wrong category, policy conflict, low confidence, duplicate record, sensitive data, or accepted as recommended. Those correction reasons tell you whether the problem sits in the prompt, intake, source data, review UX, or business rule.

The feedback loop should also have an owner. If nobody reviews corrections, the data accumulates without improving the workflow. A weekly review of overrides, exceptions, and failed syncs can be enough for a small first deployment.

What if the data is not ready?

Messy data does not mean you cannot start. It means the first build may need to create structure before deeper automation.

That might be a better intake form, a normalized queue, a small internal tool, a source-of-truth cleanup, or a review surface that captures consistent decisions. This can feel less exciting than a model-heavy build, but it often creates the foundation that makes AI useful.

OWASP's Top 10 for LLM Applications also makes the security side visible. Sensitive information disclosure, prompt injection, data and model poisoning, and improper output handling are not abstract risks when a workflow is connected to real data. They affect what data should enter the model, what outputs should be trusted, and which actions need validation.

For teams planning workflow automation, messy data is a planning signal rather than a failure. You are finding the work that must be made visible before automation can be trusted.

If you want to know whether your data is ready, bring one workflow and sample inputs to the AI workflow audit. The answer should not be a vague "yes" or "no." It should be a practical map of what can be automated now, what needs cleanup, and where human review should stay.

AI automation data FAQ

Not always. You need representative examples, clear inputs, trusted source systems, permission rules, and enough feedback to evaluate outputs.

Get practical notes on AI deployment and workflow automation

Short, practical writing on workflow design, internal AI tools, controlled agent workflows, and production systems. No spam. Unsubscribe any time.