Monitor competitors' websites for changes with OpenAI and Firecrawl
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs when someone submits an n8n form (“New espionage assignment”). Along the way it connects OpenAI Chat Model and Gmail. It also calls api.openai.com and api.firecrawl.dev over HTTP.
How it runs
Trigger: When someone submits an n8n form (“New espionage assignment”).
- convert message to website url & instruction (HTTP Request): calls api.openai.com (POST)
- parse results (Code): runs custom JavaScript code
- scrape page - (HTTP Request): calls api.firecrawl.dev (POST)
- Wait: waits 1 days
- scrape page - (HTTP Request): calls api.firecrawl.dev (POST)
- send e-mail? (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Gmail)
Services it uses
HTTP calls to: api.openai.com, api.firecrawl.dev
Uses Firecrawl. New users get 10% off with our link.
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 send e-mail? (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) send e-mail? (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Gmail Tool
n8n-nodes-base.gmailTool - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Wait
n8n-nodes-base.wait - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
Who is this template for? This workflow template is designed for people seeking alerts when certain specific changes are made to any web page. Leveraging agentic AI, it analyzes the page every day and autonomously decides whether to send you an e-mail…