{"product_id":"n8n-linkedin-carousel-slide-rendering-gemini-google-drive","title":"n8n LinkedIn Carousel Slide Rendering: Gemini + Google Drive","description":"\u003ch3\u003eRender LinkedIn carousel slides with Google Gemini—optionally save previews to Google Drive\u003c\/h3\u003e\n\u003cp\u003eThis n8n sub-workflow generates a single LinkedIn carousel slide image using \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e, uploads it to LinkedIn via the \u003cstrong\u003eImages API\u003c\/strong\u003e, and returns only the resulting \u003cstrong\u003eimage URN\u003c\/strong\u003e (plus slide metadata) to your parent workflow.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives slide configuration\u003c\/strong\u003e from a parent workflow execution (including the image prompt, slide index, LinkedIn owner URN, and rendering options like aspect ratio and image size).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates required inputs\u003c\/strong\u003e and stops with a clear error if any required fields are missing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalls the Google Gemini image generation API\u003c\/strong\u003e to render the slide based on your prompt and the specified output settings.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and converts the generated image\u003c\/strong\u003e into binary for upload, and \u003cstrong\u003eretries up to three times\u003c\/strong\u003e if no usable image is returned or if the image exceeds LinkedIn’s size limit.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOptionally uploads a preview to Google Drive\u003c\/strong\u003e to provide a shareable preview URL.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eUploads the image to LinkedIn\u003c\/strong\u003e using the LinkedIn Images API and returns only: the \u003cstrong\u003eLinkedIn image URN\u003c\/strong\u003e, \u003cstrong\u003eslide index\u003c\/strong\u003e, \u003cstrong\u003ealt text\u003c\/strong\u003e, and the optional \u003cstrong\u003eDrive preview URL\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomate the creation of \u003cstrong\u003eLinkedIn carousel content\u003c\/strong\u003e from prompts—ensuring each slide is generated and uploaded reliably.\u003c\/li\u003e\n  \u003cli\u003eBuild a SaaS workflow that generates carousel visuals on demand, while controlling aspect ratio and image size for LinkedIn.\u003c\/li\u003e\n  \u003cli\u003eKeep a \u003cstrong\u003eGoogle Drive preview\u003c\/strong\u003e for internal review before publishing to LinkedIn.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Gemini image generation\u003c\/strong\u003e API for rendering slide images\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLinkedIn Images API\u003c\/strong\u003e for upload (returns image URN for parent workflow use)\u003c\/li\u003e\n  \u003cli\u003eOptional \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e integration to save preview links\u003c\/li\u003e\n  \u003cli\u003en8n nodes used: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003emerge\u003c\/strong\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e, \u003cstrong\u003egoogle drive\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e\n\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45978930741427,"sku":"N8N-19316","price":78.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/c81I2ZsbC_DcpL7NKJy90_ZXfRAtok.png?v=1788859778","url":"https:\/\/buyflowscripts.com\/products\/n8n-linkedin-carousel-slide-rendering-gemini-google-drive","provider":"N8N Commerce","version":"1.0","type":"link"}