Build a procurement approval workflow: agent drafts a purchase order, human approves, agent executes

domain: agentic-payments · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. The agent researches the purchase and assembles a structured purchase order draft: vendor name, item descriptions, quantities, unit prices, total amount, business justification, and the vendor's payment method or checkout URL.
  2. The agent submits the PO draft to a review queue with a status of pending_approval; it does not contact the vendor or initiate payment at this stage.
  3. The human approver reviews the PO in a structured UI that shows the draft alongside comparable pricing data if available; the approver can approve, reject, or request modification.
  4. On approval, the system generates a scoped payment authorization token bound to the PO ID, vendor, and approved amount; this token is passed to the agent to execute the purchase.
  5. The agent executes the purchase using only the scoped token; if the actual checkout total differs from the approved PO total (by more than a small tolerance, e.g., 2%), the agent must halt and re-queue for approval rather than proceeding.
  6. After purchase, the agent captures the vendor's order confirmation and receipt, links them to the PO record, and closes the PO as fulfilled; the full PO lifecycle (draft, approved, executed, fulfilled) is stored in the audit log.

Known gotchas

Related routes

Create and advance an offer through an approval workflow via the Ashby API
recruiting · 6 steps · unrated
Implement a human-in-the-loop approval gate for agent purchases above a threshold
agentic-payments · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans