Templates / Render LinkedIn carousel slides with Google Gemini and Google Drive

Render LinkedIn carousel slides with Google Gemini and Google Drive

Ready for 3.0

by Prakhyat ✓ · 4 views · created 2026-09-07 · Content Creation, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 11 nodes and runs when another workflow calls it. Along the way it connects Google Drive. It also calls generativelanguage.googleapis.com and api.linkedin.com over HTTP.

How it runs

Trigger: When another workflow calls it.

  1. Validate Slide Input (Code): runs custom JavaScript code
  2. Generate Slide Image (HTTP Request): calls generativelanguage.googleapis.com (POST)
  3. Convert Base64 to Binary (Code): runs custom JavaScript code
  4. Has Image? (If): checks a condition and branches into true / false
  5. Upload Preview to Drive (Google Drive): uses Google Drive
  6. Merge: merges the data from its input branches
  7. Retry Guard (Code): runs custom JavaScript code
  8. LinkedIn: Initialize Upload (HTTP Request): calls api.linkedin.com (POST)
  9. Upload Image Bytes (HTTP Request): calls an HTTP API (PUT)
  10. Return URN Only (Code): runs custom JavaScript code

Services it uses

Google Drive

HTTP calls to: generativelanguage.googleapis.com, api.linkedin.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (6)

From the author

Quick overview This sub-workflow is executed by a parent workflow to generate a single slide image with Google Gemini, optionally save a preview to Google Drive, upload the image to LinkedIn via the Images API, and return only the resulting image URN and…

Excerpt from Prakhyat's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.