8
n8n 한국어amn8n.com

AIAutomationPro 자격 증명을 Google Drive에 백업

중급

이것은DevOps, IT Ops분야의자동화 워크플로우로, 9개의 노드를 포함합니다.주로 Code, Aggregate, GoogleDrive, ConvertToFile, ManualTrigger 등의 노드를 사용하며. 정기 실행 포함, Google Drive에 대한 자동화 n8n 자격 증명 백업

사전 요구사항
  • Google Drive API 인증 정보
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "a0wJocTNabVjrlee",
  "meta": {
    "instanceId": "b3df22d2875c82e3ba1883c50049ed9cee0bcabf99d2b486961d2245a09e3964",
    "templateCredsSetupCompleted": true
  },
  "name": "AIAutomationPro Backup Credentials To Google Drive",
  "tags": [],
  "nodes": [
    {
      "id": "550155aa-dfd0-4bbe-b3c7-26891c1903dd",
      "name": "클릭 트리거",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        60,
        280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "000cbe87-24bb-41a2-a6db-4dc12529b191",
      "name": "모든 자격 증명 조회 명령어 실행",
      "type": "n8n-nodes-base.executeCommand",
      "position": [
        520,
        280
      ],
      "parameters": {
        "command": "npx n8n export:credentials --all --decrypted"
      },
      "typeVersion": 1
    },
    {
      "id": "1d6c568b-1bbd-458c-b5c9-d209a6cc44e5",
      "name": "JSON 데이터 포맷팅",
      "type": "n8n-nodes-base.code",
      "position": [
        720,
        280
      ],
      "parameters": {
        "jsCode": "// Function to beautify JSON\nfunction beautifyJson(jsonString) {\n  try {\n    // Parse the JSON string\n    const jsonObject = JSON.parse(jsonString);\n\n    // Format the JSON with indentation\n    return jsonObject; // Return the parsed object directly\n  } catch (error) {\n    // Return the error message if JSON is invalid\n    return `Invalid JSON: ${error.message}`;\n  }\n}\n\n// Retrieve the JSON object from the input data\nconst input = $input.all()[0].json;\n\n// Extract the JSON string from the stdout field\nconst jsonString = input.stdout.match(/\\[{.*}\\]/s);\n\n// Check if a valid JSON string is found\nif (!jsonString) {\n  return {\n    json: {\n      error: \"No valid JSON string found in stdout.\"\n    }\n  };\n}\n\n// Beautify the JSON\nconst beautifiedJson = beautifyJson(jsonString[0]);\n\n// Output the beautified JSON, ensuring each entry is in an object with a 'json' key\nconst output = beautifiedJson.map(entry => ({ json: entry }));\n\n// Return the output\nreturn output;\n"
      },
      "typeVersion": 2
    },
    {
      "id": "2c41e6b0-b1c2-4102-a37f-403b5438caf3",
      "name": "자격 증명 통합",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        920,
        280
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "d6a08fd5-16c6-4746-ab23-9dd956eda393",
      "name": "스티키 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        200
      ],
      "parameters": {
        "width": 911,
        "height": 292,
        "content": "## Export All Credentials From N8n"
      },
      "typeVersion": 1
    },
    {
      "id": "458c133d-ce5e-4fc5-9af5-79b04e86a18d",
      "name": "파일 변환",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        1120,
        280
      ],
      "parameters": {
        "options": {},
        "operation": "toJson",
        "binaryPropertyName": "=data"
      },
      "typeVersion": 1.1
    },
    {
      "id": "0e39d74f-53ee-4b9e-b213-97bfaa605e78",
      "name": "스티키 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        200
      ],
      "parameters": {
        "width": 311,
        "height": 292,
        "content": "## Google Drive Folder"
      },
      "typeVersion": 1
    },
    {
      "id": "afd3b1ce-bd9e-4dda-bb9a-d27f343f57a1",
      "name": "Google Drive 파일 업로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        1540,
        280
      ],
      "parameters": {
        "name": "=n8n_backup_credentials.json",
        "driveId": {
          "__rl": true,
          "mode": "list",
          "value": "My Drive",
          "cachedResultUrl": "https://drive.google.com/drive/my-drive",
          "cachedResultName": "My Drive"
        },
        "options": {},
        "folderId": {
          "__rl": true,
          "mode": "list",
          "value": "1p447S9MWYcRpA6dmfDe-Kdc3-d8L2Lzr",
          "cachedResultUrl": "https://drive.google.com/drive/folders/1p447S9MWYcRpA6dmfDe-Kdc3-d8L2Lzr",
          "cachedResultName": "Tung Backup Credential"
        },
        "inputDataFieldName": "=data"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "q8OibtSjVurZl2tb",
          "name": "AI Auto Google Drive account"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "62a9e8c8-9731-459b-98c7-9befaf4c7cce",
      "name": "예약 트리거",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        60,
        480
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "35978b6b-b4a2-4fce-a3bf-3ecf1f6c3e55",
  "connections": {
    "458c133d-ce5e-4fc5-9af5-79b04e86a18d": {
      "main": [
        [
          {
            "node": "afd3b1ce-bd9e-4dda-bb9a-d27f343f57a1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "550155aa-dfd0-4bbe-b3c7-26891c1903dd": {
      "main": [
        [
          {
            "node": "000cbe87-24bb-41a2-a6db-4dc12529b191",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62a9e8c8-9731-459b-98c7-9befaf4c7cce": {
      "main": [
        [
          {
            "node": "000cbe87-24bb-41a2-a6db-4dc12529b191",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1d6c568b-1bbd-458c-b5c9-d209a6cc44e5": {
      "main": [
        [
          {
            "node": "2c41e6b0-b1c2-4102-a37f-403b5438caf3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2c41e6b0-b1c2-4102-a37f-403b5438caf3": {
      "main": [
        [
          {
            "node": "458c133d-ce5e-4fc5-9af5-79b04e86a18d",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "000cbe87-24bb-41a2-a6db-4dc12529b191": {
      "main": [
        [
          {
            "node": "1d6c568b-1bbd-458c-b5c9-d209a6cc44e5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

중급 - 데브옵스, IT 운영

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수9
카테고리2
노드 유형8
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Daniel Ng

Daniel Ng

@danielng

A Growth Hacker, Digital Marketer & AI Automation Builder with 10+ years of experience in Digital Marketing & Workflow Automation. Based in Helsinki, Finland. For questions about my templates and customization, contact me at: daniel@aiautomationpro.org

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34