Templates / Generate AI-powered LinkedIn posts with Ollama, image creation, and Gmail delivery

Generate AI-powered LinkedIn posts with Ollama, image creation, and Gmail delivery

Needs changes

by Aashit Sharma ✓ · 5,797 views · created 2025-06-05 · Content Creation, Multimodal AI

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

What this workflow does

This AI workflow has 13 nodes and runs when someone submits an n8n form (plus 1 other trigger). Along the way it connects HTTP Request, Ollama Chat Model and LinkedIn.

How it runs

Trigger: When someone submits an n8n form (plus 1 other trigger).

  1. LinkedIn Post Agent (AI Agent): runs an AI agent, with model: Ollama Chat Model; 1 tool (Tavily)
  2. Generate Image (HTTP Request): calls an HTTP API
  3. Image Prompt Agent (AI Agent): runs an AI agent, with model: Ollama Chat Model
  4. Convert to File: converts data to a file
  5. Generate Image (HTTP Request): calls an HTTP API
  6. Download Image (HTTP Request): calls an HTTP API
  7. Send Email: sends an email over SMTP
  8. LinkedIn: uses LinkedIn

Services it uses

HTTP RequestOllama Chat ModelLinkedIn

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • AI Agent v1 (old agent modes) in LinkedIn Post Agent (v1.9), Image Prompt Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • HTTP Request Tool (legacy) in Tavily: replace with HTTP Request node connected to the AI Agent's Tool input.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
LinkedIn Post Agent (v1.9), Image Prompt Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
HTTP Request Tool (legacy)
Tavily
HTTP Request node connected to the AI Agent's Tool input

Nodes used (9)

From the author

This automation flow is designed to generate professional, research-backed LinkedIn posts based on a user-submitted topic and audience, enhance it with a visually aligned image prompt, and then automatically send the post and image via Gmail and/or publish it…

Excerpt from Aashit Sharma'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.