Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.3
This workflow is provided as-is. Please review and test before using in production.
️ IMPORTANT: This template requires self hosted n8n hosting due to the use of community nodes (MCP tools). It will not work on n8n Cloud. Make sure you have access to a self hosted n8n instance be...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-mcp.mcpclienttool, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheets, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by franck fambou.
Original n8n.io source⚠️ IMPORTANT: This template requires self-hosted n8n hosting due to the use of community nodes (MCP tools). It will not work on n8n Cloud. Make sure you have access to a self-hosted n8n instance before using this template.
This workflow automation allows a Google Gemini-powered AI Agent to orchestrate multi-source web intelligence using MCP (Model Context Protocol) tools such as Firecrawl, Brave Search, and Apify.
The system allows users to interact with the agent in natural language, which then leverages various external data collection tools, processes the results, and automatically organizes them into structured spreadsheets.
With built-in memory, flexible tool execution, and conversational capabilities, this workflow acts as a multi-agent research assistant, capable of retrieving, synthesizing, and delivering actionable insights in real time.
User Interaction A chat message is received and forwarded to the AI Agent.
AI Orchestration The agent, powered by Google Gemini, decides which MCP tools to invoke based on the query.
Memory Management A memory module stores context across conversations, ensuring multi-turn reasoning and task continuity.
Spreadsheet automation Results are structured in a new, automatically created Google Spreadsheet, enriched with formatting and additional metadata.
Data processing The workflow generates the spreadsheet content, updates the sheet, and improves results via HTTP requests and field edits.
Delivery of results Users receive a structured and contextualized dataset ready for review, analysis, or integration into other systems.
Estimated setup time: 45 minutes
Firecrawl-MCP Configuration:
@n8n/n8n-nodes-firecrawl-mcp packageBrave-MCP configuration:
@n8n/n8n-nodes-brave-mcp packageApify-MCP configuration:
@n8n/n8n-nodes-apify-mcp package“Create Spreadsheet” node:
“Generate Spreadsheet Content” node:
“Update Spreadsheet” node:
“Data Enrichment Request” node (formerly “HTTP Request1”):
“Edit Fields” node:
| Column | Description | Type |
|---|---|---|
| URL | Data source URL | Hyperlink |
| Title | Page/resource title | Text |
| Description | Description or content excerpt | Long text |
| Source | MCP tool used (Brave/Firecrawl/Apify) | Text |
| Timestamp | Date/time of collection | Date/Time |
| Metadata | Additional data (JSON) | Text |
User query → AI agent (Gemini) → MCP tools (Firecrawl / Brave / Apify) → Aggregated results → Spreadsheet creation → Data processing → Results delivery
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.
| Workflow | Web research assistant: automated search & scraping with Gemini AI and spreadsheet reports |
|---|---|
| Complexity | advanced |
| Nodes | 23 |
| Categories | Market Research, AI Chatbot |
| Author | franck fambou |
| Published | 03 Sept 2025 |
Use the JSON export at /data/workflows/8218/8218.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.
️ IMPORTANT: This template requires self hosted n8n hosting due to the use of community nodes (MCP tools). It will not work on n8n Cloud. Make sure you have access to a self hosted n8n instance be...
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 Market Research, AI Chatbot use case.