Templates / Auto-generate LinkedIn content with Gemini AI: posts & images 24/7

Auto-generate LinkedIn content with Gemini AI: posts & images 24/7

Needs changes

by Muhammad Farooq Iqbal ✓ · 3,291 views · created 2025-08-15 · Social Media, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on Google Sheets events. Along the way it connects Google Sheets, Google Gemini Chat Model, Google Gemini and Google Drive. It also calls api.linkedin.com over HTTP.

How it runs

Trigger: On Google Sheets events.

  1. If: checks a condition and branches into true / false
  2. Limit: keeps the first few items
  3. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  4. Code: runs custom JavaScript code
  5. Generate Image with Gemini (Google Gemini): work with image
  6. Upload file (Google Drive): uses Google Drive
  7. Share file (Google Drive): share
  8. Update row in sheet (Google Sheets): update
  9. HTTP Request: calls api.linkedin.com
  10. Register Image Upload (HTTP Request): calls api.linkedin.com (POST)

…plus 4 more steps. See the full node list below.

Services it uses

Google SheetsGoogle Gemini Chat ModelGoogle GeminiGoogle Drive

HTTP calls to: api.linkedin.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (11)

From the author

🔄 How It Works - LinkedIn Post with Image Automation Overview This n8n automation creates and publishes LinkedIn posts with AI-generated images automatically. It's a complete end-to-end solution that transforms simple post titles into engaging social media…

Excerpt from Muhammad Farooq Iqbal'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.