{"product_id":"n8n-webhook-turn-youtube-transcripts-into-newsletter-social-posts","title":"n8n Webhook: Turn YouTube Transcripts into Newsletter \u0026 Social Posts","description":"\u003ch3\u003eTurn any YouTube transcript into a newsletter + social posts—automatically\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow receives a YouTube URL (or an optional transcript) via webhook, pulls the transcript, uses OpenAI Chat Completions to generate a full newsletter issue and repurposed content for X (Twitter) and LinkedIn, and returns both \u003cstrong\u003estructured JSON\u003c\/strong\u003e and a \u003cstrong\u003eready-to-send Markdown draft\u003c\/strong\u003e.\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 request\u003c\/strong\u003e containing a \u003ccode\u003eurl\u003c\/code\u003e field for the YouTube video and optionally a \u003ccode\u003etranscript\u003c\/code\u003e.\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 when no transcript is supplied, or uses your provided transcript if included.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls OpenAI Chat Completions\u003c\/strong\u003e with the transcript and strict instructions to output \u003cstrong\u003estrict JSON\u003c\/strong\u003e for newsletter and social repurposing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and normalizes the AI response\u003c\/strong\u003e into structured fields such as subject line, sections, takeaways, an X thread, a LinkedIn post, and a call to action.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds a Markdown newsletter draft\u003c\/strong\u003e and returns everything as a JSON response to the webhook caller.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eGenerate a weekly newsletter issue from a YouTube talk and publish it as Markdown in your CMS pipeline.\u003c\/li\u003e\n  \u003cli\u003eRepurpose a single video transcript into an \u003cstrong\u003eX (Twitter) thread\u003c\/strong\u003e and a \u003cstrong\u003eLinkedIn post\u003c\/strong\u003e without manual rewriting.\u003c\/li\u003e\n  \u003cli\u003eAutomate content ops for SaaS teams by triggering newsletter creation from a URL link and receiving clean JSON for downstream publishing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e to accept POST requests (via n8n webhook trigger).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e for YouTube ID extraction, input validation, and response normalization.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHTTP Request\u003c\/strong\u003e to fetch transcripts from \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e when needed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI Chat Completions\u003c\/strong\u003e to generate newsletter + social content as \u003cstrong\u003estrict JSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRespond to Webhook\u003c\/strong\u003e to return structured JSON and the Markdown draft.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cstrong\u003eSetup note:\u003c\/strong\u003e Provide your OpenAI API key (e.g., in the HTTP request Authorization header) or use an n8n OpenAI credential-based node, then activate the webhook and send JSON with a \u003ccode\u003eurl\u003c\/code\u003e (and optional \u003ccode\u003etranscript\u003c\/code\u003e).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45822093787315,"sku":"N8N-18073","price":69.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/RqYAOJVfcus1wj4kRUbOq_1BlXOoCl.png?v=1786525911","url":"https:\/\/buyflowscripts.com\/products\/n8n-webhook-turn-youtube-transcripts-into-newsletter-social-posts","provider":"N8N Commerce","version":"1.0","type":"link"}