8
n8n 한국어amn8n.com

YouTube 채널 메타데이터를 Google Docs에 RapidAPI로 추출

중급

이것은Market Research, Multimodal AI분야의자동화 워크플로우로, 9개의 노드를 포함합니다.주로 Code, GoogleDocs, FormTrigger, HttpRequest 등의 노드를 사용하며. RapidAPI를 사용하여 YouTube 채널 메타데이터를 Google Docs에 추출

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "73a62d48-7492-4ba2-bb94-c33382e9e561",
      "name": "폼 제출 시",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "2edc6cbb-9fb2-47c9-8387-8ff412c7838a",
      "parameters": {
        "options": {},
        "formTitle": "YouTube Channel Metadata ",
        "formFields": {
          "values": [
            {
              "fieldLabel": "url",
              "placeholder": "Channel url",
              "requiredField": true
            }
          ]
        },
        "formDescription": "YouTube Channel Metadata"
      },
      "typeVersion": 2.2
    },
    {
      "id": "060b798e-25de-4acf-b563-c299ce006f81",
      "name": "재구성",
      "type": "n8n-nodes-base.code",
      "position": [
        460,
        0
      ],
      "parameters": {
        "jsCode": "// Get the first channel object from items array\nconst channel = $input.first().json.items[0];\n\nconst {\n  snippet,\n  statistics,\n  brandingSettings,\n} = channel;\n\nconst title = snippet.title || 'No title';\nconst description = snippet.description || 'No description available';\nconst customUrl = snippet.customUrl || 'No custom URL';\nconst publishedDate = new Date(snippet.publishedAt).toLocaleDateString();\nconst country = snippet.country || 'Not specified';\n\nconst subscriberCount = statistics.subscriberCount || '0';\nconst viewCount = statistics.viewCount || '0';\nconst videoCount = statistics.videoCount || '0';\n\nconst bannerUrl = brandingSettings.image?.bannerExternalUrl || 'No banner URL';\nconst keywords = brandingSettings.channel?.keywords || 'No keywords';\n\n// Prepare formatted string\nconst formatted = `\n📺 **Channel:** ${title}  \n🔗 **Custom URL:** https://youtube.com/${customUrl}  \n🗓️ **Published On:** ${publishedDate}  \n🌍 **Country:** ${country}\n\n👥 **Subscribers:** ${subscriberCount}  \n👁️ **Total Views:** ${viewCount}  \n🎥 **Total Videos:** ${videoCount}\n\n📝 **Description:**  \n${description}\n\n🏷️ **Keywords:** ${keywords}\n\n🖼️ **Banner Image:**  \n${bannerUrl}\n`;\n\n// Return formatted string\nreturn [\n  {\n    json: {\n      docContent: formatted.trim(),\n    }\n  }\n];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "fca2fbf5-db93-4d05-8e70-c89f90edfaf0",
      "name": "Google Docs에 데이터 추가",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        720,
        0
      ],
      "parameters": {
        "actionsUi": {
          "actionFields": [
            {
              "text": "={{ $json.docContent }}",
              "action": "insert"
            }
          ]
        },
        "operation": "update",
        "documentURL": "",
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 2
    },
    {
      "id": "cff9cbb2-6fc4-4a66-a0b0-16dae3c1fd38",
      "name": "스티커 노트",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -240
      ],
      "parameters": {
        "width": 520,
        "height": 1300,
        "content": "# **YouTube Channel Metadata to Google Docs**\n\n# Workflow Description  \n\nThis workflow takes a YouTube channel URL submitted via a form, fetches detailed channel metadata using a RapidAPI service, reformats the data into a nicely structured text, and appends it to a Google Docs document.\n\n\n## Nodes Breakdown\n\n### 1. **On form submission** (Form Trigger)  \n*Triggers the workflow when a user submits a YouTube Channel URL via the web form.*\n\n- Collects user input (YouTube channel URL) to start the workflow.\n\n---\n\n### 2. **YouTube Channel Metadata** (HTTP Request)  \n*Calls the RapidAPI YouTube Channel Metadata API with the submitted URL.*\n\n- Sends a POST request with the channel URL to fetch channel data like title, subscribers, description, etc.\n\n---\n\n### 3. **Reformat** (Code)  \n*Transforms the raw API JSON response into a clean, human-readable formatted string.*\n\n- Extracts relevant fields (title, subscribers, keywords, etc.)  \n- Formats data with emojis and markdown-style layout for easy reading  \n- Outputs the formatted string as `docContent`\n\n---\n\n### 4. **Add Data in Google Docs** (Google Docs)  \n*Inserts the formatted channel metadata text into a specified Google Docs document.*\n\n- Uses Google Docs API with service account authentication  \n- Appends the formatted channel data into the doc for record-keeping or sharing\n\n# Summary  \n\nThis flow is designed to automate the process of collecting YouTube channel information from a URL, processing that data into a readable format, and storing it neatly in Google Docs — all triggered by a simple user form submission.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "2fa66d15-6311-44ff-820a-7bdf42d3b711",
      "name": "스티커 노트1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        -220
      ],
      "parameters": {
        "height": 360,
        "content": "**On form submission** (Form Trigger)  \n*Triggers the workflow when a user submits a YouTube Channel URL via the web form.*\n\n- Collects user input (YouTube channel URL) to start the workflow.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "f6b5cf9b-4bb1-43cb-b0b9-90fa777d913a",
      "name": "스티커 노트2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -260
      ],
      "parameters": {
        "height": 400,
        "content": "**YouTube Channel Metadata** (HTTP Request)  \n*Calls the RapidAPI YouTube Channel Metadata API with the submitted URL.*\n\n- Sends a POST request with the channel URL to fetch channel data like title, subscribers, description, etc.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "070451b2-9a0b-423b-bbd8-aa163d57178c",
      "name": "YouTube 채널 메타데이터",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {
        "url": "https://youtube-metadata1.p.rapidapi.com/channel_metadata.php",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "url",
              "value": "={{ $json.url }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "x-rapidapi-host",
              "value": "youtube-metadata1.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "9d71eabf-7243-47ce-aa41-9ca2d8bcade4",
      "name": "스티커 노트3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        -260
      ],
      "parameters": {
        "height": 400,
        "content": "**Reformat** (Code)  \n*Transforms the raw API JSON response into a clean, human-readable formatted string.*\n\n- Extracts relevant fields (title, subscribers, keywords, etc.)  \n- Formats data with emojis and markdown-style layout for easy reading  \n- Outputs the formatted string as `docContent`"
      },
      "typeVersion": 1
    },
    {
      "id": "62b9f2a3-2ecc-4a50-979e-e0aaddb24f7c",
      "name": "스티커 노트4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        680,
        -260
      ],
      "parameters": {
        "height": 400,
        "content": "**Add Data in Google Docs** (Google Docs)  \n*Inserts the formatted channel metadata text into a specified Google Docs document.*\n\n- Uses Google Docs API with service account authentication  \n- Appends the formatted channel data into the doc for record-keeping or sharing\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "060b798e-25de-4acf-b563-c299ce006f81": {
      "main": [
        [
          {
            "node": "fca2fbf5-db93-4d05-8e70-c89f90edfaf0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "73a62d48-7492-4ba2-bb94-c33382e9e561": {
      "main": [
        [
          {
            "node": "070451b2-9a0b-423b-bbd8-aa163d57178c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "070451b2-9a0b-423b-bbd8-aa163d57178c": {
      "main": [
        [
          {
            "node": "060b798e-25de-4acf-b563-c299ce006f81",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 시장 조사, 멀티모달 AI

유료인가요?

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

관련 워크플로우 추천

RapidAPI 및 Google Sheets를 사용한 자동화된 페이지 SEO 분석 및 기록
RapidAPI 및 Google Sheets를 사용한 자동화된 페이지 SEO 분석 및 기록
Set
Code
Form Trigger
+
Set
Code
Form Trigger
33 노드Evoort Solutions
시장 조사
Semrush 백링크 데이터를 Google Sheets로 자동 내보내기(RapidAPI 통해)
RapidAPI를 통한 Semrush 백링크 데이터 Google Sheets 자동 내보내기
Code
Form Trigger
Http Request
+
Code
Form Trigger
Http Request
13 노드Evoort Solutions
시장 조사
랜딩 페이지 분석기 AI를 사용한 웹페이지 분석 및 Google Docs 보고서 생성
랜딩 페이지 분석기 AI를 사용하여 웹페이지 분석 및 Google Docs 보고서 생성
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 노드Evoort Solutions
AI 요약
YouTube 비디오 메타데이터를 RapidAPI로 추출하고 Google Docs에 저장
RapidAPI를 사용하여 YouTube 비디오 메타데이터 추출하고 Google Docs에 저장
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 노드Evoort Solutions
기타
GST Insights API와 Google Docs를 사용하여 자동화된 GST 보고서 생성
GST Insights API와 Google Docs를 사용하여 자동화된 GST 보고서 생성
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 노드Evoort Solutions
문서 추출
RapidAPI SEO 분석器및 Google Docs를 사용하여 자동화된 SEO 보고서 생성
RapidAPI SEO 분석器및 Google Docs를 사용하여 자동화된 SEO 보고서 생성
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 노드Evoort Solutions
AI 요약
워크플로우 정보
난이도
중급
노드 수9
카테고리2
노드 유형5
난이도 설명

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34