Templates / Generate LinkedIn posts with Gemini content & Imagen images for instant publishing

Generate LinkedIn posts with Gemini content & Imagen images for instant publishing

Ready for 3.0

by Naitik Joshi · 1,622 views · created 2025-08-01 · 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 AI workflow has 12 nodes and runs when someone submits an n8n form (“LinkedIn Post Generator ”). Along the way it connects Google Gemini Chat Model. It also calls us-central1-aiplatform.googleapis.com and api.linkedin.com over HTTP.

How it runs

Trigger: When someone submits an n8n form (“LinkedIn Post Generator ”).

  1. Mapper (Edit Fields (Set)): sets 1 field: chatInput
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model
  3. Normalizer (Code): runs custom JavaScript code
  4. Text to image (HTTP Request): calls us-central1-aiplatform.googleapis.com (POST)
  5. Register Image Upload (HTTP Request): calls api.linkedin.com (POST)
  6. Convert to binary buffer (Code): runs custom JavaScript code
  7. Upload Image to LinkedIn (HTTP Request): calls an HTTP API (PUT)
  8. Code: runs custom JavaScript code
  9. Wait: waits 60 seconds
  10. HTTP Request: calls api.linkedin.com (POST)

Services it uses

Google Gemini Chat Model

HTTP calls to: us-central1-aiplatform.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 (7)

From the author

🚀 AI-Powered LinkedIn Post Generator with Automated Image Creation 📋 Overview Transform any topic into professional LinkedIn posts with AI-generated content and custom images! This workflow automates the entire process from topic input to published LinkedIn…

Excerpt from Naitik Joshi'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.