See llms.txt for all machine-readable content.

Back to Templates

Notify your team about Shopify discounts and stock changes with Apify and webhooks

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 on a scheduled trigger.
  2. Calls the Apify API to extract Shopify catalog variant data for the configured store URLs.
  3. 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.
  4. Sends a formatted alert for each matching SKU to a Slack incoming webhook (or any Slack-compatible webhook endpoint).

Setup

  1. Create an Apify API token and add an n8n HTTP Header Auth credential that sends Authorization: Bearer <YOUR_APIFY_API_TOKEN>.
  2. Update the storeUrls list (and optional limits like maxProductsPerStore) in the Apify request body to match the Shopify stores you want to monitor.
  3. Replace the Slack webhook URL in the outgoing webhook request with your own Slack (or other chat tool) incoming webhook endpoint.