Skip to main content

Automated structured data extract & summary via Decodo + Gemini & Google Sheets

Workflow preview

Workflow preview
100%
Automated structured data extract & summary via Decodo + Gemini & Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who this is for This workflow is designed for: Automation engineers building AI powered data pipelines Product managers & analysts needing structured insights from web pages Researchers & content t...

Best for

  • HR automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.stickynote, @decodo/n8n-nodes-decodo.decodo, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.code, n8n-nodes-base.merge, n8n-nodes-base.googlesheets

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Ranjan Dailata.

Original n8n.io source

1.1 Workflow description

Title
Automated structured data extract & summary via Decodo + Gemini & Google Sheets
Workflow name
Automated structured data extract & summary via Decodo + Gemini & Google Sheets

Who this is for

This workflow is designed for:

  • Automation engineers building AI-powered data pipelines

  • Product managers & analysts needing structured insights from web pages

  • Researchers & content teams extracting summaries from documentation or articles

  • HR, compliance, and knowledge teams converting unstructured web content into structured records

  • n8n self-hosted users leveraging advanced scraping and LLM enrichment

It is ideal for anyone who wants to transform any public URL into structured data + clean summaries automatically.

What problem this workflow solves

Web content is often unstructured, verbose, and inconsistent, making it difficult to:

  • Extract structured fields reliably

  • Generate consistent summaries

  • Reuse data across spreadsheets, dashboards, or databases

  • Eliminate manual copy-paste and interpretation

This workflow solves the problem of turning arbitrary web pages into machine-readable JSON and human-readable summaries, without custom scrapers or manual parsing logic.

What this workflow does

The workflow integrates Decodo, Google Gemini, and Google Sheets to perform automated extraction of structured data.

Here’s how it works step-by-step:

  1. Input Setup

    • The workflow begins when the user executes it manually or passes a valid URL.
    • The input includes url.
  2. Profile Extraction with Decodo

  • Accepts any valid URL as input

  • Scrapes the page content using Decodo

Uses Google Gemini to:

  • Extract structured data in JSON format

  • Generate a concise, factual summary

  • Cleans and parses AI-generated JSON safely

  • Merges structured data and summary output

  • Stores the final result in Google Sheets for reporting or downstream automation

  1. JSON Parsing & Merging

    • The Code Node cleans and parses the JSON output from the AI for reliable downstream use.
    • The Merge Node combines both structured data and the AI-generated summary.
  2. Data Storage in Google Sheets

    • The Google Sheets Node appends or updates the record, storing the structured JSON and summary into a connected spreadsheet.
  3. End Output

    • A unified, machine-readable data in JSON + an executive-level summary suitable data analysis or downstream automation.

Setup Instructions

Prerequisites

If you are new to Decode, please signup on this link visit.decodo.com

  • n8n account with workflow editor access
  • Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard

  • Google Gemini (PaLM) API access
  • Google Sheets OAuth credentials

Setup Steps

  1. Import the workflow into your n8n instance.

  2. Configure Credentials

    • Add your Decodo API credentials in the Decodo node.
    • Connect your Google Gemini (PaLM) credentials for both AI nodes.
    • Authenticate your Google Sheets account.
  3. Edit Input Node

    • In the Set the Input Fields node, replace the default URL with your desired profile or dynamic data source.
  4. Run the Workflow

    • Trigger manually or via webhook integration for automation.
    • Verify that structured profile data and summary are written to the linked Google Sheet.

How to customize this workflow to your needs

You can easily extend or adapt this workflow:

Modify Structured Output

  • Change the Gemini extraction prompt to match your own JSON schema
  • Add required fields such as authors, dates, entities, or metadata

Improve Summarization

  • Adjust summary length or tone (technical, executive, simplified)
  • Add multi-language summarization using Gemini

Change Output Destination

  • Replace Google Sheets with:

    • Databases (Postgres, MySQL)
    • Notion
    • Slack / Email
    • File storage (JSON, CSV)

Add Validation or Filtering

  • Insert IF nodes to:

    • Reject incomplete data
    • Detect errors or hallucinated output
    • Trigger alerts for malformed JSON

Scale the Workflow

  • Replace manual trigger with:

    • Webhook
    • Scheduled trigger
    • Batch URL processing

Summary

This workflow provides a powerful, generic solution for converting unstructured web pages into structured, AI-enriched datasets.

By combining Decodo for scraping, Google Gemini for intelligence, and Google Sheets for persistence, it enables repeatable, scalable, and production-ready data extraction without custom scrapers or brittle parsing logic.

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Execute workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Decodo

Type / Role
@decodo/n8n-nodes-decodo.decodo - decodo
Config choices
Version 1

Block 4 - Set the Input Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 5 - Structured Data Extractor

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 6 - Extract the JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Summarize Content

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 8 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 10 - Append or update row in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 11 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Google Gemini Chat Model for Summary

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 13 - Google Gemini Chat Model for Structured Data

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

3. Summary Table

Workflow Automated structured data extract & summary via Decodo + Gemini & Google Sheets
Complexity intermediate
Nodes 13
Categories HR, AI Summarization
Author Ranjan Dailata
Published 16 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9789/9789.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Automated structured data extract & summary via Decodo + Gemini & Google Sheets do?

Who this is for This workflow is designed for: Automation engineers building AI powered data pipelines Product managers & analysts needing structured insights from web pages Researchers & content t...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 HR, AI Summarization use case.