1. Time Stamp

 {{ $now.setZone('Europe/Paris').toFormat("yyyy.MM.dd-HH.mm") }} 

2. Workflows Auto Backup to GDrive v1

(paste this code to your workflow screen )

 
{
  "nodes": [
    {
      "parameters": {
        "filters": {},
        "requestOptions": {}
      },
      "type": "n8n-nodes-base.n8n",
      "typeVersion": 1,
      "position": [
        760,
        -500
      ],
      "id": "98c14643-e9a7-4c0e-b6c8-131eb36ac6b5",
      "name": "n8n",
      "credentials": {
        "n8nApi": {
          "id": "p4PTFvGaapuUjKxX",
          "name": "n8n account"
        }
      }
    },
    {
      "parameters": {
        "operation": "toJson",
        "mode": "each",
        "options": {
          "fileName": "={{ $json.name }}"
        }
      },
      "type": "n8n-nodes-base.convertToFile",
      "typeVersion": 1.1,
      "position": [
        960,
        -500
      ],
      "id": "05287755-4b8f-4e3b-ad93-e89a5869fb1a",
      "name": "Convert to File"
    },
    {
      "parameters": {
        "resource": "folder",
        "name": "={{ $now.setZone('Europe/Paris').toFormat(\"yyyy.MM.dd-HH.mm\") }}",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "folderId": {
          "__rl": true,
          "value": "1GcuW6XwYuKPi6k9l8EKAp6G35uXGgnTw",
          "mode": "list",
          "cachedResultName": "n8n Backup",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1GcuW6XwYuKPi6k9l8EKAp6G35uXGgnTw"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        540,
        -500
      ],
      "id": "dd817817-102f-4318-be34-39894885cb94",
      "name": "Google Drive",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "NQUEqHF7jXs25JSC",
          "name": "Google Drive account 2"
        }
      }
    },
    {
      "parameters": {
        "name": "={{ $('n8n').item.json.name }}.json",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive"
        },
        "folderId": {
          "__rl": true,
          "value": "={{ $('Google Drive').item.json.id }}",
          "mode": "id"
        },
        "options": {}
      },
      "type": "n8n-nodes-base.googleDrive",
      "typeVersion": 3,
      "position": [
        1160,
        -500
      ],
      "id": "a8c90a19-943a-49e1-b7f9-1d002696f029",
      "name": "Google Drive1",
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "NQUEqHF7jXs25JSC",
          "name": "Google Drive account 2"
        }
      }
    },
    {
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours"
            }
          ]
        }
      },
      "type": "n8n-nodes-base.scheduleTrigger",
      "typeVersion": 1.2,
      "position": [
        340,
        -500
      ],
      "id": "b97c4f41-bdda-4642-bb31-b30100bc4103",
      "name": "Schedule Trigger"
    }
  ],
  "connections": {
    "n8n": {
      "main": [
        [
          {
            "node": "Convert to File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to File": {
      "main": [
        [
          {
            "node": "Google Drive1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "n8n",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive1": {
      "main": [
        []
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "4f274e47cf800dccb298ddc41910e789a432f0b62df61b366abb521b8354e5d6"
  }
}

By using our website, you accept our Cookie Policy.