Leverage this powerful n8n workflow to automate web research. Scrape articles using Decodo, utilize Google Gemini AI for structured summaries, and save indexed insights directly to Google Sheets.
Download this n8n workflow template and start using it instantly.
-
Researchers and Analysts who need to quickly process large lists of articles.
Content Creators seeking structured insights and content ideas from external resources.
Technical users looking for advanced n8n templates integrating web scraping and AI.
Knowledge Managers building indexed research databases using n8n and Google Sheets.
Managing high volumes of web research often involves tedious copy-pasting and manual structuring. This specialized n8n workflow solves this by providing end-to-end automation for knowledge extraction. The core value of this n8n template lies in its ability to standardize unstructured web content. It reads URLs from a Google Sheet, efficiently scrapes the full text using the Decodo n8n node, cleans the HTML into readable text via a custom script, and then submits this content to an AI agent (powered by Google Gemini) for intelligent analysis. The AI is meticulously prompted to return a fixed JSON schema containing critical metadata like topic, summary, key insights, resource type, and publication date. This makes the resulting data immediately useful for dashboards, internal reports, or content generation, making this n8n workflow an essential tool for automated intelligence gathering.
This comprehensive n8n workflow begins with a simple execution n8n trigger. Once activated:
To deploy this powerful n8n template, follow these steps:
input sheet (containing a column named url with the links you wish to scrape) and an output sheet (where results will be saved).input for reading, output for writing) are selected.This n8n workflow relies on several specialized n8n node types:
When clicking ‘Execute workflow’ (Manual Trigger n8n trigger):
Function: Starts the n8n workflow manually for batch processing.
Key Configuration: Simple manual start for quick testing and research runs.
Get row(s) in sheet (Google Sheets n8n node):
Function: Retrieves the list of URLs from the input spreadsheet.
Key Configuration: Reads all rows from the specified 'input' sheet using a linked Google Sheets credential.
Decodo (Decodo n8n node):
Function: Performs robust, universal web scraping to bypass common anti-bot measures and extract high-quality raw content.
Key Configuration: Operation set to universal to get the maximum content from the URL supplied by the loop.
Code in JavaScript (n8n node):
Function: Cleans the raw Decodo HTML output. Contains functions to strip HTML, scripts, and styles, converting the article body into clean text suitable for LLM analysis.
Key Configuration: Custom JavaScript code extracts url, fuente (source domain), titulo (extracted title), and articletext (cleaned text).
AI Agent (Langchain n8n node):
Function: Orchestrates the LLM to execute a specific task: structured data extraction and summarization based on a detailed system prompt.
Key Configuration: Uses a highly detailed prompt instructing the AI to return ONLY a JSON object with specific mandatory keys (shortsummary, threekeyinsights, maintopic, etc.).
Google Gemini Chat Model (Langchain n8n node):
Function: Provides the underlying large language model capability for the AI Agent.
Key Configuration: Connected as the chat model service for the AI Agent n8n node.
Code in JavaScript1 (n8n node):
Function: Parses the raw JSON string output generated by the AI agent into a usable structured object within the n8n workflow.
Key Configuration: Attempts JSON parsing and maps the resulting data fields (title, summary, topic) back into the main n8n item structure.
Append row in sheet (Google Sheets n8n node):
Function: Writes the final, summarized, and structured data into the designated output sheet.
Key Configuration: Mapping defines which structured fields (e.g., {{ $json.title }}, {{ $json.shortsummary }}) map to which columns in the output sheet.
Use this advanced n8n workflow to automate multi-source web scraping (Brave, Firecrawl, Apify) via a Gemini agent and instantly format structured data into a comprehensive Google Sheets report. A powerful n8n template for data analysis.

Use this powerful n8n workflow template to crawl websites, convert HTML content to clean Markdown, and automatically store the structured data in Google Sheets, ideal for building RAG or AI training datasets.

Deploy this powerful n8n workflow to scrape web content, enhance articles using OpenAI, watermark images, and automatically publish professional posts to your Telegram channel.

Use this powerful n8n workflow template to crawl full website sitemaps, reliably extract content using direct HTTP requests, apply respectful rate limiting, and save the formatted, structured Markdown files directly into Google Drive. Perfect for content archiving.

Create a powerful n8n Agent that interprets complex search requests, generates Firecrawl query strings, and extracts structured data including full-page screenshots using this robust n8n workflow template.

CRM consultant and content creator helping businesses streamline customer management, automate workflows, and boost growth through smart integration







































