YouTube-Videos mit RapidAPI und Sheets-Protokollierung in MP4 und MP3 umwandeln
Fortgeschritten
Dies ist ein File Management-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden If, FormTrigger, HttpRequest, GoogleSheets und andere Nodes verwendet. Verwenden Sie RapidAPI und Sheets-Protokollierung, um YouTube-Videos in MP4 und MP3 umzuwandeln
Voraussetzungen
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
- •Google Sheets API-Anmeldedaten
Verwendete Nodes (9)
Kategorie
Workflow-Vorschau
Visualisierung der Node-Verbindungen, mit Zoom und Pan
Workflow exportieren
Kopieren Sie die folgende JSON-Konfiguration und importieren Sie sie in n8n
{
"meta": {
"instanceId": "60c025075753afcab9f803964b4caaca9402f435deb4efafbb8e3b93b54d8752",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "8107174c-5a28-4e08-be56-de75f9d85b01",
"name": "HTTP Request",
"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": "Bei Formularübermittlung",
"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": "Wenn",
"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 Sheets",
"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": "Haftnotiz",
"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": "Haftnotiz1",
"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": "Haftnotiz2",
"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": "Haftnotiz3",
"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": "Haftnotiz4",
"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
}
]
]
}
}
}Häufig gestellte Fragen
Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Dateiverwaltung
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Facebook-Videos herunterladen zu Google Drive und automatisch in eine Tabelle eintragen
Facebook-Videos auf Google Drive herunterladen und automatisch Download-Logs in einer Tabelle protokollieren
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 NodesSk developer
Dateiverwaltung
Slideshare-Präsentationen über RapidAPI-Integration herunterladen zu Google Drive
Slideshare-Präsentationen über RapidAPI-Integration auf Google Drive herunterladen
If
Wait
Form Trigger
+
If
Wait
Form Trigger
17 NodesSk developer
Dateiverwaltung
Threads-Videos herunterladen und Ergebnisse in Google Tabellen eintragen
Threads-Videos herunterladen und Ergebnisse in Google Sheets protokollieren
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 NodesSk developer
Dateiverwaltung
Videos von beliebigen Plattformen über RapidAPI-Integration herunterladen zu Google Drive
Videos von beliebigen Plattformen über RapidAPI-Integration auf Google Drive herunterladen
If
Wait
Form Trigger
+
If
Wait
Form Trigger
17 NodesSk developer
Dateiverwaltung
Bilibili-Video-Downloader mit Google-Drive-Upload und E-Mail-Benachrichtigungen
Bilibili Video Downloader mit Google Drive-Upload und E-Mail-Benachrichtigungen
If
Wait
Email Send
+
If
Wait
Email Send
19 NodesSk developer
Dateiverwaltung
Instagram-Videos herunterladen zu Google Drive und automatisch per E-Mail versenden
Instagram-Videos auf Google Drive herunterladen und automatisch per E-Mail versenden
If
Email Send
Form Trigger
+
If
Email Send
Form Trigger
15 NodesSk developer
Dateiverwaltung
Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes9
Kategorie1
Node-Typen5
Autor
Sk developer
@skdeveloperExterne Links
Auf n8n.io ansehen →
Diesen Workflow teilen