Automated Backup of n8n Workflows to Google Drive

somdn_product_page

This n8n workflow automates the process of retrieving, processing, and backing up n8n workflows to Google Drive.

Starting with a manual trigger or a scheduled daily run at 2:30 am, the workflow fetches the list of all workflows from a local n8n instance via HTTP requests. It then maps the workflow data to prepare for detailed retrieval of each workflow. For every workflow, it makes an API call to get the specific workflow details, processes the data, and moves the binary data to be compatible with Google Drive’s upload requirements.

Finally, the workflow uploads each workflow JSON file as a backup to a designated Google Drive folder. This automation is ideal for maintaining regular, automated backups of your n8n workflows, ensuring they are safely stored and easily recoverable.

Use cases include scheduled backups, manual backups before major updates, or integrating workflow management into larger automation systems.

Node Count

6 – 10 Nodes

Nodes Used

cron, function, functionItem, googleDrive, httpRequest, manualTrigger, merge, moveBinaryData

Reviews

There are no reviews yet.

Be the first to review “Automated Backup of n8n Workflows to Google Drive”

Your email address will not be published. Required fields are marked *