Block 1 - OpenAI Chat Model
- Type / Role
- @n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
- Config choices
- Version 1.2
This workflow is provided as-is. Please review and test before using in production.
Automated Research Report Generation with OpenAI, Wikipedia, Google Search, Gmail/Telegram and PDF Output Description What Problem Does This Solve? ️ This workflow automates the process of genera...
@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.toolhttprequest, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.splitout, n8n-nodes-base.code, n8n-nodes-base.googlesheets
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Immanuel.
Original n8n.io sourceThis workflow automates the process of generating professional research reports for researchers, students, and professionals. It eliminates manual research and report formatting by aggregating data, generating content with AI, and delivering the report as a PDF via Gmail or Telegram. Target audience: Researchers, students, educators, and professionals needing quick, formatted research reports.
SerpApi Google Search node, use n8n credentials for SerpApi: api_key={{ $credentials.SerpApiKey }}.Send Research PDF on Gmail node, use Gmail credentials.Send PDF to Telegram node, use Telegram bot credentials.Research AI Agent, OpenAI Chat Model, OpenAI Chat Middle Memory): Update the model (e.g., gpt-4o) and prompt as needed.Input Validation node): Ensure your input query format matches the expected structure (e.g., topic: "AI ethics").Send Research PDF on Gmail, Send PDF to Telegram): Configure recipient email or Telegram chat ID.Detailed descriptions are available in the sticky notes within the workflow screenshot above.
Test Workflow: Triggers the workflow for testing.Input Validation: Validates the input query.Query Refiner: Refines the query for better results.Research AI Agent: Coordinates research using OpenAI.OpenAI Chat Model: Generates content for the report.Structured Output Parser: Parses OpenAI output into structured data.OpenAI Chat Middle Memory: Retains context during research.Wikipedia Google Search: Fetches data from Wikipedia.SerpApi Google Search: Fetches data via SerpApi.Merge Split Items: Merges data from multiple sources.Aggregate: Aggregates all research data.Generate PDF HTML: Creates an HTML report.Convert HTML to PDF: Converts HTML to PDF.Download PDF: Downloads the PDF file.Send PDF to Telegram: Sends the PDF via Telegram.Send Research PDF on Gmail: Sends the PDF via Gmail.Merge Split Items.Generate PDF HTML node to modify the HTML template (e.g., adjust styling or sections).OpenAI Chat Model node to use a different model (e.g., gpt-3.5-turbo).This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 26 workflow blocks. Download the JSON for the full node graph.
| Workflow | Automated research report generation with AI, Wiki, Search & Gmail/Telegram |
|---|---|
| Complexity | advanced |
| Nodes | 26 |
| Categories | Content Creation, AI RAG |
| Author | Immanuel |
| Published | 16 Apr 2025 |
Use the JSON export at /data/workflows/3579/3579.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Automated Research Report Generation with OpenAI, Wikipedia, Google Search, Gmail/Telegram and PDF Output Description What Problem Does This Solve? ️ This workflow automates the process of genera...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, AI RAG use case.