Generate fact-checked research reports with Bright Data, OpenAI and Gemini
Ready for 3.0What this workflow does
This AI workflow has 18 nodes and runs when someone submits an n8n form (“Deep Research Agent”). Along the way it connects OpenAI Chat Model, Google Gemini Chat Model, Gmail and Google Sheets. It also calls api.brightdata.com over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Deep Research Agent”).
- Set Research Parameters (Edit Fields (Set)): sets 8 fields: question, depth, email…
- Plan Sub-Queries Extraction (Information Extractor): extracts structured fields from text with AI, with model: OpenAI GPT-5.6 Luna Planner
- Split Sub-Queries (Split Out): splits a list into separate items
- Post to Bright Data SERP API (HTTP Request): calls api.brightdata.com (POST)
- Extract and Deduplicate URLs (Code): runs custom JavaScript code
- Limit: keeps the first few items
- Post to Web Unlocker API (HTTP Request): calls api.brightdata.com (POST)
- Clean HTML and Prepare Text (Code): runs custom JavaScript code
- Aggregate: combines items into one
- Compose Research Report (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Model for Writing
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.brightdata.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 (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Split Out
n8n-nodes-base.splitOut - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Limit
n8n-nodes-base.limit - Aggregate
n8n-nodes-base.aggregate - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Gmail
n8n-nodes-base.gmail - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview This workflow collects a research question via an n8n form, uses OpenAI and Google Gemini to draft and fact-check a cited report, gathers sources with Bright Data SERP API and Web Unlocker, then emails the verified report via Gmail and logs the…