Notify your team about Shopify discounts and stock changes with Apify and webhooks
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on a schedule (every 12 hours). It uses only n8n's built-in nodes. It also calls api.apify.com over HTTP.
How it runs
Trigger: On a schedule (every 12 hours).
- Workflow Configuration (Edit Fields (Set)): sets 4 fields: storeUrl, maxProductsPerStore, minDiscountPct…
- Fetch Shopify Variants (HTTP Request): calls api.apify.com (POST)
- Diff Variants & Classify Events (Code): runs custom JavaScript code
- Has Real Changes? (If): checks a condition and branches into true / false
- Route by Event Type (Switch): routes items into 3 branches
- Format Alert Payload (Edit Fields (Set)): sets 1 field: alertMessage
- Send Team Alert Webhook (HTTP Request): calls an HTTP API (POST)
HTTP calls to: api.apify.com
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.
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Switch
n8n-nodes-base.switch
From the author
Quick overview This workflow runs every 12 hours to fetch Shopify product variants via an Apify Actor API call, filters for discounted or out-of-stock SKUs, and posts an alert message to a Slack-compatible incoming webhook. How it works 1. Runs every 12 hours…