Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / E-commerce & Payments

E-commerce & Payments

Reprice Shopify products from competitor scrapes with OpenAI and Slack approval

Every morning scrapes competitor prices for each SKU, suggests guarded price changes from stock and margin floors, and sends them to Slack for approval.

What it does

## 🏷️ PriceOS – Competitor Price Watch & Guardrailed Repricing For Shopify D2C brands in India who check competitor prices by opening tabs on Amazon, Flipkart and rival stores, then update prices by hand days later, or undercut themselves below margin when they panic. ### How it works Every morning the workflow visits each competitor URL you list per SKU and reads the price and stock. It uses structured data first and falls back to AI only when a page is messy. Rules suggest a new price from the lowest in-stock competitor, your margin floor and your stock level. AI reviews each change, and hard guardrails (floor, ceiling, daily change cap, cooldown, ₹…9 rounding) have the final say. Nothing goes live automatically. Each proposal is posted to Slack with Approve and Reject buttons. Approving updates the variant price on Shopify, and every decision and daily price is logged in Google Sheets. ### Setup steps 1. Create a Google Sheet with Products (SKU, Shopify variant ID, cost, floor, ceiling, competitor URLs), Price History and Price Proposals tabs. 2. Create a Shopify custom app with write_products and add its token as Header Auth (X-Shopify-Access-Token). 3. Connect Google Sheets, Slack and OpenAI. 4. Edit Set PriceOS Config, and set your store domain in Validate Approval too. 5. Add a few SKUs, run once manually and approve one change.

The steps

  1. Every Day at 7 AM IST
  2. Set PriceOS Config
  3. Read Products Sheet
  4. Read Past Proposals
  5. Build Scrape Jobs
  6. Loop Over Competitor URLs
  7. Fetch Competitor Page
  8. Parse Price from Page
  9. Needs AI Extraction?
  10. AI Extract Price from Page
  11. Apply AI Extraction
  12. Pause 2s Between Sites
  13. Run Pricing Rules
  14. Change Proposed?

40 steps in total.

Similar automations