Monitor competitor prices and send OpenAI analysis alerts via Slack and Gmail
Needs changesWhat this workflow does
This AI workflow has 24 nodes and runs on a schedule (cron 0 */6 * * *). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail.
How it runs
Trigger: On a schedule (cron 0 */6 * * *).
- Initialize Monitoring Session (Edit Fields (Set)): sets 3 fields: monitoringId, checkTimestamp, competitors
- Fetch Current Prices (HTTP Request): calls an HTTP API
- Fetch Previous Prices (Google Sheets): get many
- Normalize Current Prices (Code): runs custom JavaScript code
- Normalize Previous Prices (Code): runs custom JavaScript code
- Compare Price Datasets (Compare Datasets): uses Compare Datasets
- Process Removed Products (Code): runs custom JavaScript code
- Process Unchanged (Code): runs custom JavaScript code
- Process Changed Prices (Code): runs custom JavaScript code
- Process New Products (Code): runs custom JavaScript code
…plus 12 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Price Analyst (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Price Analyst (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Code
n8n-nodes-base.code - Compare Datasets
n8n-nodes-base.compareDatasets - Merge
n8n-nodes-base.merge - Filter
n8n-nodes-base.filter - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - Gmail
n8n-nodes-base.gmail
From the author
Competitor Price Monitoring with AI-Powered Alerts What this workflow does This workflow automatically monitors competitor product prices on a scheduled basis, detects meaningful price changes, and delivers actionable alerts enriched with AI-powered…