Set Automate

Set Automate streamlines data security by automatically backing up your n8n workflows to Google Drive daily at 1:30 AM. This efficient workflow integrates scheduling, data retrieval, and secure storage, ensuring your important information is consistently protected without manual intervention.

7/8/2025
6 nodes
Medium
schedulemediumschedule triggersticky noten8ngoogle driveautomationcron
Categories:
Schedule TriggeredMedium Workflow
Integrations:
Schedule TriggerSticky NoteN8nGoogle Drive

Target Audience

This workflow is ideal for:
- Small Business Owners: Automate backups of important workflows without manual intervention.
- Freelancers: Ensure data security by regularly backing up project workflows to Google Drive.
- Developers: Streamline the process of saving and managing n8n workflows, enhancing productivity.
- Data Analysts: Keep a secure copy of data processing workflows for compliance and auditing purposes.

Problem Solved

This workflow addresses the challenge of data loss and workflow management by automating the backup of n8n workflows to Google Drive. Users can ensure that their valuable automation configurations are regularly saved, reducing the risk of losing critical data due to accidental deletion or system failures.

Workflow Steps

  • Schedule Trigger: The workflow initiates daily at 1:30 AM, ensuring backups are performed consistently.
    2. Parameters Node: Sets up essential parameters such as the target Google Drive directory and the parent drive location.
    3. Get all n8n Workflows: Retrieves all existing workflows from n8n to prepare for backup.
    4. Code Node: Converts the retrieved workflows into a base64 encoded JSON format, making it suitable for storage.
    5. Backup to Google Drive: Saves the encoded workflows as .json files in the specified Google Drive folder, providing a secure backup of all workflows.
  • Customization Guide

    To customize this workflow:
    - Change the Schedule: Modify the triggerAtHour and triggerAtMinute in the Schedule Trigger to set a different backup frequency.
    - Update Google Drive Directory: Alter the directory parameter in the Parameters node to specify a different Google Drive folder for backups.
    - Adjust Backup File Naming: Modify the name parameter in the Backup to Google Drive node to customize how backup files are named (e.g., adding timestamps).
    - Enhance Security: Integrate additional security measures, such as encrypted storage or notifications upon backup completion.