{"product_id":"n8n-workflow-turn-youtube-transcripts-into-newsletters-social-posts","title":"n8n Workflow: Turn YouTube Transcripts into Newsletters \u0026 Social Posts","description":"\u003ch3\u003eTurn any YouTube video into a ready-to-publish newsletter + social posts—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow takes a YouTube URL (via webhook), grabs or accepts the transcript, uses OpenAI Chat Completions to generate a structured newsletter and repurposed content for X (Twitter) and LinkedIn, then returns the results as JSON (plus a rendered Markdown version).\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eReceives a POST webhook\u003c\/b\u003e request with \u003ccode\u003eurl\u003c\/code\u003e (required) and optionally \u003ccode\u003etranscript\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eValidates the YouTube link\u003c\/b\u003e by extracting the video ID from the provided URL (and errors if the URL is invalid).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eObtains transcript text\u003c\/b\u003e: uses the provided \u003ccode\u003etranscript\u003c\/code\u003e if present; otherwise fetches captions from \u003cb\u003eyoutubetranscript.com\u003c\/b\u003e and converts the transcript XML into plain text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eGenerates content with OpenAI\u003c\/b\u003e: sends the transcript to the OpenAI Chat Completions API with instructions to return structured JSON including:\n    \u003cul\u003e\n      \u003cli\u003eSubject line + preview text\u003c\/li\u003e\n      \u003cli\u003eFour newsletter sections\u003c\/li\u003e\n      \u003cli\u003eTakeaways\u003c\/li\u003e\n      \u003cli\u003eAn X thread\u003c\/li\u003e\n      \u003cli\u003eA LinkedIn post\u003c\/li\u003e\n      \u003cli\u003eA call to action\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eParses and normalizes the response\u003c\/b\u003e into consistent fields and adds video metadata (source URL and transcript word count).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eBuilds a complete newsletter in Markdown\u003c\/b\u003e (including the repurposed posts) and returns everything as a JSON response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRepurpose educational YouTube content into a weekly \u003cb\u003enewsletter\u003c\/b\u003e\n  \u003c\/li\u003e\n\u003cli\u003eEnable SaaS operators to publish faster by turning video transcripts into consistent, structured posts.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers use the webhook to integrate your existing content pipeline with n8n.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eNodes used:\u003c\/b\u003e code, webhook, http request, respond to webhook\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eOutbound requests:\u003c\/b\u003e youtubetranscript.com for captions when no transcript is supplied\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAI generation:\u003c\/b\u003e OpenAI Chat Completions API (replace \u003ccode\u003eYOUR_OPENAI_API_KEY\u003c\/code\u003e in the Authorization header)\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eOutput:\u003c\/b\u003e JSON payload + generated newsletter in Markdown\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cb\u003eNote:\u003c\/b\u003e You’ll need to deploy the webhook and configure your source system to POST \u003ccode\u003e{ \"url\": \"...\", \"transcript\": \"...\" }\u003c\/code\u003e (transcript optional).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814418407603,"sku":"N8N-18006","price":65.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/x7HdFyo5HhxFYAW_Wbb1U_PQnqEsX3.png?v=1786439375","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-turn-youtube-transcripts-into-newsletters-social-posts","provider":"N8N Commerce","version":"1.0","type":"link"}