Auto-Backup n8n Workflows to OneDrive with Cleanup & Email Notifications
    100%
    Data Processing
    0(0 reviews)
    1 downloads

    Auto-Backup n8n Workflows to OneDrive with Cleanup & Email Notifications

    NM

    Curated by n8n Markets team

    Last updated: June 28, 2026

    ## Automatically BackUp Your n8n Workflows to OneDrive This workflow automates the backup of your self-hosted n8n instance by exporting all workflows and saving them as individual `.json` files to a designated OneDrive folder. Each file is timestamped for easy versioning and audit tracking. After a successful backup, the workflow optionally cleans up old backup files and sends a confirmation email to notify you that the process completed. ## How it works 1. Uses the HTTP Request node to fetch all workflows via the `/rest/workflows` API. 2. Iterates through each workflow using SplitInBatches. 3. Converts each workflow to a `.json` file using Set and Function nodes. 4. Uploads each file to a target Microsoft OneDrive folder using OAuth2. 5. Deletes old backup files from OneDrive after upload, with the option to keep backups for a configurable number of time. 6. Sends an email notification once all backups have completed successfully. ## Setup instructions - Enter your n8n Base URL and authentication details in the HTTP Request node. - Set up Microsoft OneDrive OAuth2 credentials for cloud upload. - Configure the Email node with SMTP credentials to receive backup confirmation. - (Optional) Adjust the file retention logic to keep backups for a set duration. - A Cron trigger to schedule the workflow automatically (e.g., daily or weekly). ๐Ÿ‘‰ Sticky notes inside the workflow explain each step for easy setup. ## Need Help - ## Need Help ๐Ÿ”— [LinkedIn โ€“ Wessel Bulte](https://www.linkedin.com/in/wessel-bulte/)

    What's Included

    • Complete n8n workflow template with 0 nodes. Ready to import and customize.

    Requirements

    n8n instance (self-hosted or cloud). credentials.

    How to Use

    1. Download the workflow JSON 2. Import into your n8n instance 3. Configure credentials for 4. Activate and enjoy automation

    Apps in this n8n workflow

    How to import this template into n8n

    1. Download the workflow JSON file from this page.
    2. In n8n, open Workflows, create a new workflow and choose Import from File.
    3. Open each node that shows a warning and connect your own credentials.
    4. Run the workflow once manually to check the output before you activate it.
    Included in Pro
    • Importable n8n workflow JSON file
    • Download with Builder Pro or Agency Unlimited
    • Built for n8n v1.0++
    • Setup time: 5-15 min

    Included in Builder Pro โ€” $19/mo, 4,177 premium workflows

    Before you activate

    Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.

    Updated Jun 2026
    v1.0
    SSL
    Secure
    GDPR

    100% Secure Checkout

    Refund requests within 7 days of a new subscription

    Dependencies & Requirements

    HTTP Request
    Integration

    โš ๏ธ 1 service require credentials. Make sure you have accounts set up before importing.

    Reviews

    0

    No reviews yet

    See all 0 reviews โ†“
    โ€”

    0 reviews

    5โ˜…
    0
    4โ˜…
    0
    3โ˜…
    0
    2โ˜…
    0
    1โ˜…
    0

    No reviews yet.

    Questions & Answers

    0

    Log in to ask a question.

    No questions yet. Be the first to ask!

    People Also Bought