{"product_id":"youtube-transcript-to-newsletter-social-posts-openai-in-n8n","title":"YouTube Transcript to Newsletter \u0026 Social Posts (OpenAI) in n8n","description":"\u003ch3\u003eTurn any YouTube video into a ready-to-publish newsletter + social posts—automatically in n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow converts a YouTube URL (or a provided transcript) into a complete newsletter issue plus repurposed X\/Twitter and LinkedIn content using OpenAI—returning everything as structured JSON (including a Markdown newsletter) via a webhook.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAccepts a POST webhook request\u003c\/strong\u003e with either a \u003ccode\u003eurl\u003c\/code\u003e (YouTube video URL) or a \u003ccode\u003etranscript\u003c\/code\u003e in the request body.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and validates the YouTube video ID\u003c\/strong\u003e from the provided URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches the transcript\u003c\/strong\u003e from \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e, or uses the transcript sent in the payload when available.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the transcript to OpenAI Chat Completions\u003c\/strong\u003e with instructions to produce structured output for a newsletter and repurposed social content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and normalizes the OpenAI response\u003c\/strong\u003e into fields such as subject line, main sections, key takeaways, an X\/Twitter thread, and a LinkedIn post.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates a Markdown newsletter\u003c\/strong\u003e version.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns all deliverables as JSON\u003c\/strong\u003e to the webhook caller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eRepurpose your YouTube content into a consistent \u003cstrong\u003enewsletter\u003c\/strong\u003e and social cadence for X\/Twitter and LinkedIn.\u003c\/li\u003e\n  \u003cli\u003eBuild a content pipeline where SaaS operators submit video URLs and receive ready-to-publish draft assets as JSON.\u003c\/li\u003e\n  \u003cli\u003eUse webhook-driven automation to turn long-form talks into structured summaries for campaigns.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/stack:\u003c\/strong\u003e Code, Webhook, HTTP Request, Respond to Webhook.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExternal services:\u003c\/strong\u003e OpenAI (Chat Completions) and transcript retrieval via \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSetup requirement:\u003c\/strong\u003e replace the OpenAI HTTP header \u003ccode\u003eAuthorization: Bearer YOUR_OPENAI_API_KEY\u003c\/code\u003e in the OpenAI request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptional config:\u003c\/strong\u003e set a fallback transcript endpoint URL in the transcript-fetching code.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003eIdeal for n8n automation engineers and SaaS operators who want a reliable \u003cstrong\u003eYouTube transcript to newsletter\u003c\/strong\u003e workflow with JSON outputs and a Markdown newsletter draft.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814416670899,"sku":"N8N-18022","price":12.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/zpEPS0TpyMhVX_i3O33qx_A5Tn54Qf.png?v=1786439002","url":"https:\/\/buyflowscripts.com\/products\/youtube-transcript-to-newsletter-social-posts-openai-in-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}