Deep Research Report Generation Using Open Router, Google Search, Webhook/Telegram and Notion
Configured with Agent, Aggregate, Chain LLM, Filter, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Data store
- Transform
- Routing
- AI & models
- Web / API
- Integration
- Code
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Telegram Trigger | Trigger | Telegram Trigger | See node parameters |
| Simple Memory | Data store | Memory Buffer Window | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| Switch | Routing | Switch | See node parameters |
| Strategy Agent | AI & models | Agent | See node parameters |
| Search Query Agent | AI & models | Agent | See node parameters |
| Structured Output Parser1 | Transform | Output Parser Structured | See node parameters |
| Split Out | Transform | Split Out | See node parameters |
| Loop Over Queries | Routing | Loop Over Items | See node parameters |
| HTTP Request | Web / API | HTTP Request | POST |
| Edit Fields | Transform | Edit Fields | See node parameters |
| OpenAI | AI & models | Open Ai | See node parameters |
| HTTP Request1 | Web / API | HTTP Request | POST |
| Aggregate | Transform | Aggregate | See node parameters |
| AI Agent | AI & models | Agent | See node parameters |
| OpenAI1 | AI & models | Open Ai | See node parameters |
| Notion | Integration | Notion | databasePage |
| Notion1 | Integration | Notion | databasePage / update |
| HTTP Request2 | Web / API | HTTP Request | PATCH |
| Convert to HTML | Transform | Markdown | See node parameters |
| HTML to Array | Transform | Edit Fields | See node parameters |
| Tags to Items | Transform | Split Out | See node parameters |
| Notion Block Generator | AI & models | Chain LLM | See node parameters |
| Google Gemini Chat Model | AI & models | LM Chat Google Gemini | See node parameters |
| Parse JSON blocks | Transform | Edit Fields | See node parameters |
| Valid Blocks | Routing | Filter | See node parameters |
| For Each Block... | Routing | Loop Over Items | See node parameters |
| Get Existing Row | Integration | Notion | databasePage / getAll |
| Code | Code | Code | See node parameters |
| Aggregate1 | Transform | Aggregate | See node parameters |
| OpenRouter Chat Model | AI & models | LM Chat Open Router | See node parameters |
| OpenRouter Chat Model1 | AI & models | LM Chat Open Router | See node parameters |
| OpenRouter Chat Model2 | AI & models | LM Chat Open Router | See node parameters |
| Webhook | Trigger | Webhook | See node parameters |
| Respond to Webhook | Web / API | Respond To Webhook | See node parameters |
| Respond to Webhook1 | Web / API | Respond To Webhook | See node parameters |
| HTTP Request3 | Web / API | HTTP Request | POST |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
None declared. HTTP requests and Code nodes may still need configuration.
Workflow notes
Workflow Overview
Workflow Overview
This workflow automates the process of research planning, query generation, web search, content extraction, and report creation. It integrates with Webhook, Notion, OpenAI, and external APIs.
Main Steps
- Trigger: Starts from a Telegram message or Webhook.
- Strategy Agent: Asks the user for a research topic and clarifies requirements.
- Query Generation: Generates SERP queries for the research topic.
- Web Search: Uses Tavily API to fetch search results for each query.
- Content Extraction: Extracts content from the most relevant URLs.
- Report Generation: Uses AI to synthesize a detailed report in markdown.
- Notion Integration: Saves the report and metadata to a Notion database.
- Notification: Notifies the user when the report is ready.
Key Nodes
- Trigger: Listens for new messages.
- Strategy Agent: Handles user interaction and planning.
- Search Query Agent: Generates search queries.
- HTTP Request: Fetches search results and extracts content.
- OpenAI/AI Agent: Processes and synthesizes information.
- Notion: Stores the final report.
- Sticky Note: Use this to add or update instructions.
Tips
- Update credentials for all API nodes before running.
- You can edit or move Sticky Notes for better documentation.
- Use the Switch node to handle user confirmations and feedback.
- Optionally use Telegram or any other third party integration to trigger the workflow.
Deep Research Report Generation Using Open Router, Google Search, Webhook/Telegram and Notion
Deep Research Report Generation Using Open Router, Google Search, Webhook/Telegram and Notion
Purpose and structure
This folder contains the Deep Research Report Generation Using Open Router, Google Search, Webhook/Telegram and Notion workflow. Its executable nodes use agent, aggregate, chainLlm, code, filter, httpRequest, lmChatGoogleGemini, lmChatOpenRouter, markdown, memoryBufferWindow, notion, openAi, outputParserStructured, respondToWebhook, set, splitInBatches, splitOut, switch, telegramTrigger, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Telegram Trigger, Webhook
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Deep/2054_Deep_Research_Report_Generation_With_Open_Router_Google_Search_Webhook_Telegram_and_Notion.json MIT; preserve source notices.