{"product_id":"youtube-transcript-newsletter-social-posts-openai-n8n-webhook-1","title":"YouTube Transcript → Newsletter \u0026 Social Posts (OpenAI) n8n Webhook","description":"\u003ch3\u003eTurn any YouTube video into a ready-to-send newsletter + social posts—via a single n8n webhook\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eYouTube Transcript → Newsletter \u0026amp; Social Posts (OpenAI) n8n Webhook\u003c\/strong\u003e workflow receives a YouTube URL, pulls (or accepts) the transcript, uses the \u003cstrong\u003eOpenAI Chat Completions API\u003c\/strong\u003e to generate a newsletter issue plus \u003cstrong\u003eX (Twitter)\u003c\/strong\u003e and \u003cstrong\u003eLinkedIn\u003c\/strong\u003e repurposed content, and returns both \u003cstrong\u003estructured JSON\u003c\/strong\u003e and a \u003cstrong\u003eMarkdown draft\u003c\/strong\u003e in one response.\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 \u003ccode\u003eurl\u003c\/code\u003e (and optionally \u003ccode\u003etranscript\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and validates\u003c\/strong\u003e the YouTube video ID from the provided URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses your transcript if provided\u003c\/strong\u003e; otherwise fetches captions from \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e and converts them into plain text.\u003c\/li\u003e\n  \u003cli\u003eSends the transcript to the \u003cstrong\u003eOpenAI Chat Completions API\u003c\/strong\u003e to generate: subject line, preview text, \u003cstrong\u003efour newsletter sections\u003c\/strong\u003e, takeaways, an \u003cstrong\u003eX thread\u003c\/strong\u003e, a \u003cstrong\u003eLinkedIn post\u003c\/strong\u003e, and a call to action—returned as \u003cstrong\u003estrict JSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and normalizes\u003c\/strong\u003e the AI output into consistent fields, using fallbacks if parsing fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a newsletter Markdown document\u003c\/strong\u003e including the source video link, sections, takeaways, and the repurposed posts—then returns everything as a \u003cstrong\u003eJSON response\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePublish newsletters from internal or creator YouTube content without manual rewriting.\u003c\/li\u003e\n  \u003cli\u003eRepurpose weekly video insights into consistent \u003cstrong\u003enewsletter + X + LinkedIn\u003c\/strong\u003e campaigns.\u003c\/li\u003e\n  \u003cli\u003eUse the webhook as a trigger for your own publishing pipeline (store JSON fields, post Markdown, or render templates).\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes:\u003c\/strong\u003e Webhook, Code, HTTP Request, Respond to Webhook.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExternal services:\u003c\/strong\u003e \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e (caption fetching) and \u003cstrong\u003eOpenAI Chat Completions API\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eRequires an \u003cstrong\u003eOpenAI API key\u003c\/strong\u003e set in the workflow’s Authorization header for the Chat Completions request.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45814417490099,"sku":"N8N-18013","price":13.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/5dOPpfPPIOwhRg9orC-V7_TXAf2orE.png?v=1786439207","url":"https:\/\/buyflowscripts.com\/products\/youtube-transcript-newsletter-social-posts-openai-n8n-webhook-1","provider":"N8N Commerce","version":"1.0","type":"link"}