ワークフローのバックアップコピー
中級
これはEngineering, IT Ops分野の自動化ワークフローで、12個のノードを含みます。主にN8n, Limit, Filter, GoogleDrive, ConvertToFileなどのノードを使用。 ワークフローをGoogle Driveに自動バックアップ - すべてのワークフローを自動エクスポート
前提条件
- •Google Drive API認証情報
使用ノード (12)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "qNt1EP9LpXpmPsrR",
"meta": {
"instanceId": "740c1df6d3b1b6ea8a9d2223701f6904173f9e3cf7381cd181644b043420ba09",
"templateCredsSetupCompleted": true
},
"name": "Workflow Backup copy",
"tags": [],
"nodes": [
{
"id": "8a1a1151-af5f-4143-8748-c5a7e7df41e0",
"name": "ファイルに変換",
"type": "n8n-nodes-base.convertToFile",
"position": [
1000,
220
],
"parameters": {
"options": {
"format": true,
"fileName": "={{ $json.name + \".json\" }} "
},
"operation": "toJson"
},
"typeVersion": 1.1
},
{
"id": "2eeed47c-ab3e-4b8c-9cbc-4cbefa6fb59f",
"name": "スケジュールトリガー",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
260
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "9fd17067-54c0-4d59-91c1-8d69d87bae6e",
"name": "フィルター",
"type": "n8n-nodes-base.filter",
"position": [
1340,
0
],
"parameters": {
"options": {
"ignoreCase": true
},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": false,
"typeValidation": "loose"
},
"combinator": "and",
"conditions": [
{
"id": "538fc29d-2693-4c62-9848-bdcaf8566909",
"operator": {
"type": "string",
"operation": "notEquals"
},
"leftValue": "={{ $json.id }}",
"rightValue": "={{ $('Create new folder').item.json.id }}"
}
]
},
"looseTypeValidation": true
},
"typeVersion": 2.2
},
{
"id": "632da5d2-eae3-4930-8024-6875d995ac7b",
"name": "フォルダーを削除",
"type": "n8n-nodes-base.googleDrive",
"position": [
1560,
0
],
"parameters": {
"options": {
"deletePermanently": true
},
"resource": "folder",
"operation": "deleteFolder",
"folderNoRootId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IjFafOCgIQMrz5cn",
"name": "Google demo"
}
},
"typeVersion": 3
},
{
"id": "23999fdb-5501-4c75-9359-a63d72036e51",
"name": "フォルダーを取得",
"type": "n8n-nodes-base.googleDrive",
"position": [
1120,
0
],
"parameters": {
"filter": {
"folderId": {
"__rl": true,
"mode": "list",
"value": ""
}
},
"options": {},
"resource": "fileFolder"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IjFafOCgIQMrz5cn",
"name": "Google demo"
}
},
"typeVersion": 3
},
{
"id": "81ad6d55-c569-42e5-93a0-9a2549080749",
"name": "手動トリガー",
"type": "n8n-nodes-base.manualTrigger",
"position": [
0,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "db6e17c9-374a-4a14-9a83-97733becff11",
"name": "フォルダーを作成",
"type": "n8n-nodes-base.googleDrive",
"position": [
200,
0
],
"parameters": {
"name": "=Workflow Backups {{ $now.format('cccc t dd-MM-yyyy') }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {},
"folderId": {
"__rl": true,
"mode": "list",
"value": "1DHzXsjyUvDJsZssbX_kgHHLrvls3-_jA",
"cachedResultUrl": "https://drive.google.com/drive/folders/1DHzXsjyUvDJsZssbX_kgHHLrvls3-_jA",
"cachedResultName": "backup n8n"
},
"resource": "folder"
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IjFafOCgIQMrz5cn",
"name": "Google demo"
}
},
"typeVersion": 3
},
{
"id": "393ac68c-f005-443c-ac5c-69679e0e3041",
"name": "ループ",
"type": "n8n-nodes-base.splitInBatches",
"position": [
600,
0
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "92f0685e-f093-40d0-ace0-523f97c4c1fe",
"name": "ワークフローをアップロード",
"type": "n8n-nodes-base.googleDrive",
"position": [
1180,
220
],
"parameters": {
"name": "={{ $('Loop ').item.json.name + \".json\" }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": ""
},
"options": {},
"folderId": {
"__rl": true,
"mode": "id",
"value": "={{ $('Create new folder').item.json.id }}"
}
},
"credentials": {
"googleDriveOAuth2Api": {
"id": "IjFafOCgIQMrz5cn",
"name": "Google demo"
}
},
"typeVersion": 3
},
{
"id": "63204c20-fb38-4459-a925-28c3cfb8bf78",
"name": "制限",
"type": "n8n-nodes-base.limit",
"position": [
920,
0
],
"parameters": {},
"typeVersion": 1
},
{
"id": "5f6b7108-e2f6-4e83-8644-6c6f96d22964",
"name": "Get n8n workflow",
"type": "n8n-nodes-base.n8n",
"position": [
400,
0
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "Qdcuw7Z9agi62dkb",
"name": "n8n demo"
}
},
"retryOnFail": true,
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "11719b22-f8ed-45cc-946d-90393a6af706",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
1840,
-340
],
"parameters": {
"color": 4,
"width": 1320,
"height": 1660,
"content": "# 🔄 Workflow Backup for n8n → Google Drive\n\nAn automated system to back up all your n8n workflows and store them as `.json` files in Google Drive. \nPerfect for creators, teams, and agencies who want to protect their work without manual effort.\n\n---\n\n## ✨ What this workflow does\n\n- Creates a new folder in Google Drive named `Workflow Backups [date]`\n- Fetches all workflows from your n8n instance via the `n8n API`\n- Converts each workflow into a `.json` file\n- Uploads the files to the created backup folder\n- (Optionally) Deletes old backup folders to keep things tidy\n- Can run manually or automatically (e.g., weekly)\n\n---\n\n## 🛠 Requirements\n\n- A Google account with access to Google Drive\n- Connected `Google Drive OAuth2` credentials in n8n\n- Active `n8n API credentials`\n- Enabled trigger: `Manual` or `Schedule`\n\n---\n\n## ⚙️ Installation Instructions\n\n1. **Import the workflow** (`Workflow_Backup_copy.json`) into your n8n instance\n2. **Set up credentials:**\n - Replace `Google demo` with your own `Google Drive OAuth2` in the following nodes:\n - `Create new folder`\n - `Get folders`\n - `Upload workflow`\n - `delete folder`\n - Replace `n8n demo` with your `n8n API` credentials in `Get n8n workflow`\n3. **Replace the folder ID** in the `Create new folder` node with the target backup folder on your Drive (`folderId`)\n4. **Optional:** Configure `Schedule Trigger` to run weekly or at your preferred interval\n\n---\n\n## 📦 Workflow Structure\n\n```\nManual/Schedule Trigger\n ↓\nCreate new folder (Google Drive)\n ↓\nGet n8n workflows (via API)\n ↓\nLoop through workflows\n ↓\nConvert to .json files\n ↓\nUpload to Drive\n ↓\n(Optional) Delete old backup folders\n```\n\n---\n\n## ✅ Tips\n\n- Add logic to retain only the latest X backups (e.g., last 3).\n- The workflow can run fully hands-free once scheduled.\n- Want to store files elsewhere? Swap out the upload node for Dropbox, S3, etc.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"timezone": "Europe/Warsaw",
"callerPolicy": "workflowsFromSameOwner",
"executionOrder": "v1"
},
"versionId": "b5965021-a283-4c62-bf51-b9be920327c6",
"connections": {
"63204c20-fb38-4459-a925-28c3cfb8bf78": {
"main": [
[
{
"node": "23999fdb-5501-4c75-9359-a63d72036e51",
"type": "main",
"index": 0
}
]
]
},
"393ac68c-f005-443c-ac5c-69679e0e3041": {
"main": [
[
{
"node": "63204c20-fb38-4459-a925-28c3cfb8bf78",
"type": "main",
"index": 0
}
],
[
{
"node": "8a1a1151-af5f-4143-8748-c5a7e7df41e0",
"type": "main",
"index": 0
}
]
]
},
"9fd17067-54c0-4d59-91c1-8d69d87bae6e": {
"main": [
[
{
"node": "632da5d2-eae3-4930-8024-6875d995ac7b",
"type": "main",
"index": 0
}
]
]
},
"23999fdb-5501-4c75-9359-a63d72036e51": {
"main": [
[
{
"node": "9fd17067-54c0-4d59-91c1-8d69d87bae6e",
"type": "main",
"index": 0
}
]
]
},
"81ad6d55-c569-42e5-93a0-9a2549080749": {
"main": [
[
{
"node": "db6e17c9-374a-4a14-9a83-97733becff11",
"type": "main",
"index": 0
}
]
]
},
"8a1a1151-af5f-4143-8748-c5a7e7df41e0": {
"main": [
[
{
"node": "92f0685e-f093-40d0-ace0-523f97c4c1fe",
"type": "main",
"index": 0
}
]
]
},
"92f0685e-f093-40d0-ace0-523f97c4c1fe": {
"main": [
[
{
"node": "393ac68c-f005-443c-ac5c-69679e0e3041",
"type": "main",
"index": 0
}
]
]
},
"5f6b7108-e2f6-4e83-8644-6c6f96d22964": {
"main": [
[
{
"node": "393ac68c-f005-443c-ac5c-69679e0e3041",
"type": "main",
"index": 0
}
]
]
},
"2eeed47c-ab3e-4b8c-9cbc-4cbefa6fb59f": {
"main": [
[
{
"node": "db6e17c9-374a-4a14-9a83-97733becff11",
"type": "main",
"index": 0
}
]
]
},
"db6e17c9-374a-4a14-9a83-97733becff11": {
"main": [
[
{
"node": "5f6b7108-e2f6-4e83-8644-6c6f96d22964",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - エンジニアリング, IT運用
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
✨😃Googleドライブへの自動ワークフローバックアップ
✨😃 自動ワークフローをGoogleドライブにバックアップ
N8n
Set
Code
+
N8n
Set
Code
22 ノードJoseph LePage
その他
[テンプレート] AIペットショップ v8
AIペットショップアシスタント - GPT-4o、Googleカレンダー、WhatsApp/Instagram/Facebookを統合
If
N8n
Set
+
If
N8n
Set
244 ノードAmanda Benks
営業
AI エージェント レストラン [テンプレート]
🤖 WhatsApp、Instagram、MessengerのAIレストランアシスタント
If
N8n
Set
+
If
N8n
Set
239 ノードAmanda Benks
その他
ドライブ、Gmail、Discordアラートを使った自動化ワークフロー backup システム
Google Drive、Gmail、Discord 警报を使った自動化ワーキングフロー バックアップ システム
If
N8n
Set
+
If
N8n
Set
29 ノードHoChien Chang
IT運用
OpenAI-Gemini を使って Dev.to 記事の作成 - AI による画像付きコンテンツ生成
OpenAI / Gemini を使用して Dev.to 記事を作成 - AI が画像付きコンテンツを生成
Set
Limit
Split Out
+
Set
Limit
Split Out
30 ノードLukaszB
コンテンツ作成
AI スマートアシスタント: Supabase ストレージと Google Drive ファイルとの対話
AIワンチャットボット:SupabaseストレージとGoogle Driveのファイルと対話
If
Set
Wait
+
If
Set
Wait
62 ノードMark Shcherbakov
エンジニアリング
ワークフロー情報
難易度
中級
ノード数12
カテゴリー2
ノードタイプ9
作成者
LukaszB
@lukaszbAI Automation Expert | Web & Mobile App Integrator With 2+ years of experience, I build smart automations, web & mobile app workflows, and scalable platforms using tools like n8n, Make, and more. I help businesses reduce operational costs, save time, and scale faster with AI-powered solutions. For business enquiries, send me an email at kontakt@lumizone.pl
外部リンク
n8n.ioで表示 →
このワークフローを共有