How AI workflows turn a purchase note into a reviewable request

AI workflows combine model calls with steps that follow rules you define. Imagine a buyer emailing “three monitors at USD 400 each.” A model can read the note and propose fields. Code can calculate the total. The buyer can correct the form, and an assigned reviewer decides whether to approve the expense. Each step has a result someone can check.

EngineeringBy Published 3 min read

On this page

Decide who chooses the next step

Begin with the input and the decision you need. Extracting fields from varied supplier notes is a reasonable use for a model. Adding prices, checking a currency code and choosing an authorized reviewer each have a rule you can write and test. If requests already arrive with clean fields, start with the form and the approval rule.

Anthropic distinguishes workflows that follow paths specified in code from agents that choose their own next steps and tools. A buyer who submits a request should know who gets it next. A fixed route with one model-assisted step makes that possible.

Walk a $1,200 purchase through the workflow

Here is a proposed intake step for the fictional equipment request. You can try the approval handoff in the SpringRoll preview. The model extraction below is a design you can test separately with the same inputs.

Scroll sideways to see all columns. With the table focused, use the arrow keys.

A purchase note from intake to decision
StepWho does itResult you can check
Read the noteModelSuggest monitors, quantity 3, unit price 400 and currency USD. Keep the buyer’s original words beside the fields.
Confirm the amountBuyer and applicationThe buyer checks the fields against the note. The application calculates USD 1,200 from the confirmed quantity and price.
Route the requestApplicationCreate one submitted request and assign it to a reviewer. Return the request ID so a retry can find the same record.
Decide or return itAssigned reviewerAsk which models the buyer needs. The buyer revises the note and resubmits. Record the reviewer’s decision against that revision.

Run three cases before turning on AI intake

Give the workflow the same small set of notes whenever you change the prompt or the model. Check the saved request and the reviewer’s queue as well as the model’s answer.

  • Remove “USD” and leave the price as “400.” The draft should ask for a currency, and the reviewer’s queue should stay empty.
  • Change the note to “three monitors, actually make that two.” Have the buyer confirm the final quantity. The submitted request should show two monitors and USD 800.
  • Submit the confirmed draft twice with the same request ID. Open the reviewer’s queue and count one request. If the model service is unavailable, the buyer should still be able to fill in a blank form.

Review a purchase workflow in SpringRoll

Count how many notes needed a correction, which fields caused it and how long the buyer and reviewer spent getting to a decision. A model that fills every field can appear successful while giving reviewers more work. Compare the pilot with the same kind of requests handled manually, including those returned for clarification.

In a deployed copy of SpringRoll’s Purchase Desk Team example, give a buyer and an assigned reviewer their own accounts. Return one request for a correction and follow the decision in its history. When testing your model-assisted intake, check that the same two people can complete that handoff.