Reprice Shopify products using competitor scraping, GPT-4o-mini and Slack approvals
Ready for 3.0What this workflow does
This AI workflow has 40 nodes and runs on a schedule (cron 0 7 * * *) (plus 1 other trigger). Along the way it connects Google Sheets, OpenAI and Slack.
How it runs
Trigger: On a schedule (cron 0 7 * * *) (plus 1 other trigger).
- Set PriceOS Config (Code): runs custom JavaScript code
- Look Up Proposal (Google Sheets): uses Google Sheets
- Read Products Sheet (Google Sheets): uses Google Sheets
- Validate Approval (Code): runs custom JavaScript code
- Read Past Proposals (Google Sheets): uses Google Sheets
- Is Link Valid? (If): checks a condition and branches into true / false
- Build Scrape Jobs (Code): runs custom JavaScript code
- Approve or Reject? (Switch): routes items into 2 branches
- Show Invalid Link Page (Respond to Webhook): sends the response back to the webhook caller
- Loop Over Competitor URLs (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 28 more steps. See the full node list below.
Services it uses
Other OpenAI + Google Sheets templates (2,011) · Other Google Sheets + Slack templates (1,314) · Other OpenAI + Slack templates (979)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - Wait
n8n-nodes-base.wait - Slack
n8n-nodes-base.slack - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook - Switch
n8n-nodes-base.switch
From the author
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…