# Reprice Shopify products using competitor scraping, GPT-4o-mini and Slack approvals

> Quick overview This workflow runs daily to scrape competitor product pages listed in Google Sheets, proposes guardrailed price changes using OpenAI, posts approvals to Slack, and applies approved variant price updates to Shopify via the Admin GraphQL API while logging history and decisions back to Google Sheets. How it works 1. Runs every day at 7 AM IST to load pricing configuration plus product and proposal data from Google Sheets. 2. Builds a list of competitor URL scrape jobs per SKU, fetches each page by HTTP request, and extracts price and stock using structured data and regex with an OpenAI fallback when parsing is unreliable. 3. Calculates a rule-based target price per SKU using the lowest in-stock competitor price, margin floor, ceiling, stock-based constraints, daily change caps, cooldown checks, and ₹…9 rounding. 4. Appends the day’s observed market data and rule result to the Google Sheets Price History tab and posts a daily digest summary to Slack. 5. For SKUs with a meani

- **Domain**: `n8n-workflow-21075.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/21075
- Page (HTML): https://agenstry.com/agents/n8n-workflow-21075.n8n.io
- Documentation: https://n8n.io/workflows/21075
