{"product_id":"n8n-workflow-generate-social-posts-from-youtube-website-w-openai","title":"n8n Workflow: Generate Social Posts from YouTube \u0026 Website w\/ OpenAI","description":"\u003ch3\u003eTurn a YouTube video + website context into ready-to-post social content—automatically\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003en8n workflow\u003c\/strong\u003e uses \u003cstrong\u003eOpenAI\u003c\/strong\u003e to generate platform-ready social posts from a \u003cstrong\u003eYouTube video\u003c\/strong\u003e and \u003cstrong\u003ewebsite HTML\u003c\/strong\u003e, saves the results into \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and also provides a chat endpoint that can incorporate an \u003cstrong\u003euploaded image\u003c\/strong\u003e or \u003cstrong\u003eJSON\/text file\u003c\/strong\u003e for enhanced post generation with \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStart modes:\u003c\/strong\u003e run manually, or via an \u003cstrong\u003en8n chat webhook\u003c\/strong\u003e that accepts a message and optional file upload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eManual run content gathering:\u003c\/strong\u003e fetches the latest \u003cstrong\u003eYouTube\u003c\/strong\u003e video details, downloads HTML from \u003cstrong\u003eselwynbuilds.com\u003c\/strong\u003e, then combines both into a single prompt.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI multi-platform generation:\u003c\/strong\u003e generates structured social posts for \u003cstrong\u003eX\u003c\/strong\u003e, \u003cstrong\u003eFacebook\u003c\/strong\u003e, \u003cstrong\u003eYouTube Community\u003c\/strong\u003e, \u003cstrong\u003eLinkedIn\u003c\/strong\u003e, \u003cstrong\u003eInstagram\u003c\/strong\u003e, \u003cstrong\u003eReddit\u003c\/strong\u003e, and \u003cstrong\u003eDiscord\u003c\/strong\u003e, returning them as \u003cstrong\u003estructured JSON\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSave outputs:\u003c\/strong\u003e appends the generated posts as a new row in \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChat run routing:\u003c\/strong\u003e uses the request type (image, file, or text-only) to decide how to process the input.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImage support (Gemini):\u003c\/strong\u003e if an image is uploaded, \u003cstrong\u003eGoogle Gemini (PaLM)\u003c\/strong\u003e describes it, and the workflow uses that description plus the user message to generate posts via \u003cstrong\u003eOpenAI\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFile\/JSON support:\u003c\/strong\u003e if a file is uploaded, it reads the file as text, asks OpenAI to explain what the JSON does, then combines that analysis with the user message to generate structured multi-platform posts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003ePublishing consistent social posts from each new \u003cstrong\u003eYouTube\u003c\/strong\u003e upload with the right messaging.\u003c\/li\u003e\n  \u003cli\u003eGenerating campaign variants for \u003cstrong\u003eSaaS operators\u003c\/strong\u003e and marketers directly into \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUsing \u003cstrong\u003en8n chat\u003c\/strong\u003e to generate posts based on an uploaded image or an existing workflow JSON spec.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e YouTube OAuth2, \u003cstrong\u003eOpenAI\u003c\/strong\u003e, Google Sheets OAuth2, \u003cstrong\u003eGoogle Gemini (PaLM) API\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey nodes\/tech stack:\u003c\/strong\u003e set, code, merge, switch, YouTube, HTTP Request.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOutput format:\u003c\/strong\u003e structured JSON posts appended to Google Sheets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSetup note:\u003c\/strong\u003e add your credentials for YouTube, OpenAI, Google Sheets, and Gemini, and update the target \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e configuration.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45869896040627,"sku":"N8N-18433","price":3.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Xq0p-cFzR_Kts0mWzyzZp_wmKxhODK.png?v=1787130631","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-generate-social-posts-from-youtube-website-w-openai","provider":"N8N Commerce","version":"1.0","type":"link"}