Deep Research Agent - Automated Research & Notion Report Builder

Go to Workflow
0 views
Built by Aziz B Aziz B
Created on June 13, 2026

Description

Overview

This workflow acts as an AI-powered research assistant that takes a topic from the user, performs multi-step intelligent research, and stores the final report in Notion. It uses advanced search, content extraction, and AI summarization to deliver a high-quality research report—fully automated from query to publication.

How It Works
User Interaction**
The workflow starts by asking the user what topic they want to research.
A “Strategy Agent” asks 2–3 clarifying questions to refine the scope.
Once the user confirms, it creates a Notion database page with the research title.

Search Query Generation**
Generates up to 3 relevant search queries for the given topic.

Data Gathering** (Loop over each query)
Sends the query to Tavily Search API to find the most relevant blogs/articles.
Picks the top-matched link and uses Tavily again to extract its content.
Repeats the process for all 3 queries.

Report Compilation**
Aggregates extracted content from all sources.
A Final Report Agent creates a well-structured research report in Markdown.
Converts Markdown → HTML → splits into chunks.
Pushes each chunk into the Notion report page.

Delivery**
Sends the final Notion report link back to the user.

How to Use
This workflow is triggered via Webhook.
Attach the provided webhook URL** to any application, form, or chatbot to collect the user’s topic.
Once triggered, the workflow will run automatically and deliver the research link without any manual steps.

Requirements
To use this workflow, you’ll need:
n8n account** (self-hosted or cloud)
Notion account** with a database where reports will be stored
Tavily API Key** – for search & content extraction
OpenRouter API key* *or OpenAI API key – for AI agents & report generation
Google Gemini API Key** – for converting Markdown to HTML and splitting content for Notion
Notion database ID connected in n8n

Nodes Used (10)

AI Agent
@n8n/n8n-nodes-langchain.agent
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
Notion
n8n-nodes-base.notion
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured