Track competitor website changes with Firecrawl, OpenAI, Google Sheets and Gmail
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every day). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail. It also calls api.firecrawl.dev and api.html2pdf.app over HTTP.
How it runs
Trigger: On a schedule (every day).
- Read Competitor (Google Sheets): uses Google Sheets
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Scrape Website with Firecrawl (HTTP Request): calls api.firecrawl.dev (POST)
- AI Competitor Analyzer (AI Agent): runs an AI agent, with model: OpenAI GPT-; output parser: Structured Output Parser
- Handle Scrape Error (Edit Fields (Set)): sets 2 fields: error, status
- Prepare Report Data (Edit Fields (Set)): sets 19 fields: content, html, title…
- Save to Google Sheets (Google Sheets): append
- Generate HTML Report (HTML): parses or builds HTML
- Convert HTML to PDF (HTTP Request): calls api.html2pdf.app (POST)
- Send Email Report (Gmail): uses Gmail
…plus 1 more step. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
HTTP calls to: api.firecrawl.dev, api.html2pdf.app
Uses Firecrawl. New users get 10% off with our link.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - HTML
n8n-nodes-base.html - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow runs on a schedule, reads competitor URLs from Google Sheets, scrapes each site with Firecrawl, analyzes the content with OpenAI, logs results back to Google Sheets, generates an HTML report, converts it to a PDF via html2pdf.app,…