RapidAPI verwenden, um Metadaten von YouTube-Videos zu extrahieren und in Google Docs zu speichern
Fortgeschritten
Dies ist ein Miscellaneous, Multimodal AI-Bereich Automatisierungsworkflow mit 9 Nodes. Hauptsächlich werden Code, GoogleDocs, FormTrigger, HttpRequest und andere Nodes verwendet. Mit RapidAPI YouTube-Videometadaten extrahieren und in Google Docs speichern
Voraussetzungen
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
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"
},
"nodes": [
{
"id": "2d304223-ef2d-4e03-814d-cac411106f6b",
"name": "Bei Formularabgabe",
"type": "n8n-nodes-base.formTrigger",
"position": [
-160,
220
],
"webhookId": "2edc6cbb-9fb2-47c9-8387-8ff412c7838a",
"parameters": {
"options": {},
"formTitle": "YouTube Metadata ",
"formFields": {
"values": [
{
"fieldLabel": "url",
"requiredField": true
}
]
},
"formDescription": "YouTube Metadata"
},
"typeVersion": 2.2
},
{
"id": "3ddda565-879e-4685-bde6-e3f1dc62df2e",
"name": "YouTube Metadaten",
"type": "n8n-nodes-base.httpRequest",
"position": [
60,
220
],
"parameters": {
"url": "https://youtube-metadata1.p.rapidapi.com/video_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": "9ddd4dd3-3c23-471a-aac9-9222deb584a5",
"name": "Umformatieren",
"type": "n8n-nodes-base.code",
"position": [
300,
220
],
"parameters": {
"jsCode": "const itemsArray = $input.first().json.items;\n\n// Safely access the first video item\nconst video = itemsArray[0];\nconst {\n id: videoId,\n snippet,\n contentDetails,\n statistics,\n} = video;\n\n// Format tags as a comma-separated string\nconst tags = snippet.tags && snippet.tags.length > 0\n ? snippet.tags.join(', ')\n : 'No tags available';\n\n// Format published date\nconst publishedDate = new Date(snippet.publishedAt).toLocaleDateString();\n\n// Format duration (optional: still in ISO 8601 like PT4M16S)\nconst duration = contentDetails.duration;\n\n// Prepare formatted content\nconst formatted = `\n🎬 **${snippet.title}**\n\n🧾 **Description:**\n${snippet.description}\n\n📺 **Channel:** ${snippet.channelTitle}\n📅 **Published At:** ${publishedDate}\n\n📊 **Stats:**\n- Views: ${statistics.viewCount}\n- Likes: ${statistics.likeCount}\n- Comments: ${statistics.commentCount}\n\n🕒 **Duration:** ${duration}\n\n🏷️ **Tags:** ${tags}\n\n🔗 **Video URL:** https://www.youtube.com/watch?v=${videoId}\n🖼️ **Thumbnail:** ${snippet.thumbnails.high.url}\n`;\n\n// Return formatted string for use in Google Docs\nreturn [\n {\n json: {\n docContent: formatted.trim()\n }\n }\n];\n"
},
"typeVersion": 2
},
{
"id": "0589461b-0419-4798-9f69-851d7d9fffb3",
"name": "Haftnotiz",
"type": "n8n-nodes-base.stickyNote",
"position": [
-880,
-40
],
"parameters": {
"width": 520,
"height": 500,
"content": " \nAutomated YouTube Video Metadata Extraction and Documentation Workflow\n\n**Description:** \nEasily extract detailed YouTube video metadata from any URL and automatically format and save it to Google Docs for streamlined documentation and analysis.\n\n- **On form submission:** \n Triggers the workflow when a user submits a YouTube URL via the form.\n\n- **YouTube Metadata (HTTP Request):** \n Sends the submitted URL to the RapidAPI YouTube Metadata service to fetch detailed video data.\n\n- **Reformat (Code):** \n Extracts and formats key video details like title, description, stats, and thumbnails into a clean, readable string.\n\n- **Append Data in Google Docs:** \n Inserts the formatted video metadata into a specified Google Docs document for storage or further use.\n"
},
"typeVersion": 1
},
{
"id": "6d94b502-69ea-41a5-a4df-22fe20ee812b",
"name": "Haftnotiz1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
120
],
"parameters": {
"height": 240,
"content": "**On form submission:** \n Triggers the workflow when a user submits a YouTube URL via the form."
},
"typeVersion": 1
},
{
"id": "656ff1b1-f872-48d8-80c8-dd8df82d1ebc",
"name": "Haftnotiz2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
120
],
"parameters": {
"height": 240,
"content": " **YouTube Metadata (HTTP Request):** \n Sends the submitted URL to the RapidAPI YouTube Metadata service to fetch detailed video data.\n\n"
},
"typeVersion": 1
},
{
"id": "73b16e7c-f9ac-46e7-83dc-902ebbd74158",
"name": "Haftnotiz3",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
120
],
"parameters": {
"height": 240,
"content": "**Reformat (Code):** \n Extracts and formats key video details like title, description, stats, and thumbnails into a clean, readable string.\n"
},
"typeVersion": 1
},
{
"id": "bccb9237-7414-4976-9b60-5504c4d3cc7d",
"name": "Haftnotiz4",
"type": "n8n-nodes-base.stickyNote",
"position": [
520,
120
],
"parameters": {
"height": 240,
"content": "**Append Data In Google Sheet:** \n Append Data in Google sheet for the future usages.\n"
},
"typeVersion": 1
},
{
"id": "ee750cf2-1839-469d-8a84-dff68f280535",
"name": "Daten in Google Docs anhängen",
"type": "n8n-nodes-base.googleDocs",
"position": [
560,
220
],
"parameters": {
"actionsUi": {
"actionFields": [
{
"text": "={{ $json.docContent }}",
"action": "insert"
}
]
},
"operation": "update",
"authentication": "serviceAccount"
},
"credentials": {
"googleApi": {
"id": "Rt0RWApx8PL9t0RF",
"name": "Google Docs account"
}
},
"typeVersion": 2
}
],
"pinData": {},
"connections": {
"9ddd4dd3-3c23-471a-aac9-9222deb584a5": {
"main": [
[
{
"node": "ee750cf2-1839-469d-8a84-dff68f280535",
"type": "main",
"index": 0
}
]
]
},
"3ddda565-879e-4685-bde6-e3f1dc62df2e": {
"main": [
[
{
"node": "9ddd4dd3-3c23-471a-aac9-9222deb584a5",
"type": "main",
"index": 0
}
]
]
},
"2d304223-ef2d-4e03-814d-cac411106f6b": {
"main": [
[
{
"node": "3ddda565-879e-4685-bde6-e3f1dc62df2e",
"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 - Verschiedenes, Multimodales KI
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
Verwendung des LandingPage-Analyser-KI, um Webseiten zu analysieren und Google Docs-Berichte zu generieren
Verwendung des Landing Page Analyzer AI, um Webseiten zu analysieren und Google Docs-Berichte zu generieren
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 NodesEvoort Solutions
KI-Zusammenfassung
RapidAPI nutzen, um YouTube-Kanal-Metadaten in Google Docs zu extrahieren
Mit RapidAPI YouTube-Kanal-Metadaten in Google Docs extrahieren
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 NodesEvoort Solutions
Marktforschung
Generierung automatisierter GST-Berichte mit GST Insights API und Google Docs
Automatisierte GST-Berichte mit GST Insights API und Google Docs generieren
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 NodesEvoort Solutions
Dokumentenextraktion
Generierung automatisierter SEO-Berichte mit RapidAPI SEO Analyzer und Google Docs
Automatisierte SEO-Berichte mit RapidAPI SEO Analyzer und Google Docs generieren
Code
Google Docs
Form Trigger
+
Code
Google Docs
Form Trigger
9 NodesEvoort Solutions
KI-Zusammenfassung
Nicht wassermarkierte TikTok-Videos herunterladen zu Google Drive und automatisch in eine Tabelle eintragen
TikTok-Videos ohne Wasserzeichen herunterladen und automatisch in einer Tabelle protokollieren
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 NodesEvoort Solutions
Content-Erstellung
Instagram-Video-Download über Formulartrigger zu Google Drive und Logging in eine Tabelle
Automatisierter Instagram-Video-Download über Formular zu Google Drive mit Tabellenerfassung
If
Wait
Form Trigger
+
If
Wait
Form Trigger
19 NodesEvoort Solutions
Verschiedenes
Workflow-Informationen
Schwierigkeitsgrad
Fortgeschritten
Anzahl der Nodes9
Kategorie2
Node-Typen5
Autor
Evoort Solutions
@evoortsolutionsExterne Links
Auf n8n.io ansehen →
Diesen Workflow teilen