{"product_id":"n8n-workflow-youtube-transcript-cleanup-via-form-trigger","title":"n8n Workflow: YouTube Transcript Cleanup via Form Trigger","description":"\u003ch3\u003eTurn a YouTube link into a clean, readable transcript—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow lets users paste a YouTube URL into an n8n form, then automatically fetches the transcript from \u003cstrong\u003eyoutube-transcript.ai\u003c\/strong\u003e, cleans it, and displays the finished transcript back to the user on the form completion page.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCollects input via an n8n Form Trigger\u003c\/strong\u003e: the workflow receives a YouTube video URL from a form submission.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a transcript request\u003c\/strong\u003e: it extracts the YouTube video ID from the URL and constructs a transcript endpoint for \u003cstrong\u003eyoutube-transcript.ai\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches the transcript\u003c\/strong\u003e: downloads the transcript text using an \u003cstrong\u003eHTTP request\u003c\/strong\u003e to youtube-transcript.ai.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCleans and normalizes the content\u003c\/strong\u003e: removes any leading “## Transcript” header, strips Markdown links, normalizes blank lines, and performs additional cleanup like removing timestamps and sound markers.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImproves readability\u003c\/strong\u003e: normalizes whitespace and deduplicates immediately repeated phrases.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns results to the user\u003c\/strong\u003e: shows the cleaned transcript on the form completion screen.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eGenerate consistent transcripts for \u003cstrong\u003eSaaS content\u003c\/strong\u003e workflows where raw transcript output needs cleanup.\u003c\/li\u003e\n  \u003cli\u003eSupport \u003cstrong\u003eknowledge base creation\u003c\/strong\u003e by turning YouTube URLs into clean text suitable for storage or review.\u003c\/li\u003e\n  \u003cli\u003eSpeed up \u003cstrong\u003eresearch and summarization\u003c\/strong\u003e pipelines by providing normalized transcript text directly after submission.\u003c\/li\u003e\n  \u003cli\u003eHelp users quickly obtain a readable transcript without manually copying or editing output.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes \/ tools used\u003c\/strong\u003e: \u003cem\u003eform\u003c\/em\u003e, \u003cem\u003eform trigger\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003ehttp request\u003c\/em\u003e\n\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExternal service\u003c\/strong\u003e: \u003cstrong\u003eyoutube-transcript.ai\u003c\/strong\u003e (requires outbound HTTP access from your n8n instance)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey logic\u003c\/strong\u003e: YouTube video ID extraction, transcript endpoint construction, and text cleanup (header removal, Markdown link stripping, timestamp\/sound marker removal, whitespace normalization, and deduplication)\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup\u003c\/h3\u003e\n\u003cp\u003eEnable the form trigger, use its published URL to access the \u003cstrong\u003eYouTube Transcript Generator\u003c\/strong\u003e form, and ensure your n8n instance can reach \u003cstrong\u003ehttps:\/\/youtube-transcript.ai\u003c\/strong\u003e. If needed for your environment, adjust the transcript endpoint format in the code step that builds the URL.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45812013105331,"sku":"N8N-17959","price":5.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/4J52kWhv5ZvMDSfAQ8OpV_BwSDS7fC.png?v=1786353089","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-youtube-transcript-cleanup-via-form-trigger","provider":"N8N Commerce","version":"1.0","type":"link"}