Templates / Generate and schedule LinkedIn, X, and Instagram posts with OpenAI agents

Generate and schedule LinkedIn, X, and Instagram posts with OpenAI agents

Needs changes

by Oneclick AI Squad ✓ · 378 views · created 2026-04-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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 26 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model. It also calls api.openai.com, api.linkedin.com and api.twitter.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Normalize Input (Edit Fields (Set)): sets 6 fields: topic, industry, targetAudience…
  2. Agent 1 - Trend Research AI (AI Agent): runs an AI agent, with model: OpenAI - Agent 1 Model
  3. JS - Parse & Validate Trend Report (Code): runs custom JavaScript code
  4. Wait: pauses before continuing
  5. Agent 2 - Content Generation AI (AI Agent): runs an AI agent, with model: OpenAI - Agent 2 Model
  6. JS - Parse & Validate Content Bundle (Code): runs custom JavaScript code
  7. Gate - Content Generation Succeeded? (Filter): keeps only the items that match a condition
  8. DALL-E - Generate LinkedIn Image (HTTP Request): calls api.openai.com (POST)
  9. DALL-E - Generate Twitter Image (HTTP Request): calls api.openai.com (POST)
  10. DALL-E - Generate Instagram Image (HTTP Request): calls api.openai.com (POST)

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

Services it uses

OpenAI Chat Model

HTTP calls to: api.openai.com, api.linkedin.com, api.twitter.com, sheets.googleapis.com, api.sendgrid.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 Agent 1 - Trend Research AI (v1.6), Agent 2 - Content Generation AI (v1.6): 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).

Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →

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.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Agent 1 - Trend Research AI (v1.6), Agent 2 - Content Generation AI (v1.6)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (10)

From the author

This workflow orchestrates three specialized AI agents in sequence to research trends, generate platform-specific content (captions + images), and schedule posts across LinkedIn, X (Twitter), and Instagram. Who's it for • Social media managers handling…

Excerpt from Oneclick AI Squad'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.