Templates / Backup n8n workflows to Google Drive

Backup n8n workflows to Google Drive

Needs changes

by Angel Menendez ✓ · 23,662 views · created 2021-06-30 · DevOps

Needs changes. This template uses 4 thing(s) that n8n 3.0 removes: Convert to/from binary data, Function (legacy), Function Item (legacy), Cron. 4 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 9 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Drive.

How it runs

Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).

  1. Get Workflow List (HTTP Request): calls an HTTP API
  2. Map (Function): runs custom JavaScript (legacy Function node)
  3. Get Workflow (HTTP Request): calls an HTTP API
  4. Merge: merges the data from its input branches
  5. Function Item: runs custom JavaScript per item (legacy Function Item node)
  6. Move Binary Data (Convert to/from binary data): uses Convert to/from binary data
  7. Google Drive: uses Google Drive

Services it uses

Google Drive

Before you upgrade to n8n 3.0

4 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • Convert to/from binary data in Move Binary Data: replace with Convert to File or Extract from File.
  • Function (legacy) in Map: replace with Code node, mode 'Run Once for All Items'.
  • Function Item (legacy) in FunctionItem: replace with Code node, mode 'Run Once for Each Item'.
  • Cron in Run Daily at 2:30am: replace with Schedule Trigger.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Convert to/from binary data
Move Binary Data
Convert to File or Extract from File
Function (legacy)
Map
Code node, mode 'Run Once for All Items'
Function Item (legacy)
FunctionItem
Code node, mode 'Run Once for Each Item'
Cron
Run Daily at 2:30am
Schedule Trigger

Nodes used (8)

From the author

Temporary solution using the undocumented REST API for backups using Google drive. Please note that there are issues with this workflow. It does not support versioning, so please know that it will create multiple copies of the workflows so if you run this…

Excerpt from Angel Menendez'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.