{
  "id": "s36GJ57oVD5zPz5h",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Workflow Organizer Consolidated Google Drive - Template",
  "tags": [
    {
      "id": "9QxRRHaFYSiXJ25j",
      "name": "Standard-Template",
      "createdAt": "2026-04-13T23:37:37.093Z",
      "updatedAt": "2026-04-13T23:37:37.093Z"
    },
    {
      "id": "D4UFmj5kzSpGdH5U",
      "name": "v1",
      "createdAt": "2026-04-14T05:55:31.970Z",
      "updatedAt": "2026-04-14T05:55:31.970Z"
    },
    {
      "id": "u2Zf7F4Fj1uPzjeQ",
      "name": "ZMGIT",
      "createdAt": "2026-03-14T13:30:15.728Z",
      "updatedAt": "2026-03-14T13:30:15.728Z"
    }
  ],
  "nodes": [
    {
      "id": "b84b57e2-d077-4d64-a36b-e27769f60b80",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1904,
        1024
      ],
      "parameters": {
        "width": 1344,
        "height": 1952,
        "content": "## WORKFLOW INTRODUCTION\nThis automation organizes and consolidates your n8n workflows into categorized JSON files (Active, Template, Done, Archived) and uploads them directly to a Google Drive folder. It is designed to help users manage large instances by creating organized, human-readable backups.\n\n## HOW IT WORKS\n* **API Connection:** Connects to your n8n instance using the internal API.\n* **Categorization:** Groups workflows by status and tags.\n* **WIP Logic:** Any workflow without a specific status or tag is automatically routed to a work-in-progress consolidation file.\n* **Cloud & Self-Hosted Ready:** Works for both n8n Cloud and self-hosted instances.\n\n## WORKFLOW PROCESS OVERVIEW\nFetch -> Filter -> Convert -> Upload -> Wait 5 seconds \nSee below for a full breakdown.\n\n\n------------------------------\n\n## USAGE GUIDE & SETUP\n1. This workflow is dependent on the n8n internal statuses of Active and Archived, and the tags \"Template\" and \"Done\". \n2. Anything that is not Active, Archived, or labeled Template or Done, is considered a work-in-progress by default.\n3. To make this workflow work for you please tag your templates as Template, and your completed projects as Done.\n\n## PRE-REQS\nA pre-designated Google Drive folder (and its ID) for housing the folders and files created by this workflow\n\n## REQUIRED CREDENTIALS\n1. Google Drive account\n2. N8N account > N8N API Key\n\n## THE CONFIGURATION NODE\n1. Input the ID of your pre-designated Google Drive folder\n2. Input the base URL of your N8N instance (e.g. https://subdomain.app.n8n.cloud, https://n8n.domain.com, http://localhost:5678)\n2a. Do **NOT** include anything after the \".cloud\", \".com\", or the \":5678\"\n\n## API KEY INSTRUCTIONS\nHow to get: Settings -> API -> Create API Key -> Name it -> Copy it \n_**Note: Copy the API key and save it somewhere secure. You won't be able to see it again!!**_\n\nHow to use (Two Methods): **Note: The node is set up for Method 2 by default**\n**Method 1 (Quick Start-Direct Insertion)**. In the Workflows node: \n  - Authentication: None \n  - Send Headers: on\n  - Name: X-N8N-API-KEY\n  - Value: [YOUR N8N API KEY]\n-**Note:** Queries and Body are not needed for this method._\n\n\n**Method 2 (Best Practice-N8N Credential)**. In the Workflows node:\n  - Authentication: Generic Credential Type \n  - Generic Auth Type: Header Auth\n  - Header Auth: Select \"Create new credential\" (**NOTE:** If you already have a Header Auth for your N8N API key select it here)\n  2a. In the credential creation area: \n    - Name: X-N8N-API-KEY \n    - Value: [YOUR N8N API KEY]\n_**Note:** Queries, Header, and Body are not needed for this method._\n\n------------------------------\n\n## WORKFLOW PROCESS BREAKDOWN (after configuration)\n1. Creates a Google Drive folder to house the resulting files\n2. Grabs your workflows from the public API\n3. Splits out the workflows into individual items for easier processing\n4. Filters out the Active workflows (True: a-d; False: Go to 5)\n4a. Sorts the active workflows by name\n4b. Converts the active workflows into a single JSON file\n4c. Uploads the active JSON file to the folder created in Step 1.\n4d. Wait 5 seconds to avoid errors caused by the Google spam upload detector\n5. Filters out the Not Archived workflows (True: Go to 6; False: a-d)\n5a. Sorts the archived workflows by name\n5b. Converts the archived workflows into a single JSON file\n5c. Uploads the archived JSON file to the folder created in Step 1.\n5d. Wait 5 seconds to avoid errors caused by the Google spam upload detector\n6. Filters out the workflows tagged \"Template\" (True: a-d; False: Go to 7)\n6a. Sorts the template workflows by name\n6b. Converts the template workflows into a single JSON file\n6c. Uploads the template JSON file to the folder created in Step 1.\n6d. Wait 5 seconds to avoid errors caused by the Google spam upload detector\n7. Filters out the workflows tagged \"Done\" (True: a-d; False: e-g)\n7a. Sorts the done workflows by name\n7b. Converts the done workflows into a single JSON file\n7c. Uploads the done JSON file to the folder created in Step 1.\n7d. Wait 5 seconds to avoid errors caused by the Google spam upload detector\n7e. Sorts the work-in-progress workflows by name\n7f. Converts the work-in-progress workflows into a single JSON file\n7g. Uploads the work0in-progress JSON file to the folder created in Step 1.\n7h. Wait 5 seconds to avoid errors caused by the Google spam upload detector"
      },
      "typeVersion": 1
    },
    {
      "id": "4c253351-ffda-456c-ba37-0e769c7e606d",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1312,
        2096
      ],
      "parameters": {
        "color": 2,
        "height": 208,
        "content": "## Select Method 1 or Method 2 in the API Key Instructions and modify this node accordingly"
      },
      "typeVersion": 1
    },
    {
      "id": "a4fbf0c4-a103-472d-a4d5-184a80e4afe3",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        2128
      ],
      "parameters": {
        "color": 2,
        "content": "## Edit googleFolderId and n8nUrl"
      },
      "typeVersion": 1
    },
    {
      "id": "9659714e-378f-4a10-9325-ecf8e4633162",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        1824
      ],
      "parameters": {
        "color": 4,
        "height": 288,
        "content": "## Configuration \n This node sets the Google Drive folder ID and the N8N base URL for the Create Folder and Workflows nodes."
      },
      "typeVersion": 1
    },
    {
      "id": "1172d89e-6d3b-4698-b32b-8c4549f98067",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        496,
        1808
      ],
      "parameters": {
        "color": 7,
        "height": 480,
        "content": "## Global Actions \n Start the workflow via Schedule or onCommand"
      },
      "typeVersion": 1
    },
    {
      "id": "14559c8b-a2bf-42ff-9467-f47da85c7da6",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2016,
        1424
      ],
      "parameters": {
        "color": 7,
        "width": 672,
        "height": 272,
        "content": "## Active\nSort, Convert, Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "797547ce-4cc5-49d6-be4a-3aee4d9295ab",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2496,
        1696
      ],
      "parameters": {
        "color": 7,
        "width": 624,
        "height": 224,
        "content": "## Templates \nSort, Convert, Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "68a10499-c40b-4d37-9fe2-75909c08fbe9",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2704,
        1936
      ],
      "parameters": {
        "color": 7,
        "width": 576,
        "height": 240,
        "content": "## Done\nSort, Convert, Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "01536b1e-283c-45b8-93fa-477a0fd42462",
      "name": "Sticky Note22",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2688,
        2192
      ],
      "parameters": {
        "color": 7,
        "width": 576,
        "height": 256,
        "content": "## Work-in-progress\nSort, Convert, Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "fb7985f9-330d-405e-8667-3ea6715aa31a",
      "name": "Sticky Note23",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2240,
        2448
      ],
      "parameters": {
        "color": 7,
        "width": 640,
        "height": 256,
        "content": "## Archived\nSort, Convert, Upload"
      },
      "typeVersion": 1
    },
    {
      "id": "3c76f35e-019c-452e-8e45-4c7540c44873",
      "name": "Sticky Note24",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1120,
        1840
      ],
      "parameters": {
        "color": 7,
        "width": 640,
        "height": 288,
        "content": "## Initial Steps \n Create folder, Collect workflows, Split out workflows"
      },
      "typeVersion": 1
    },
    {
      "id": "5f8a8508-337c-4425-bb9b-087355b20814",
      "name": "Sticky Note25",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1808,
        1904
      ],
      "parameters": {
        "color": 7,
        "width": 864,
        "height": 320,
        "content": "## Filters"
      },
      "typeVersion": 1
    },
    {
      "id": "b8658c9c-64cf-4270-997e-25dd19c85d5d",
      "name": "Sticky Note26",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -544,
        1104
      ],
      "parameters": {
        "color": 3,
        "width": 960,
        "height": 176,
        "content": "## LIMITATIONS\n1. N8N Cloud users on a trial account cannot generate or use the N8N API key.\n\n2. If you use Method 1 (Direct Insertion) in the API Key Instructions below your API Key will not be listed as connected to this workflow if you use my [Workflow Credentials Auditor](https://n8n.io/workflows/14423). Same goes for all other credentials directly inserted into a HTTP Request node."
      },
      "typeVersion": 1
    },
    {
      "id": "5084002b-ef7d-4b55-b3e1-18e5d12cb056",
      "name": "Sticky Note27",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1072,
        2144
      ],
      "parameters": {
        "color": 2,
        "width": 224,
        "height": 240,
        "content": "## Select or create your Goodle Drive credential, and select your folder color"
      },
      "typeVersion": 1
    },
    {
      "id": "45dfab7e-5656-412c-8031-333310367c05",
      "name": "onCommand",
      "type": "n8n-nodes-base.manualTrigger",
      "disabled": true,
      "position": [
        560,
        2128
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "abb320a9-02af-47a0-a078-abeefe0f8a34",
      "name": "Folder",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1152,
        1952
      ],
      "parameters": {
        "name": "=n8n-Workflow-Backups_{{ $today.toISO().split('T')[0] }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {
          "folderColorRgb": "#38D0A3"
        },
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Configuration').item.json.googleFolderId }}"
        },
        "resource": "folder"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "ba30e335-5917-44e5-ba6f-873c7cab7989",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        1584
      ],
      "parameters": {
        "color": 5,
        "width": 960,
        "height": 800,
        "content": "## ALTERNATIVE VERSIONS AND CUSTOM BUILDS\nWhile this version focuses on global status tagging using **Google Drive**, I have developed a parallel version for **Github Repository** storage.\n \n* **Need the Github Version?** I provide the standard Workflow Organizer Consolidated Github version free upon request.\n  ![Caption: Preview the Github storage version.](https://github.com/zianamitchell/n8n-workflow-images/blob/main/n8n-workflow-organizer-consolidated-github.png?raw=1)\n* **Want to backup workflows without consolidating them?** I offer the standard **Workflow Organizer** free upon request for both Google Drive and GitHub.\n  - **Note:** The Google Drive version is meant to work in tandem with this **Workflow Organizer Consolidated Google Drive**. They should be linked to the same parent folder.\n* **Need a Custom build?** If you require advanced logic (e.g. client-specific routing, multi-tier tagging, unique project tagging, integration with other platforms), I offer custom automation services tailored to your business needs.\n\nA custom version of this workflow or the Github version is $15. "
      },
      "typeVersion": 1
    },
    {
      "id": "4448d86e-18cd-40ea-a2d2-d542e10ce413",
      "name": "Time Saved",
      "type": "n8n-nodes-base.timeSaved",
      "position": [
        3472,
        2128
      ],
      "parameters": {
        "minutesSaved": 10
      },
      "typeVersion": 1
    },
    {
      "id": "90ef7c5c-5895-4726-a22d-a32b18eadd8b",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        2544,
        1536
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e86d5508-d757-45a3-bf28-e9c93758ffb8",
      "name": "Wait1",
      "type": "n8n-nodes-base.wait",
      "position": [
        2992,
        1760
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "fecfeea4-372a-46c8-8565-899e2afde0b8",
      "name": "Wait2",
      "type": "n8n-nodes-base.wait",
      "position": [
        3152,
        2048
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b1378605-c3a7-4253-bfdc-979022718ed4",
      "name": "Wait3",
      "type": "n8n-nodes-base.wait",
      "position": [
        3136,
        2288
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7eed56e8-9070-4f36-bb47-56a300c4a142",
      "name": "Wait4",
      "type": "n8n-nodes-base.wait",
      "position": [
        2768,
        2528
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7c27a523-e5c5-4932-b602-fc450ba2438f",
      "name": "active",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2208,
        1536
      ],
      "parameters": {
        "options": {
          "fileName": "=active-backups_{{ $today.toISO().split('T')[0] }}.json"
        },
        "operation": "toJson",
        "binaryPropertyName": "files"
      },
      "typeVersion": 1.1
    },
    {
      "id": "c112cd84-fb7d-48c3-ad08-a3d1a444cf83",
      "name": "archived",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2432,
        2528
      ],
      "parameters": {
        "options": {
          "fileName": "=archived-backups_{{ $today.toISO().split('T')[0] }}.json"
        },
        "operation": "toJson",
        "binaryPropertyName": "files"
      },
      "typeVersion": 1.1
    },
    {
      "id": "17d57861-c80e-4614-af42-c1f296498300",
      "name": "uploadArchived",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2608,
        2528
      ],
      "parameters": {
        "name": "={{$binary.files.fileName}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Folder').item.json.id }}"
        },
        "inputDataFieldName": "files"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "c97ea477-bdb3-4137-a9ee-0214c9348b0c",
      "name": "sortArchived",
      "type": "n8n-nodes-base.sort",
      "position": [
        2240,
        2528
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "name"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6c81b3de-62e8-4ba2-bfb1-3885d8f85507",
      "name": "sortActive",
      "type": "n8n-nodes-base.sort",
      "position": [
        2048,
        1536
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "name"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "82d94dec-af3b-481a-b030-0523c84708de",
      "name": "uploadActive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2384,
        1536
      ],
      "parameters": {
        "name": "={{$binary.files.fileName}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Folder').item.json.id }}"
        },
        "inputDataFieldName": "files"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "40f05343-87f2-4ded-bb89-cd8ab6f98a82",
      "name": "Workflows",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1376,
        1952
      ],
      "parameters": {
        "url": "={{$('Configuration').item.json.n8nUrl}}/api/v1/workflows",
        "options": {
          "response": {
            "response": {
              "fullResponse": true
            }
          }
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpHeaderAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.4
    },
    {
      "id": "0ac5074a-be67-44d1-ae3f-720bf33db313",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1600,
        1952
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "body.data"
      },
      "typeVersion": 1
    },
    {
      "id": "89a0bfe8-659d-44e3-bf0e-e8127273c567",
      "name": "Configuration",
      "type": "n8n-nodes-base.set",
      "position": [
        848,
        1968
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "8b8fee60-0ac9-488f-949c-186586cd61db",
              "name": "googleFolderId",
              "type": "string",
              "value": "GOOGLE DRIVE FOLDER ID GOES HERE"
            },
            {
              "id": "e9e9bc43-6a5f-4d17-9e26-f7e800e39661",
              "name": "n8nUrl",
              "type": "string",
              "value": "N8N BASE URL GOES HERE"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "96c38969-b149-43cf-8398-d97e77b9cb0f",
      "name": "Schedule",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        560,
        1952
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "weeks",
              "triggerAtDay": [
                5
              ],
              "triggerAtHour": 14
            }
          ]
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "b379af4d-25b1-4acc-aeb1-07ba9a622320",
      "name": "isActive",
      "type": "n8n-nodes-base.if",
      "position": [
        1824,
        1952
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "aadbc056-6f35-4376-8ebc-f651381cb24f",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.active }}",
              "rightValue": "true"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.3
    },
    {
      "id": "d40b7ba8-9ae1-40da-8d2f-330361a91b0a",
      "name": "isNotArchived",
      "type": "n8n-nodes-base.if",
      "position": [
        2048,
        2048
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "7844b4c6-bc02-4cba-8bdd-545ba4581920",
              "operator": {
                "type": "boolean",
                "operation": "false",
                "singleValue": true
              },
              "leftValue": "={{ $json.isArchived }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "3169aa74-14b7-4adf-8582-46140e8ca6c0",
      "name": "isTemplate",
      "type": "n8n-nodes-base.if",
      "position": [
        2272,
        1952
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "c7ac4334-cf09-4279-a3a8-a2eb4a932df4",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.tags }}",
              "rightValue": "Template"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.3
    },
    {
      "id": "062d10ae-64e7-4462-879f-ec29a5e69e27",
      "name": "isDone",
      "type": "n8n-nodes-base.if",
      "position": [
        2496,
        2048
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 3,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "loose"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "849f04cd-c5d5-4f17-b2ce-13f66da6f74a",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $('isTemplate').item.json.tags }}",
              "rightValue": "Done"
            }
          ]
        },
        "looseTypeValidation": true
      },
      "typeVersion": 2.3
    },
    {
      "id": "3ee6aa69-ba5b-43dc-8516-484587adac94",
      "name": "sortTemplates",
      "type": "n8n-nodes-base.sort",
      "position": [
        2496,
        1760
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "name"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f0e83b13-98eb-41cb-b854-e154d345e339",
      "name": "templates",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2688,
        1760
      ],
      "parameters": {
        "options": {
          "fileName": "=template-backups_{{ $today.toISO().split('T')[0] }}.json"
        },
        "operation": "toJson",
        "binaryPropertyName": "files"
      },
      "typeVersion": 1.1
    },
    {
      "id": "edcb08db-d5c9-471c-b1a7-ac4ee376bbdd",
      "name": "uploadTemplates",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2848,
        1760
      ],
      "parameters": {
        "name": "={{$binary.files.fileName}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Folder').item.json.id }}"
        },
        "inputDataFieldName": "files"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "576a9f90-d076-41ee-ba0c-b32b06517ad5",
      "name": "sortDone",
      "type": "n8n-nodes-base.sort",
      "position": [
        2720,
        2032
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "name"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "26b5ee26-c27e-4d30-8576-485fc20401df",
      "name": "sortInProgress",
      "type": "n8n-nodes-base.sort",
      "position": [
        2704,
        2288
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "name"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "4cba9d88-4cf9-412c-a503-e6a66925dcb9",
      "name": "work-in-progress",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2864,
        2288
      ],
      "parameters": {
        "options": {
          "fileName": "=wip-backups_{{ $today.toISO().split('T')[0] }}.json"
        },
        "operation": "toJson",
        "binaryPropertyName": "files"
      },
      "typeVersion": 1.1
    },
    {
      "id": "e741d891-bb15-4eee-9f06-759da9873508",
      "name": "done",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        2864,
        2032
      ],
      "parameters": {
        "options": {
          "fileName": "=done-backups_{{ $today.toISO().split('T')[0] }}.json"
        },
        "operation": "toJson",
        "binaryPropertyName": "files"
      },
      "typeVersion": 1.1
    },
    {
      "id": "283c9c4f-c6db-4e23-9967-a3cbc718bdea",
      "name": "uploadDone",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3024,
        2032
      ],
      "parameters": {
        "name": "={{$binary.files.fileName}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Folder').item.json.id }}"
        },
        "inputDataFieldName": "files"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "38ff6298-33ed-4af3-8f58-30bac618c15c",
      "name": "uploadInProgress",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        3008,
        2288
      ],
      "parameters": {
        "name": "={{$binary.files.fileName}}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Folder').item.json.id }}"
        },
        "inputDataFieldName": "files"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    }
  ],
  "active": false,
  "settings": {
    "binaryMode": "separate",
    "callerPolicy": "workflowsFromSameOwner",
    "timeSavedMode": "dynamic",
    "availableInMCP": false,
    "executionOrder": "v1",
    "saveManualExecutions": false,
    "saveDataSuccessExecution": "none"
  },
  "versionId": "9e5e9caf-89f8-4501-a03f-06b6049c20e3",
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Time Saved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "done": {
      "main": [
        [
          {
            "node": "uploadDone",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "Time Saved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "Time Saved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait3": {
      "main": [
        [
          {
            "node": "Time Saved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait4": {
      "main": [
        [
          {
            "node": "Time Saved",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Folder": {
      "main": [
        [
          {
            "node": "Workflows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "active": {
      "main": [
        [
          {
            "node": "uploadActive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "isDone": {
      "main": [
        [
          {
            "node": "sortDone",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "sortInProgress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "archived": {
      "main": [
        [
          {
            "node": "uploadArchived",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "isActive": {
      "main": [
        [
          {
            "node": "sortActive",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "isNotArchived",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sortDone": {
      "main": [
        [
          {
            "node": "done",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "isActive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Workflows": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "onCommand": {
      "main": [
        [
          {
            "node": "Configuration",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "templates": {
      "main": [
        [
          {
            "node": "uploadTemplates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "isTemplate": {
      "main": [
        [
          {
            "node": "sortTemplates",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "isDone",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sortActive": {
      "main": [
        [
          {
            "node": "active",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "uploadDone": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sortArchived": {
      "main": [
        [
          {
            "node": "archived",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "uploadActive": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Configuration": {
      "main": [
        [
          {
            "node": "Folder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "isNotArchived": {
      "main": [
        [
          {
            "node": "isTemplate",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "sortArchived",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sortTemplates": {
      "main": [
        [
          {
            "node": "templates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "sortInProgress": {
      "main": [
        [
          {
            "node": "work-in-progress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "uploadArchived": {
      "main": [
        [
          {
            "node": "Wait4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "uploadTemplates": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "uploadInProgress": {
      "main": [
        [
          {
            "node": "Wait3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "work-in-progress": {
      "main": [
        [
          {
            "node": "uploadInProgress",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}