Cost Intel Intelligence
Autonomous Procurement Cost Leakage Detection
01 · The problem
Built a six-stage LangGraph.js pipeline, ingest, detect, SLA, analyse, act and audit, over a simulated ERP feed of procurement invoices and service tickets, looking for duplicate charges, off-contract billing and pricing outliers.
02 · How it works
- 01
Separated proposing from acting: Nova Lite on Amazon Bedrock writes an action plan with a rupee impact per item, routine P3 payment holds and vendor blocks execute immediately, and P1 and P2 actions wait for a person to approve.
- 02
Called Bedrock through the Converse API with InvokeModel as a fallback when a call is restricted or times out, so a single model error does not stop the run.
03 · What it cost, and what it returned
Kept the record in DynamoDB with a permanent audit table and expiring tables for the live stream and pending approvals, at 24 and 48 hours, so working data does not outlive the decision it was for.
