8
n8n 한국어amn8n.com

YT 새 동영상 업로드

중급

이것은Design, AI분야의자동화 워크플로우로, 14개의 노드를 포함합니다.주로 Set, Code, YouTube, GoogleDrive, HttpRequest 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Google Drive 내 AI 생성 메타데이터를 사용한 YouTube 업로드 자동화

사전 요구사항
  • Google Drive API 인증 정보
  • 대상 API의 인증 정보가 필요할 수 있음
  • OpenAI API Key
  • Google Gemini API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "gIZpJgLpUgdoNNDZ",
  "meta": {
    "instanceId": "9ee1559971f36d9785fb97b48d76ed3a8ac302ff00dd93d8b7301e3feab97aed",
    "templateCredsSetupCompleted": true
  },
  "name": "YT New Video Upload",
  "tags": [],
  "nodes": [
    {
      "id": "add1cd70-4bf4-42f5-87d9-68fa31af7f56",
      "name": "새 동영상 다운로드",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -140,
        220
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.id }}"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "8GbkH30Del5g4Kbq",
          "name": "Jim Privat"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "1308e94d-1c68-4fae-9d94-ba6248947581",
      "name": "새 동영상?",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -360,
        220
      ],
      "parameters": {
        "event": "fileCreated",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "id",
          "value": "1EOMCzVDif4XnqCloYvhBNZdx7gyRNpTR"
        }
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "8GbkH30Del5g4Kbq",
          "name": "Jim Privat"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "dfb073fc-4365-4669-a17c-73407a14a655",
      "name": "설명 생성",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1000,
        180
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-nano",
          "cachedResultName": "GPT-4.1-NANO"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "You are a professional copywriter.  \nYou receive the transcript of an economics-related video and create a detailed but concise summary (with paragraphs) about its content.  \n\nWrite a detailed summary (with paragraphs) about the content of the podcast.  \n\nYour output will be used for the YouTube video description. Start with something like: \"In this video...\" or \"In this episode...\".  \nWrite from my perspective, using phrases like \"my opinion\" or \"in my view,\" in the first person, but never phrases like \"In this episode, I learn...\" or similar, as I always explain or discuss the content. YOU NEVER WRITE THINGS LIKE \"THE SPEAKER SAYS\"! Always from my position.  \n\nImportant: Use clear and assertive statements as formulated in the transcript. Avoid neutral or uncertain phrases like \"it could,\" \"I assume that,\" \"possibly,\" or similar. The statements should be confident and definitive to powerfully convey the podcast’s content.  \nInclude a few (2-4) emojis where appropriate.  \nEnd the post with 2-5 relevant hashtags. The hashtags should be broad, like #economics #money #gold, or similar, depending on what fits."
            },
            {
              "content": "=Here is the transcript:\n\n{{ $json.transcript }}"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "8VZkrnuHUTXNwnlP",
          "name": "Midgard#1"
        }
      },
      "typeVersion": 1.7
    },
    {
      "id": "25ba2d0b-3a7a-49d6-acfa-6e7fa2b98e86",
      "name": "2.5FlashPrev",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1340,
        180
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.5-flash-preview-04-17"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "2Y7XbTPZaxPz6Vhw",
          "name": "Jim Privat"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "23141199-5df7-47d0-8d0e-f5b3a7fe7668",
      "name": "YT 태그",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1300,
        -20
      ],
      "parameters": {
        "text": "=Now follows the actual topic/transcript. Give me the YouTube tags for it:\n\n{{ $('Adjust Transcript Format').item.json.transcript }}",
        "options": {
          "systemMessage": "This video is about the future gold price and how it affects the returns of high-performing assets like stocks and bonds in their adjusted returns.\n\nExpected output:\nGold price, future gold price, gold investments, asset returns, stocks and bonds, investment returns, adjusted returns, gold market, financial markets, gold price forecast, economic trends, investing in gold, stock market analysis, bond market, investment strategies, inflation and gold, gold vs. stocks, financial analysis, precious metals, portfolio management, market outlook, investment tips"
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "c3ff8e2e-7ce6-4538-baea-91a375b98dcb",
      "name": "대본 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        500,
        220
      ],
      "parameters": {
        "url": "=https://api.apify.com/v2/acts/pintostudio~youtube-transcript-scraper/run-sync-get-dataset-items",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n  \"videoUrl\": \"https://www.youtube.com/watch?v={{ $json.id }}\"\n}",
        "sendBody": true,
        "sendQuery": true,
        "specifyBody": "json",
        "queryParameters": {
          "parameters": [
            {
              "name": "token",
              "value": "={{$json.token}}"
            }
          ]
        }
      },
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "6a03cbf3-5718-4db8-b9cf-31d6d93f73e7",
      "name": "대본 형식 조정",
      "type": "n8n-nodes-base.code",
      "position": [
        680,
        220
      ],
      "parameters": {
        "jsCode": "const items = $input.all();\n\nconst transcriptStrings = items.flatMap(item => {\n  const dataArray = item.json.data;\n\n  if (!dataArray || !Array.isArray(dataArray)) {\n    return [];\n  }\n\n  const segmentTexts = dataArray.map(segment => {\n      if (segment && typeof segment.text === 'string') {\n          return segment.text;\n      } else {\n          return '';\n      }\n  });\n\n  return segmentTexts;\n});\n\nconst transcript = transcriptStrings.join(' ');\n\nreturn [\n  {\n    json: {\n      transcript: transcript,\n    },\n  },\n];"
      },
      "typeVersion": 2
    },
    {
      "id": "c6e0bf83-6eaa-41be-9ea1-0dba4cace444",
      "name": "동영상 메타데이터 업데이트",
      "type": "n8n-nodes-base.youTube",
      "onError": "continueErrorOutput",
      "position": [
        2160,
        240
      ],
      "parameters": {
        "title": "={{ $('YT Title').item.json.title }}",
        "videoId": "={{ $('Upload Video to Youtube').item.json.uploadId }}",
        "resource": "video",
        "operation": "update",
        "categoryId": "25",
        "regionCode": "DE",
        "updateFields": {
          "tags": "={{ $('YT Tags').item.json.message.content }}",
          "description": "={{ $('Create Description').first().json.message.content }}\n\nDiese textbasierte Zusammenfassung des Videos wurde automatisch mit dem KI-Modell gpt-4.1-nano erstellt.]\n"
        }
      },
      "credentials": {
        "youTubeOAuth2Api": {
          "id": "jKf1Vc4ZycKxf0im",
          "name": "YouTube Jim Privat"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "813fc8fc-ed3c-4cd7-8aa5-4c4084fd4e0d",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        160
      ],
      "parameters": {
        "color": 4,
        "width": 700,
        "height": 240,
        "content": "# Upload New Video to Youtube 🎥⬆️"
      },
      "typeVersion": 1
    },
    {
      "id": "0fb360ba-f843-4820-b05d-3149d7516526",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        -100
      ],
      "parameters": {
        "color": 4,
        "width": 2660,
        "height": 500,
        "content": "# Get Transcript for Context and Generate Metadata from It 📝🔍"
      },
      "typeVersion": 1
    },
    {
      "id": "bb494b9e-a707-492a-b88a-83fce01a742f",
      "name": "YT 제목",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        1720,
        -20
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-nano",
          "cachedResultName": "GPT-4.1-NANO"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "role": "system",
              "content": "You are a professional copywriter for SEO-optimized YouTube titles."
            },
            {
              "content": "=Write me a suitable SEO YouTube title for the transcript of the following video transcript. Only the title, nothing else. Max 100 characters, so keep it short."
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "8VZkrnuHUTXNwnlP",
          "name": "Midgard#1"
        }
      },
      "typeVersion": 1.7
    },
    {
      "id": "a82d27b7-967e-48f8-8ead-a184872a7abc",
      "name": "업로드 폴더에서 파일 삭제 (선택사항)",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        2460,
        -20
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Download New Video').item.json.id }}"
        },
        "options": {},
        "operation": "deleteFile"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "8GbkH30Del5g4Kbq",
          "name": "GDRIVE ACCOUNT P"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "4cff725b-cff0-45e0-9cab-24c2f233c94e",
      "name": "동영상을 Youtube에 업로드",
      "type": "n8n-nodes-base.youTube",
      "position": [
        140,
        220
      ],
      "parameters": {
        "title": "adadada",
        "options": {
          "privacyStatus": "private",
          "selfDeclaredMadeForKids": false
        },
        "resource": "video",
        "operation": "upload",
        "categoryId": "25",
        "regionCode": "DE"
      },
      "credentials": {
        "youTubeOAuth2Api": {
          "id": "jKf1Vc4ZycKxf0im",
          "name": "YouTube Jim Privat"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "691fda3c-736c-4d6e-b4f3-8db68a581c79",
      "name": "ApifyToken",
      "type": "n8n-nodes-base.set",
      "position": [
        320,
        220
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "2eb41a6f-d0ef-4ca2-be47-f93b1d5c1edb",
              "name": "token",
              "type": "string",
              "value": "YOURTOKENHERE"
            }
          ]
        }
      },
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3a879f43-d8a6-4a87-a233-bafeb296d21a",
  "connections": {
    "23141199-5df7-47d0-8d0e-f5b3a7fe7668": {
      "main": [
        [
          {
            "node": "bb494b9e-a707-492a-b88a-83fce01a742f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bb494b9e-a707-492a-b88a-83fce01a742f": {
      "main": [
        [
          {
            "node": "c6e0bf83-6eaa-41be-9ea1-0dba4cace444",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "691fda3c-736c-4d6e-b4f3-8db68a581c79": {
      "main": [
        [
          {
            "node": "c3ff8e2e-7ce6-4538-baea-91a375b98dcb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1308e94d-1c68-4fae-9d94-ba6248947581": {
      "main": [
        [
          {
            "node": "add1cd70-4bf4-42f5-87d9-68fa31af7f56",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "25ba2d0b-3a7a-49d6-acfa-6e7fa2b98e86": {
      "ai_languageModel": [
        [
          {
            "node": "23141199-5df7-47d0-8d0e-f5b3a7fe7668",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "c3ff8e2e-7ce6-4538-baea-91a375b98dcb": {
      "main": [
        [
          {
            "node": "6a03cbf3-5718-4db8-b9cf-31d6d93f73e7",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "dfb073fc-4365-4669-a17c-73407a14a655": {
      "main": [
        [
          {
            "node": "23141199-5df7-47d0-8d0e-f5b3a7fe7668",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "add1cd70-4bf4-42f5-87d9-68fa31af7f56": {
      "main": [
        [
          {
            "node": "4cff725b-cff0-45e0-9cab-24c2f233c94e",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c6e0bf83-6eaa-41be-9ea1-0dba4cace444": {
      "main": [
        [
          {
            "node": "a82d27b7-967e-48f8-8ead-a184872a7abc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4cff725b-cff0-45e0-9cab-24c2f233c94e": {
      "main": [
        [
          {
            "node": "691fda3c-736c-4d6e-b4f3-8db68a581c79",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6a03cbf3-5718-4db8-b9cf-31d6d93f73e7": {
      "main": [
        [
          {
            "node": "dfb073fc-4365-4669-a17c-73407a14a655",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 디자인, 인공지능

유료인가요?

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

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

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34