See llms.txt for all machine-readable content.

Back to Templates

Track competitor prices and history with Apify, Shopify, WooCommerce and Slack

Quick overview

This workflow runs daily and weekly checks of competitor Shopify and WooCommerce stores using Apify, stores detected changes in an n8n Data Table for price history, and posts Slack alerts for significant changes and a weekly digest.

How it works

  1. Runs every day at 7:00 and every Monday at 8:00 to load configuration values and ensure the competitor_price_history n8n Data Table exists.
  2. On the daily run, the Apify node runs the Store Change Monitor Actor for the configured competitor store URLs. The Actor reads each store's public catalog and returns only what changed since the last check, plus a summary row per store and an error row for a store it could not read.
  3. Loads recent entries from the n8n Data Table and composes a Slack-ready message that highlights price drops/rises above thresholds, sale events, stock changes, and optional new/removed products, including context from historical prices.
  4. Inserts each detected change into the n8n Data Table to build and maintain the price history.
  5. Posts the alert to the configured Slack channel only when there is something worth reporting (or posts a failure message if the Apify run errors).
  6. On the weekly run, summarizes the last 7 days of stored changes into a digest, posts it to Slack, and deletes history rows older than the configured retention window.

Setup

  1. Install and configure the Apify community node (@apify/n8n-nodes-apify) and add Apify OAuth2 or an Apify API token credential.
  2. Add a Slack credential with permission to post messages and set/invite the bot to the target channel.
  3. Update the Settings values for competitorStores, slackChannel, thresholds (minPriceDropPercent/minPriceRisePercent), maxProductsPerStore/maxChargePerRunUsd, and optional myPricesBySku.
  4. Run the workflow once: the first check saves a baseline and posts a confirmation to Slack, and changes are reported from the next check. Then activate the workflow.

Requirements

  • An Apify account (the Actor is priced per product checked and per change found; maxChargePerRunUsd caps each run), a Slack workspace where you can add an app, and n8n with Data Tables and the verified Apify community node. Tested on n8n 2.48.6 with @apify/n8n-nodes-apify 0.9.1.

Customization

  • Change thresholds, history length and the weekly digest switch in Settings, and the check and digest times in the two schedule nodes. To post to Teams, Discord or email, replace only Post to Slack; the message field is text with Slack-style links.

Additional info

Limitations: only public catalog data is compared (WooCommerce Store API and Shopify products.json), and a store that blocks these feeds is reported in Slack. The history starts with this workflow; earlier price changes are not imported. myPricesBySku compares numbers only, so use the competitor's currency.