{"product_id":"n8n-workflow-turn-youtube-transcripts-into-openai-newsletters","title":"n8n Workflow: Turn YouTube Transcripts into OpenAI Newsletters","description":"\u003ch3\u003eTurn any YouTube video into a ready-to-send OpenAI newsletter—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow takes a YouTube URL (via webhook), extracts or accepts the transcript, sends it to the OpenAI Chat Completions API, and returns a complete “news issue” plus repurposed social posts for X and LinkedIn—all delivered back as structured JSON including a ready-to-paste Markdown newsletter.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a POST webhook\u003c\/strong\u003e with a \u003ccode\u003eurl\u003c\/code\u003e (or video ID) and optionally a raw \u003ccode\u003etranscript\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts the YouTube video ID\u003c\/strong\u003e from the submitted URL or validates the provided ID.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses the provided transcript when available\u003c\/strong\u003e. If not provided, it retrieves captions from \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e, then parses them into plain text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the transcript to OpenAI\u003c\/strong\u003e (Chat Completions) to generate a structured JSON payload containing newsletter sections, key takeaways, an X thread, a LinkedIn post, and a call to action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNormalizes the output\u003c\/strong\u003e into consistent fields and builds a formatted \u003cstrong\u003enewsletter Markdown\u003c\/strong\u003e document.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eResponds to the webhook\u003c\/strong\u003e with a JSON payload including source video info, generated content, and the Markdown output.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePublish a newsletter from YouTube content by triggering the workflow from your web app or scheduler.\u003c\/li\u003e\n  \u003cli\u003eTurn creator interviews or product demo videos into consistent OpenAI-generated newsletter issues.\u003c\/li\u003e\n  \u003cli\u003eRepurpose the same source transcript into an \u003cstrong\u003eX\u003c\/strong\u003e thread and a \u003cstrong\u003eLinkedIn\u003c\/strong\u003e post without manual rewriting.\u003c\/li\u003e\n  \u003cli\u003eRun batch automation: submit multiple video URLs to generate newsletters at scale via webhook.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eNodes\/tech 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 API, youtubetranscript.com\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey setup:\u003c\/strong\u003e add your OpenAI API key by updating the Authorization header in the OpenAI Chat Completions request.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eIf \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e is blocked for your videos, pass the \u003ccode\u003etranscript\u003c\/code\u003e directly in the webhook request body.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814417031347,"sku":"N8N-18019","price":38.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/k3DiQQHPk-9nan0kWc334_x7VG770h.png?v=1786439073","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-turn-youtube-transcripts-into-openai-newsletters","provider":"N8N Commerce","version":"1.0","type":"link"}