Send weekly competitor price and stock reports with Apify, OpenAI and Gmail
UnknownWhat this workflow does
This AI workflow has 10 nodes and runs on a schedule (every week at 08:00). Along the way it connects OpenAI Chat Model, Gmail and Apify (community).
How it runs
Trigger: On a schedule (every week at 08:00).
- Settings (Edit Fields (Set)): sets 8 fields: competitorStores, maxProductsPerStore, maxChargePerRunUsd…
- Check competitor stores (Apify): run actor and get dataset
- Summarise the week's changes (Code): runs custom JavaScript code
- Compose failure email (Edit Fields (Set)): sets 2 fields: subject, html
- Anything to analyse? (If): checks a condition and branches into true / false
- Send the report (Gmail): uses Gmail
- Write the analysis (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Render the email (Code): runs custom JavaScript code
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Apify + OpenAI templates (230) · Other Apify + Gmail templates (127)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Check competitor stores).
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Apify
@apify/n8n-nodes-apify.apify - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail
n8n-nodes-base.gmail
From the author
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…