Templates / Back up n8n workflows to google drive while preserving folder structure

Back up n8n workflows to google drive while preserving folder structure

Ready for 3.0

by Adam ABDELMOUMNI · 208 views · created 2026-02-06 · DevOps

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 154 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects Google Drive and Google Sheets.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. n8n instance/project access details (Edit Fields (Set)): sets 3 fields: n8n_instance_URL, emailOrLdapLoginId, password
  2. n8n instance/project access details (Edit Fields (Set)): sets 3 fields: n8n_instance_URL, emailOrLdapLoginId, password
  3. n8n login API (HTTP Request): calls an HTTP API (POST)
  4. n8n login API (HTTP Request): calls an HTTP API (POST)
  5. n8n-auth for n8n API (Edit Fields (Set)): sets 1 field: n8n-auth
  6. n8n-auth for n8n API (Edit Fields (Set)): sets 1 field: n8n-auth
  7. get projectId (HTTP Request): calls an HTTP API
  8. get subfolder(s) structure (HTTP Request): calls an HTTP API
  9. get projectId (HTTP Request): calls an HTTP API
  10. create n8n table "folders" (HTTP Request): calls an HTTP API (POST)

…plus 142 more steps. See the full node list below.

Services it uses

Google DriveGoogle Sheets

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (18)

From the author

Back up & restore n8n workflows with preserved folder structure with GoogleDrive A. Backup workflows solution to google Drive ✅ What problem does this workflow solve? If you’re building and managing multiple automations with well-organized nested folders…

Excerpt from Adam ABDELMOUMNI'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.