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
- Runs every 12 hours on a scheduled trigger.
- Calls the Apify API to extract Shopify catalog variant data for the configured store URLs.
- Filters the returned variants to keep only items where the price is below the compare-at price or the variant is out of stock, and calculates the discount percentage.
- Sends a formatted alert for each matching SKU to a Slack incoming webhook (or any Slack-compatible webhook endpoint).
Setup
- Create an Apify API token and add an n8n HTTP Header Auth credential that sends
Authorization: Bearer <YOUR_APIFY_API_TOKEN>.
- Update the
storeUrls list (and optional limits like maxProductsPerStore) in the Apify request body to match the Shopify stores you want to monitor.
- Replace the Slack webhook URL in the outgoing webhook request with your own Slack (or other chat tool) incoming webhook endpoint.