Templates / Ai-powered social media content generator & publisher

Ai-powered social media content generator & publisher

Needs changes

by Amjid Ali ✓ · 115,366 views · created 2025-02-20 · 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 20 nodes and runs when someone submits an n8n form. Along the way it connects Google Gemini Chat Model, Facebook Graph API, LinkedIn and X (Formerly Twitter).

How it runs

Trigger: When someone submits an n8n form.

  1. Split Form Input (Edit Fields (Set)): sets or maps fields
  2. Split Data (Edit Fields (Set)): sets or maps fields
  3. Data for AI (Edit Fields (Set)): sets or maps fields
  4. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  5. Aggregate: combines items into one
  6. Upload Image (n8n Form): shows the next form page
  7. Nest Top Meta (Edit Fields (Set)): sets or maps fields
  8. Rename Image Binary Top Image (Code): runs custom JavaScript code
  9. X (X (Formerly Twitter)): uses X (Formerly Twitter)
  10. Publish to LinkedIn (LinkedIn): uses LinkedIn

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

Services it uses

Google Gemini Chat ModelFacebook Graph APILinkedInX (Formerly Twitter)

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.7): 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.7)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

From the author

AI-Powered Social Media Content Generator & Publisher 🚀 This AI-driven n8n workflow automates social media content creation and publishing across LinkedIn, Instagram, Facebook, and Twitter (X). It generates engaging, platform-optimized posts using Google…

Excerpt from Amjid Ali'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.