Quick overview
Every Monday this workflow checks the Shopify and WooCommerce stores you compete with using the Store Change Monitor Actor on Apify, has an OpenAI model write a short facts-only analysis of the week's changes, and emails you an HTML report with full change tables through Gmail.
How it works
- Runs every Monday at 8:00 on a schedule.
- Sends your competitor store URLs and monitoring limits to the Store Change Monitor Actor on Apify and retrieves the resulting dataset: only the changes since last week's run.
- Aggregates the last week’s detected changes into lists (price drops/rises, sales, stock changes, added/removed products) and optionally compares competitor prices to your own SKU price map.
- If changes are found, prompts an OpenAI chat model to write a brief, facts-only narrative analysis and next-step suggestions.
- Renders an HTML email that always includes the full change tables (and includes the AI text when available).
- Sends the email report (or a failure notification if the Apify run fails) to the configured address using Gmail.
Setup
- Install and configure the Apify community node (
@apify/n8n-nodes-apify) and connect an Apify account (OAuth2 or API token).
- Add an OpenAI credential for the chat model used to write the weekly analysis.
- Connect a Gmail account in the Gmail node for sending emails.
- Update the Settings values: competitor store URLs,
reportTo email address, businessContext, and optional myPricesBySku JSON, plus any run limits like maxProductsPerStore, maxChargePerRunUsd, and topN.
- Run the workflow once to create the initial baseline in Apify, then activate it for ongoing weekly reports.
Requirements
Customization
- Change the schedule for a daily report, or swap Gmail for Outlook or Slack: the email node receives
subject and html.
- Adjust the prompt in Write the analysis. If the AI step fails, the report is still sent with the full tables.