Templates / Generate social posts and images with Claude, Gemini, and OpenAI

Generate social posts and images with Claude, Gemini, and OpenAI

Ready for 3.0

by Javed Iqbal ✓ · 17 views · created 2026-09-29 · 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 24 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Anthropic Chat Model, Google Gemini Chat Model and OpenAI Chat Model. It also calls api.openai.com and generativelanguage.googleapis.com over HTTP.

How it runs

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

  1. Settings (Edit Fields (Set)): sets 1 field: image_generation_enabled
  2. Test Input (Edit Fields (Set)): sets or maps fields
  3. Validate Input (Code): runs custom JavaScript code
  4. Is Valid? (If): checks a condition and branches into true / false
  5. Route by Provider (Switch): routes items into 3 branches
  6. Respond Bad Request (Respond to Webhook): sends the response back to the webhook caller
  7. Generate Social Content (Claude) (Basic LLM Chain): sends a prompt to an LLM, with model: Anthropic Chat Model; output parser: Structured Output Parser
  8. Generate Social Content (Gemini) (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
  9. Generate Social Content (OpenAI) (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model; output parser: Structured Output Parser
  10. Image Requested? (If): checks a condition and branches into true / false

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

Services it uses

Anthropic Chat ModelGoogle Gemini Chat ModelOpenAI Chat Model

HTTP calls to: api.openai.com, generativelanguage.googleapis.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.

Nodes used (13)

From the author

Quick overview This workflow receives a webhook request with a topic and context, generates platform-specific copy for LinkedIn, X, Facebook, and Instagram using Anthropic Claude, Google Gemini, or OpenAI, optionally creates a matching image via OpenAI Images…

Excerpt from Javed 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.