8
n8n 한국어amn8n.com

RapidAPI와 Google Sheets 로그를 사용하여 YouTube 비디오를 MP4과 MP3로 변환합니다.

중급

이것은File Management분야의자동화 워크플로우로, 9개의 노드를 포함합니다.주로 If, FormTrigger, HttpRequest, GoogleSheets 등의 노드를 사용하며. RapidAPI와 Google Sheets 로그를 사용하여 YouTube 비디오를 MP4 및 MP3로 변환합니다.

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
  • Google Sheets API 인증 정보

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "8107174c-5a28-4e08-be56-de75f9d85b01",
      "name": "HTTP 요청",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        300,
        0
      ],
      "parameters": {
        "url": "https://youtube-video-downloader-fast.p.rapidapi.com/download.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-video-downloader-fast.p.rapidapi.com"
            },
            {
              "name": "x-rapidapi-key",
              "value": "your key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "86a2db5e-5928-4459-ad69-846994ab98d0",
      "name": "폼 제출 시",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        0,
        0
      ],
      "webhookId": "97a426d1-4557-4d85-8c0f-e98f6590721c",
      "parameters": {
        "options": {},
        "formTitle": "YouTube To Mp4",
        "formFields": {
          "values": [
            {
              "fieldLabel": "URL",
              "requiredField": true
            }
          ]
        },
        "formDescription": "YouTube To Mp4"
      },
      "typeVersion": 2.2
    },
    {
      "id": "a183fdce-c385-4c17-b237-a0ac731adfc0",
      "name": "조건 분기",
      "type": "n8n-nodes-base.if",
      "position": [
        560,
        0
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "0380d6fd-b5ab-49ef-a5e1-5d34a138f883",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.success }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "c7806bea-3eaa-464e-8939-cd707de01ba4",
      "name": "Google 스프레드시트",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        800,
        -20
      ],
      "parameters": {
        "columns": {
          "value": {
            "Mp3": "={{ $json.medias[18].url }}",
            "Url": "={{ $json.url }}",
            "Mp4 720": "={{ $json.medias[3].url }}",
            "Mp4 1080": "={{ $json.medias[1].url }}",
            "Mp4 360p": "={{ $json.medias[0].url }}"
          },
          "schema": [
            {
              "id": "Url",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Url",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Mp4 360p",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Mp4 360p",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Mp4 720",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Mp4 720",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Mp4 1080",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Mp4 1080",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Mp3",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Mp3",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1BFR7Ce8FYarGF7kvfaQf6fBsu7hLxDbzzp_RL8DDlas",
          "cachedResultUrl": "",
          "cachedResultName": "YT to Mp4"
        },
        "authentication": "serviceAccount"
      },
      "credentials": {
        "googleApi": {
          "id": "Rt0RWApx8PL9t0RF",
          "name": "Google Docs account"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "2c42910a-7192-41e4-91b6-921a42601bb9",
      "name": "메모지",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -480
      ],
      "parameters": {
        "width": 740,
        "height": 740,
        "content": "# 🎥 YouTube to MP4 Downloader \n\nConvert YouTube videos into MP4 and MP3 formats automatically using **[YouTube Video Downloader API](https://rapidapi.com/skdeveloper/api/youtube-video-downloader-fast)**.  \nThis workflow fetches video download links, extracts multiple quality options, and logs results in Google Sheets.  \nIt’s **fully customizable** – you can modify video qualities, add notifications, or integrate with different storage solutions.  \n\n---\n\n### 📝 **Node-by-Node Explanation**\n\n1. **On Form Submission** → Triggers when a user submits a YouTube video URL via a form. *(You can add more fields like format selection or email delivery.)*  \n2. **HTTP Request** → Sends a POST request to **YouTube Video Downloader API** to fetch downloadable links. *(You can switch the API endpoint or add extra headers easily.)*  \n3. **If Node** → Checks if the API response is successful before processing download links. *(You can add advanced conditions for custom validation.)*  \n4. **Google Sheets** → Appends video details including:  \n   - **Original URL**  \n   - **MP4 360p, 720p, 1080p links**  \n   - **MP3 link**  \n   *(You can add more resolutions or metadata fields like title, duration, size.)*  \n"
      },
      "typeVersion": 1
    },
    {
      "id": "1fb4d9b5-c883-489b-9f05-0b851cd7b5b2",
      "name": "메모지1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 1️⃣ **On Form Submission**  \n- Displays a form where the user enters the YouTube video URL.  \n- Acts as the starting trigger for the workflow. "
      },
      "typeVersion": 1
    },
    {
      "id": "a5d3d8eb-2202-4ccc-af42-aa51efd433aa",
      "name": "메모지2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        220,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 2️⃣ **HTTP Request**  \n- Sends the provided URL to **YouTube Video Downloader API** via RapidAPI.  \n- Retrieves different resolution MP4 and MP3 download links. "
      },
      "typeVersion": 1
    },
    {
      "id": "e572667f-8476-4aad-a72d-4ee99d191bcd",
      "name": "메모지3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 3️⃣ **If Node**  \n- Checks if the API request was successful.  \n- Ensures only valid results are processed for logging.  \n"
      },
      "typeVersion": 1
    },
    {
      "id": "acc65470-0188-4d4c-a798-7862e98657cf",
      "name": "메모지4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        740,
        -200
      ],
      "parameters": {
        "height": 380,
        "content": "### 4️⃣ **Google Sheets**  \n- Appends the original URL and all available download links (360p, 720p, 1080p, MP3) into a spreadsheet.  \n- Provides a structured history of all downloads for future reference.  \n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "a183fdce-c385-4c17-b237-a0ac731adfc0": {
      "main": [
        [
          {
            "node": "c7806bea-3eaa-464e-8939-cd707de01ba4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8107174c-5a28-4e08-be56-de75f9d85b01": {
      "main": [
        [
          {
            "node": "a183fdce-c385-4c17-b237-a0ac731adfc0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "86a2db5e-5928-4459-ad69-846994ab98d0": {
      "main": [
        [
          {
            "node": "8107174c-5a28-4e08-be56-de75f9d85b01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 파일 관리

유료인가요?

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

관련 워크플로우 추천

Facebook 비디오를 구글 클라우드 스토리지에 다운로드하고 자동으로 테이블에 기록
Facebook 비디오를 Google 클라우드 드라이브에 다운로드하고 테이블에 자동으로 로그 기록
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 노드Sk developer
파일 관리
RapidAPI 통합을 통해 슬라이드쇼 데모文稿 다운로드 구글 클라우드 스토리지
RapidAPI 통합을 통해 Slideshare 데모文稿 다운로드
If
Wait
Form Trigger
+
If
Wait
Form Trigger
17 노드Sk developer
파일 관리
Threads 비디오 다운로드하고 결과를 구글 스프레드시트에 기록
Threads 비디오 다운로드하고 결과를 Google 스프레드시트에 기록
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 노드Sk developer
파일 관리
RapidAPI 통합을 통해 어떤 플랫폼 비디오도 구글 클라우드 스토리지에 다운로드
RapidAPI 통합을 통해 어떤 플랫폼의 비디오도 Google 클라우드 드라이브에 다운로드
If
Wait
Form Trigger
+
If
Wait
Form Trigger
17 노드Sk developer
파일 관리
Bilibili 비디오 다운로드 도구, Google Drive 업로드와 이메일 알림 지원
Bilibili 视频下载器,支持 Google Drive 上传및이메일알림
If
Wait
Email Send
+
If
Wait
Email Send
19 노드Sk developer
파일 관리
인스타그램 비디오를 구글 클라우드 스토리지에 다운로드하고 자동으로 이메일 발송
Instagram 비디오를 Google 클라우드 드라이브에 다운로드하고 자동으로 이메일을 통해 전송
If
Email Send
Form Trigger
+
If
Email Send
Form Trigger
15 노드Sk developer
파일 관리
워크플로우 정보
난이도
중급
노드 수9
카테고리1
노드 유형5
난이도 설명

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34