Templates / Load and aggregate files from a Google Drive folder into a key-value dictionary

Load and aggregate files from a Google Drive folder into a key-value dictionary

Ready for 3.0

by Hugues Stock ✓ · 2,018 views · created 2025-04-03 · Document Extraction, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 5 nodes and runs when another workflow calls it. Along the way it connects Google Drive and Google Docs.

How it runs

Trigger: When another workflow calls it.

  1. Get files from folder (Google Drive): work with file folder
  2. Download Google Docs (Google Docs): get
  3. Mapping (Edit Fields (Set)): sets or maps fields
  4. Code: runs custom JavaScript code

Services it uses

Google DriveGoogle Docs

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

What does this template do? This workflow automates the process of retrieving all Google Docs from a specified Google Drive folder, extracting their content, and structuring the data into a unified key-value dictionary, where: - Key = The file name - Value =…

Excerpt from Hugues Stock's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.