Natural skincare ingredients eCommerce brand · ~190 SKUs
Intelligent AI Pricing Agent
Agentic repricing that checks every proposal against three decision gates. Nothing ships until a human approves it in Slack.
By Ali Hassaan Qureshi · Published · Updated
Before
Manual repricing across ~190 SKUs risked margin
After
Agent proposes, 3 gates check, a human approves in Slack
01 · Problem
What was broken.
Competitor prices change constantly across ~190 SKUs. Repricing by hand is slow and risky: one wrong move can wipe out margin or tie up cash in stock.
02 · Constraints
What the system had to respect.
- ~190 SKUs with competitor prices changing constantly
- No price may go below a 25% margin floor
- Inventory and cash flow must be considered, not just competitor prices
- Every change must be auditable
03 · Architecture
How it works.
Competitor feeds flow through n8n into a durable Temporal "PricingDecision" workflow. A Mastra + Claude agent proposes prices, which pass three gates before a Slack approval pauses and resumes the workflow. ACCA performance-management rules (target costing, margin analysis, elasticity, working capital) are written as code.
04 · Human approval points
Where people stay in control.
- Every proposed price change pauses for approval in Slack
- Gate failures stop the change before a human ever sees it
- Approved prices are the only ones published to Shopify
05 · What shipped
Delivered.
- Competitor feeds via Channable into n8n
- Durable Temporal "PricingDecision" workflow
- Mastra + Claude agent that proposes prices
- Three gates: margin floor, inventory and cash, elasticity
- Odoo costs in, approved prices out to Shopify
- Supabase + Arize audit trail and a Next.js decision dashboard
06 · Results
Where it stands.
Designed so no price can go below the 25% margin floor, and every change has a human approval and an audit record behind it.
Services used in this build
What clients said
★★★★★
“Great work!”
n8n workflows for automatic AI content creation for WordPress sites
★★★★★
Rated 5.0 with no written comment.
n8n developer with experience in dev languages (ongoing)
Real feedback, quoted word for word. Client names are left out.
Want a system like this?
Start with a free 30-minute AI systems audit. You get a short written plan with 3 ideas, with no obligation.