Skip to main content

Google Sheets duplication & enrichment automation

Workflow preview

Workflow preview
100%
Google Sheets duplication & enrichment automation preview
Open on n8n.io

Important notice

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

1. Workflow Overview

How it Works This workflow reads sheet details from a source Google Spreadsheet, creates a new spreadsheet, replicates the sheet structure, enriches the content by reading data, and writes it into ...

Best for

  • Document Extraction automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, 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 Amit Mehta.

Original n8n.io source

1.1 Workflow description

Title
Google Sheets duplication & enrichment automation
Workflow name
Google Sheets duplication & enrichment automation

How it Works

This workflow reads sheet details from a source Google Spreadsheet, creates a new spreadsheet, replicates the sheet structure, enriches the content by reading data, and writes it into the corresponding sheets in the new spreadsheet. The process is looped for every sheet, providing an automated way to duplicate and transform structured data.

🎯 Use Case

  • Automate duplication and data enrichment for multi-sheet Google Spreadsheets
  • Replicate templates across new documents with consistent formatting
  • Data team workflows requiring repetitive structured Google Sheets setup

Setup Instructions

1. Required Google Sheets

  • You must have a source spreadsheet with multiple sheets.
  • The destination spreadsheet will be created automatically.

2. API Credentials

  • Google Sheets OAuth2 – connect to both read and write spreadsheets.
  • HTTP Request Auth – if external API headers are needed.

3. Configure Fields in Write Sheet

  • Ensure you define appropriate columns and mapping for the destination sheet.

πŸ” Workflow Logic

  1. Manual Trigger: Starts the flow on user demand.
  2. Create New Spreadsheet: Generates a blank spreadsheet.
  3. HTTP Request: Retrieves all sheet names from the source spreadsheet.
  4. JavaScript Code: Extracts titles and metadata from the HTTP response.
  5. Loop Over Sheets: Iterates through each sheet retrieved.
  6. Delete Default Sheet: Removes the placeholder 'Sheet1'.
  7. Create Sheets: Replicates each original sheet in the new document.
  8. Read Spreadsheet1: Pulls data from the matching original sheet.
  9. Write Sheet: Appends the data to the newly created sheets.

🧩 Node Descriptions

Node Name Description
Manual Trigger Starts the workflow manually by user test.
Create New Spreadsheet Creates a new Google Spreadsheet for output.
HTTP Request Fetches metadata from the source spreadsheet including sheet names.
Code Processes sheet metadata into a list for iteration.
Loop Over Items Loops over each sheet to replicate and populate.
Google Sheets2 Deletes the default 'Sheet1' from the new spreadsheet.
Create Sheets Creates a new sheet matching each source sheet.
Read Spreadsheet1 Reads data from the source sheet.
Write sheet Writes the data into the corresponding new sheet.

πŸ› οΈ Customization Tips

  • Adjust the Google Sheet title to be dynamic or user-input driven
  • Add filtering logic before writing data
  • Append custom audit columns like 'Timestamp' or 'Processed By'
  • Enable logging or Slack alerts after each sheet is created

πŸ“Ž Required Files

File Name Purpose
My_workflow_4.json Main workflow JSON file for sheet duplication and enrichment

πŸ§ͺ Testing Tips

  • Test with a spreadsheet containing 2–3 simple sheets
  • Validate whether all sheets are duplicated
  • Check if columns and data structure remain intact
  • Watch for authentication issues in Google Sheets nodes

🏷 Suggested Tags & Categories

#GoogleSheets #Automation #DataEnrichment #Workflow #Spreadsheet

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 - Workflow Overview

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

Block 2 - Start & Create

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

Block 3 - Sheet Discovery

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

Block 4 - Loop Processing

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

Block 5 - Sheet Operations

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

Block 6 - Important Notes

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

Block 7 - When clicking 'Test workflow'

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

Block 8 - HTTP Request

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Code

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

Block 10 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Create Sheets

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

Block 12 - Write sheet

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

Block 13 - Google Sheets2

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

Block 14 - Read Spreadsheet1

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

Block 15 - Create New Spreadsheet

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

3. Summary Table

Workflow Google Sheets duplication & enrichment automation
Complexity advanced
Nodes 15
Categories Document Extraction
Author Amit Mehta
Published 11 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4865/4865.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 Google Sheets duplication & enrichment automation do?

How it Works This workflow reads sheet details from a source Google Spreadsheet, creates a new spreadsheet, replicates the sheet structure, enriches the content by reading data, and writes it into ...

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 Document Extraction use case.