Block 1 - Convert Files To JSON
- Type / Role
- n8n-nodes-base.extractFromFile - extractFromFile
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
This n8n workflow template uses community nodes and is only compatible with the self hosted version of n8n. Restore n8n Credentials from Google Drive Backup This template enables you to restore you...
n8n-nodes-base.extractfromfile, n8n-nodes-base.if, n8n-nodes-base.n8n, n8n-nodes-base.googledrive, n8n-nodes-base.executecommand, n8n-nodes-base.code, n8n-nodes-base.aggregate, n8n-nodes-base.splitout
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Daniel Ng.
Original n8n.io sourceThis n8n workflow template uses community nodes and is only compatible with the self-hosted version of n8n.
This template enables you to restore your n8n credentials from a backup file in Google Drive. It's an essential companion to a credential backup workflow, ensuring you can recover your setup in case of data loss, instance migration, or disaster recovery. The workflow intelligently checks for existing credentials to prevent accidental overwrites of credentials with the same name that are already present. This workflow is manually triggered.
We recommend you use this restore workflow in conjunction with a backup solution like our "Auto Backup Credentials to Google Drive" template.
For more powerful n8n templates, visit our website or contact us at AI Automation Pro. We help your business build custom AI workflow automation and apps.
This workflow is for n8n administrators and users who have backed up their n8n credentials to Google Drive (e.g., using a companion backup template) and need to restore them to the same or a different n8n instance. It's crucial for those managing self-hosted instances.
If an n8n instance becomes corrupted, needs to be migrated, or if credentials are accidentally deleted, a manual re-creation of all credentials can be extremely time-consuming and error-prone. This workflow automates the restoration process from a known backup, saving significant time and ensuring accuracy. It's particularly useful for:
The workflow is manually triggered and performs the following operations:
npx n8n export:credentials --all --decrypted via the "Execute Command Get All Credentials" node to get a list of all credentials currently in your n8n instance. n8n_backup_credentials.json file. $('Loop Over Items').item.json.name) is empty. name, type, and data for each new credential from the backup file to create it in the n8n instance. Credentials with empty names or those already present are skipped as they take the true path of the IF node, which loops back. npx and n8n-cli for the "Execute Command Get All Credentials" node to function.n8n_backup_credentials.json in the "Google Drive Get Credentials File" node. If your backup file has a different name or you want to specify a path, update the "Query String" parameter in this node.n8n_backup_credentials.json file contains decrypted credential data, typically created by a companion backup workflow. npx n8n-cli access on the server running n8n.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.
| Workflow | Restore and recover n8n credentials from Google Drive backups with duplication protection |
|---|---|
| Complexity | intermediate |
| Nodes | 14 |
| Categories | DevOps |
| Author | Daniel Ng |
| Published | 30 May 2025 |
Use the JSON export at /data/workflows/4518/4518.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
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.
This n8n workflow template uses community nodes and is only compatible with the self hosted version of n8n. Restore n8n Credentials from Google Drive Backup This template enables you to restore you...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
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 DevOps use case.