Templates / Generate viral social media carousels with xAI Grok for Instagram, TikTok, LinkedIn & X

Generate viral social media carousels with xAI Grok for Instagram, TikTok, LinkedIn & X

Needs changes

by Lucas Correia ✓ · 1,870 views · created 2025-11-19 · Content Creation, 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 16 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects xAI Grok Chat Model and Google Drive.

How it runs

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

  1. Fields: Get Theme and CTA (Edit Fields (Set)): sets 3 fields: theme, cta, nickname
  2. Test Params (Code): runs custom JavaScript code
  3. AI Agent: runs an AI agent, with model: xAI Grok Chat Model; output parser: Structured Output Parser
  4. Params Style Config (Code): runs custom JavaScript code
  5. Download file (Google Drive): download
  6. Get Slides And Set Params (Edit Fields (Set)): sets 3 fields: slides, paramsConfig, nickname
  7. Split Out: splits a list into separate items
  8. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  9. Respond to Webhook: sends the response back to the webhook caller
  10. Img 1 - Title (Edit Image): text

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

Services it uses

xAI Grok Chat ModelGoogle Drive

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 (12)

From the author

AI Automated "Viral Style" Carousels Generator for Instagram, TikTok, LinkedIn, or X 🚀 Overview Automate your social media content creation with this powerful n8n workflow! Generate engaging, viral-style carousels for Instagram, TikTok, LinkedIn, or X…

Excerpt from Lucas Correia'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.