Automate YouTube video and audio conversion using a powerful n8n workflow. Extract MP4 and MP3 download links via RapidAPI and systematically log all conversion requests and results in Google Sheets.
Download this n8n workflow template and start using it instantly.
This powerful n8n workflow provides a streamlined solution for converting YouTube video links into high-quality downloadable files (MP4 and MP3). The core mechanism uses an external RapidAPI service to handle the conversion and extraction of links. By utilizing the 'On form submission' n8n trigger, users can simply paste a YouTube URL to initiate the process. A key feature of this n8n automation is the systematic logging of every successful conversion attempt, including links for MP4 1080p, 720p, 360p, and a separate MP3 link, all stored securely in a dedicated Google Sheet. This makes it an ideal template for managing conversion data and monitoring usage. Setting up this n8n node sequence is straightforward and highly effective.
This n8n workflow begins execution immediately upon receiving input via the built-in form, which functions as the n8n trigger.
success: true. If the RapidAPI call failed, the workflow terminates, ensuring that only valid conversion data proceeds.To deploy this n8n workflow template, follow these steps:
x-rapidapi-key header parameter with your actual key for the 'YouTube Video Downloader' API service.This n8n workflow utilizes four primary nodes to execute the conversion and logging process:
On form submission (n8n trigger):
Function: Acts as the entry point and n8n trigger for the entire workflow, providing a web form for users to input the YouTube URL.
Key Configuration: Defines one required field labeled 'URL'.
HTTP Request (n8n node):
Function: Communicates with the external RapidAPI service to request conversion links based on the submitted YouTube URL.
Key Configuration: Uses a POST method, multipart-form-data content type, and requires x-rapidapi-key and x-rapidapi-host headers for authentication.
If (n8n node):
Function: Directs the flow based on API response success. It ensures resource logging only occurs if the conversion link extraction was successful.
Key Configuration: Condition checks if {{ $json.success }} evaluates to true.
Google Sheets (n8n node):
Function: Appends the conversion results (original URL, MP4 links, and MP3 link) into a structured row in a Google spreadsheet.
Key Configuration: Operation set to 'append'. Data mapping explicitly defines columns for 'Url', 'Mp4 360p', 'Mp4 720', 'Mp4 1080', and 'Mp3', sourcing values directly from the successful RapidAPI response object ($json.medias[...]).
Automate YouTube video to MP3 conversion using a powerful n8n workflow, uploading the resulting file to Google Drive and logging all metadata in Google Sheets. Download this n8n template.

Generate concise, multilingual, spoken summaries from any YouTube video directly through Telegram. This powerful n8n workflow uses Decodo, Google Gemini 2.5, and OpenAI TTS.

Use this powerful n8n workflow to automatically convert any YouTube video transcript into a professional, SEO-optimized blog post using GPT-4o, including custom AI image generation. Leverage advanced n8n node functionality.

Use this robust n8n workflow to automatically monitor viral YouTube channels, transcribe videos using Supadata, generate SEO-optimized articles with Claude Sonnet 4, and publish drafts to WordPress.

Use this comprehensive n8n workflow to automatically convert YouTube videos into viral shorts using Klap AI, schedule them via Google Sheets, and auto-publish across 9+ social media platforms using Blotato. Get started with n8n templates today.









































