n8n ワークフローを Google Drive にバックアップ
中級
これはOther分野の自動化ワークフローで、6個のノードを含みます。主にN8n, Set, Code, GoogleDrive, ScheduleTriggerなどのノードを使用。 n8n 作業フローを Google Drive にバックアップ
前提条件
- •Google Drive API認証情報
カテゴリー
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"nodes": [
{
"name": "「実行」クリック時",
"type": "n8n-nodes-base.manualTrigger",
"position": [
320,
170
],
"parameters": {},
"typeVersion": 1,
"id": "--0"
},
{
"name": "マージ",
"type": "n8n-nodes-base.merge",
"position": [
960,
320
],
"parameters": {
"mode": "mergeByIndex"
},
"typeVersion": 1,
"id": "--1"
},
{
"name": "バイナリデータ移動",
"type": "n8n-nodes-base.moveBinaryData",
"position": [
1260,
320
],
"parameters": {
"mode": "jsonToBinary",
"options": {
"useRawData": false
}
},
"typeVersion": 1,
"id": "--2"
},
{
"name": "マップ",
"type": "n8n-nodes-base.function",
"position": [
710,
320
],
"parameters": {
"functionCode": "return items[0].json.data.map(item => {\n return {json: item}\n});"
},
"typeVersion": 1,
"id": "--3"
},
{
"name": "ワークフロー取得",
"type": "n8n-nodes-base.httpRequest",
"notes": "Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. ",
"position": [
830,
460
],
"parameters": {
"url": "=http://localhost:5678/rest/workflows/{{$node[\"Map\"].data[\"id\"]}}",
"options": {},
"authentication": "basicAuth"
},
"credentials": {
"httpBasicAuth": "n8n Creds"
},
"notesInFlow": false,
"typeVersion": 1,
"id": "--4"
},
{
"name": "ワークフロー一覧取得",
"type": "n8n-nodes-base.httpRequest",
"notes": "Don't forget to add your credentials for your n8n instance in this Node. Use Basic Auth for this. ",
"position": [
520,
320
],
"parameters": {
"url": "http://localhost:5678/rest/workflows",
"options": {},
"authentication": "basicAuth"
},
"credentials": {
"httpBasicAuth": "n8n Creds"
},
"typeVersion": 1,
"id": "--5"
},
{
"name": "FunctionItem",
"type": "n8n-nodes-base.functionItem",
"position": [
1110,
320
],
"parameters": {
"functionCode": "item = item.data;\nreturn item;"
},
"typeVersion": 1,
"id": "FunctionItem-6"
},
{
"name": "Google Drive",
"type": "n8n-nodes-base.googleDrive",
"position": [
1450,
320
],
"parameters": {
"name": "={{$node[\"Merge\"].data[\"name\"]}}.json",
"parents": [
"Delete this text and put id for folder you want to upload into in this field. The folder ID can be found by opening the folder in your browser and copying the portion after https://drive.google.com/drive/u/0/folders/"
],
"binaryData": true,
"resolveData": true
},
"credentials": {
"googleApi": "test"
},
"typeVersion": 1,
"id": "Google-Drive-7"
},
{
"name": "毎日午前2時30分実行",
"type": "n8n-nodes-base.cron",
"position": [
330,
320
],
"parameters": {
"triggerTimes": {
"item": [
{
"hour": 2,
"minute": 30
}
]
}
},
"typeVersion": 1,
"id": "-2-30--8"
}
],
"connections": {
"--3": {
"main": [
[
{
"node": "--4",
"type": "main",
"index": 0
},
{
"node": "--1",
"type": "main",
"index": 0
}
]
]
},
"--1": {
"main": [
[
{
"node": "FunctionItem-6",
"type": "main",
"index": 0
}
]
]
},
"FunctionItem-6": {
"main": [
[
{
"node": "--2",
"type": "main",
"index": 0
}
]
]
},
"--4": {
"main": [
[
{
"node": "--1",
"type": "main",
"index": 1
}
]
]
},
"--2": {
"main": [
[
{
"node": "Google-Drive-7",
"type": "main",
"index": 0
}
]
]
},
"--5": {
"main": [
[
{
"node": "--3",
"type": "main",
"index": 0
}
]
]
},
"-2-30--8": {
"main": [
[
{
"node": "--5",
"type": "main",
"index": 0
}
]
]
},
"--0": {
"main": [
[
{
"node": "--5",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - その他
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
✨😃Googleドライブへの自動ワークフローバックアップ
✨😃 自動ワークフローをGoogleドライブにバックアップ
N8n
Set
Code
+
N8n
Set
Code
22 ノードJoseph LePage
その他
AI エージェント レストラン [テンプレート]
🤖 WhatsApp、Instagram、MessengerのAIレストランアシスタント
If
N8n
Set
+
If
N8n
Set
239 ノードAmanda Benks
その他
ワークフローを Gitea 上の git リポジトリにバックアップ
ワークフローを Gitea の git リポジトリへバックアップ
If
N8n
Set
+
If
N8n
Set
20 ノードOctoleo
その他
Git リポジトリへのワークフロー バックアップ
作業フローを GitHub のリポジトリにバックアップ
If
N8n
Set
+
If
N8n
Set
17 ノードShashikanth
その他
GitHubへワークフローをバックアップ(サブフォルダー)
GitHub へのバックアップ ワークフロー (サブフォルダー)
If
N8n
Set
+
If
N8n
Set
25 ノードNazmy
その他
GitHubへワークフローをバックアップ
ワークフローを GitHub にバックアップする
If
N8n
Set
+
If
N8n
Set
23 ノードSolomon
その他
ワークフロー情報
難易度
中級
ノード数6
カテゴリー1
ノードタイプ6
作成者
phil
@philAccélérateur de Chiffre d'Affaires : Automatisez votre entreprise pour la rendre plus visible sur Google, pour trouver de nouveaux Clients, pour gagner du temps
外部リンク
n8n.ioで表示 →
このワークフローを共有