Skip to content
News

How to version an AI workflow so you know what actually changed

A weekly support report leaves out three cases even though the prompt hasn't changed. See what to record alongside a workflow version so your team can find the cause and check the fix.

A pale lattice shows through the opened edge of a red composite.

Every Wednesday, Rina uses an AI report to decide which support cases need help from another team. This week, three cases she knows about are missing. She opens the workflow editor expecting to find a change in the instructions. The version is the same as last week, right down to the line that says to include cases waiting on another team.

Rina eventually finds the change in a saved view outside the workflow. Someone narrowed it to show cases the support team could act on immediately. That made the view more useful for the person who edited it. It also dropped the cases the Wednesday report was meant to surface. The agent had worked from a different list without anybody releasing a new workflow.

Give each run something you can compare

AI workflow versioning starts with the definition of the workflow: its steps, prompts and configuration. For recurring work, save a short record of the other things that can affect what the workflow sees or does. A provider may change the model behind an alias. A tool can gain or lose access to records. A saved query may keep its name even after someone edits its filters. Decide which of those changes would matter to the person relying on the result, and write down how they could check them later.

Your workflow tool can tell you what it versions. For example, n8n's workflow history records changes such as edits to nodes, while changes to workflow settings don't create a version. Its execution history is a separate record of runs. Before calling a version the one that ran, check which definition was active when the work started. The version visible in an editor today can be newer than the one that produced yesterday's result.

Rina's team gives the reporting setup a short release record. It links to the workflow definition, the instructions the job uses, the model identifier it can see, the approved case view and the intended delivery target. It also links an example run the team has reviewed. A small export of the case statuses used in that review is enough to check eligibility again, with customer names and message contents left out. If the tool exposes only a mutable link or a model alias, the team records what was visible at the time and leaves the unknown detail marked as such.

Mechanical arms carry a translucent green sheet over a row of rollers.

Find the first point where the work differs

When a report looks wrong, compare it with a result somebody had reason to trust. For the support team, last week's reviewed report tells Rina that cases awaiting another team should be present. It doesn't tell her that there should be the same number of cases this week. She compares this week's input with this week's output before touching the instructions.

The input list shows that the three cases never reached the model. If they'd been on the list, she would have checked the generated report next and then the version that was actually delivered. That order of inspection saves her from tuning the prompt to fix an upstream problem or blaming the model for an older report a person happened to open.

To check the explanation, Rina makes a small approved example with one case the support team can handle immediately and one that is waiting on engineering. The current shared view returns only the first. A view with the report's intended filter returns both. She keeps the report instructions fixed and tests the new input against the same two examples, with delivery off while she checks the draft. The result supports a narrow conclusion: changing the input view restores the missing case in this test. The team can keep those two cases in a small reviewed dataset for the next change.

Rina leaves the shared view alone, since another team uses it to plan the immediate queue. She creates a separate view for the report with a documented filter and owner. The workflow points to that view, the team checks one more draft, and the release record names the run they used to approve it. Now someone who wants to narrow the queue can do so without unwittingly changing the report.

Blue solar panels extend from a long orbital truss above clouds.

Make a release note the next person can act on

For one recurring job, try recording the following next to the run that got approved:

  • What changed. The Wednesday report has its own view, which includes cases waiting on another team. Link the exact workflow revision and show the filter in a dated record, because a link to the view can outlive its settings.

  • What we checked. Link the reviewed run and note that both example cases were included. Record the input the agent saw and the result the reviewer opened. The example can be redacted or synthetic as long as it preserves the condition you're testing.

  • What to do if it breaks. Name the person who can pause delivery, where to get the approved list by hand and which version they could restore in the workflow tool. Check whether restoring it would still use a view that has since changed. Deal separately with anything that's already been sent or changed.

Put this where the team will look next time, whether that's next to the workflow in a repository or in a shared project Space. In Swarm, you can keep the release note, approved examples, review decision and links to external runs together. Ask an agent in your existing tool to compare the versions and evidence it can actually read. When it cites a run or a record, open that source before acting, especially if it can see only a partial export. Make any change to the live workflow or delivery schedule in the system that runs it.

Blue tidal channels wind through gold and rose sandbars.

The next Wednesday, a colleague reviewing the draft asks why cases waiting on engineering are included. The change record takes them to the approved filter and the run that checked it. They can decide whether the report meets the current need without trying to reverse engineer the last person's chat.

Swarm | How to Version an AI Workflow and Track What Changed