{"product_id":"n8n-webhook-turn-youtube-transcripts-into-newsletters-social-posts","title":"n8n Webhook: Turn YouTube Transcripts into Newsletters \u0026 Social Posts","description":"\u003ch3\u003eTurn any YouTube video into a complete newsletter + social posts—automatically via an n8n webhook.\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow accepts a YouTube URL through a webhook, converts (or ingests) the transcript, uses the OpenAI Chat Completions API to generate newsletter and social content, and returns both \u003cstrong\u003estructured JSON\u003c\/strong\u003e and a \u003cstrong\u003eready-to-publish 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 request\u003c\/strong\u003e containing a YouTube \u003cstrong\u003eurl\u003c\/strong\u003e (or \u003cstrong\u003ebody.url\u003c\/strong\u003e) and optionally a \u003cstrong\u003etranscript\u003c\/strong\u003e (or \u003cstrong\u003ebody.transcript\u003c\/strong\u003e).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and validates\u003c\/strong\u003e the YouTube video ID from the URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUses the provided transcript\u003c\/strong\u003e if included; otherwise it fetches captions from \u003cstrong\u003eyoutubetranscript.com\u003c\/strong\u003e and converts them into plain text.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls OpenAI (Chat Completions API)\u003c\/strong\u003e to generate:\n    \u003cul\u003e\n      \u003cli\u003eNewsletter components (e.g., subject line, sections, takeaways)\u003c\/li\u003e\n      \u003cli\u003eRepurposed content for \u003cstrong\u003eX\u003c\/strong\u003e (as a thread)\u003c\/li\u003e\n      \u003cli\u003eA \u003cstrong\u003eLinkedIn post\u003c\/strong\u003e\n\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and normalizes\u003c\/strong\u003e the OpenAI response into deliverables and builds a \u003cstrong\u003eMarkdown newsletter draft\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns everything\u003c\/strong\u003e 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\u003eSaaS teams repurpose product updates from YouTube into an email newsletter and LinkedIn\/X posts.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers build a “content ingestion” endpoint to generate drafts from links without manual transcription.\u003c\/li\u003e\n  \u003cli\u003eOperators centralize long-form video ideas and rapidly produce consistent newsletter + social repurposing.\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 trigger: POST payload with \u003ccode\u003eurl\u003c\/code\u003e and optional \u003ccode\u003etranscript\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHTTP Request\u003c\/strong\u003e to \u003cstrong\u003ehttps:\/\/youtubetranscript.com\/\u003c\/strong\u003e for caption retrieval (when transcript isn’t provided).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI Chat Completions API\u003c\/strong\u003e call (replace \u003ccode\u003eYOUR_OPENAI_API_KEY\u003c\/code\u003e in the Authorization header).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCode\u003c\/strong\u003e nodes for ID extraction, response parsing\/normalization, and Markdown draft construction.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRespond to Webhook\u003c\/strong\u003e node outputs structured JSON deliverables.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eRequires outbound HTTP access from your n8n instance to \u003cstrong\u003ehttps:\/\/youtubetranscript.com\/\u003c\/strong\u003e and \u003cstrong\u003ehttps:\/\/api.openai.com\/\u003c\/strong\u003e (or you can supply transcripts directly in the request body).\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45812005404851,"sku":"N8N-17980","price":19.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/BFfjh55tCqXMNAczoMAw0_TvLQbg2Q.png?v=1786352564","url":"https:\/\/buyflowscripts.com\/products\/n8n-webhook-turn-youtube-transcripts-into-newsletters-social-posts","provider":"N8N Commerce","version":"1.0","type":"link"}