Generate a daily competitor intelligence briefing with OpenAI and Gmail
Ready for 3.0What this workflow does
This workflow has 11 nodes and runs on a schedule (every 24 hours). Along the way it connects Gmail and Google Sheets. It also calls api.openai.com over HTTP.
How it runs
Trigger: On a schedule (every 24 hours).
- Configure Competitors and Settings (Code): runs custom JavaScript code
- Fetch Competitor Page (HTTP Request): calls an HTTP API
- Extract Text and Build AI Prompt (Code): runs custom JavaScript code
- AI Analyze Competitor (HTTP Request): calls api.openai.com (POST)
- Parse AI Response (Code): runs custom JavaScript code
- Aggregate and Build Briefing Prompt (Code): runs custom JavaScript code
- AI Generate Final Briefing (HTTP Request): calls api.openai.com (POST)
- Format HTML Email (Code): runs custom JavaScript code
- Send Email Briefing (Gmail): uses Gmail
- Log to Google Sheets (Google Sheets): append
Services it uses
HTTP calls to: api.openai.com
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 (5)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Overview Know what your competitors are doing every morning before your first meeting. This workflow visits each competitor website daily, uses OpenAI to analyse it for strategic signals, and emails your team a consolidated executive briefing automatically.…