Generate viral social media carousels with xAI Grok for Instagram, TikTok, LinkedIn & X
Needs changesWhat 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).
- Fields: Get Theme and CTA (Edit Fields (Set)): sets 3 fields: theme, cta, nickname
- Test Params (Code): runs custom JavaScript code
- AI Agent: runs an AI agent, with model: xAI Grok Chat Model; output parser: Structured Output Parser
- Params Style Config (Code): runs custom JavaScript code
- Download file (Google Drive): download
- Get Slides And Set Params (Edit Fields (Set)): sets 3 fields: slides, paramsConfig, nickname
- Split Out: splits a list into separate items
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Respond to Webhook: sends the response back to the webhook caller
- Img 1 - Title (Edit Image): text
…plus 2 more steps. See the full node list below.
Services it uses
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.0 | Replace 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)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Image
n8n-nodes-base.editImage - Edit Fields (Set)
n8n-nodes-base.set - Split Out
n8n-nodes-base.splitOut - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - xAI Grok Chat Model
@n8n/n8n-nodes-langchain.lmChatXAiGrok - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - Manual Trigger
n8n-nodes-base.manualTrigger - Google Drive
n8n-nodes-base.googleDrive - Code
n8n-nodes-base.code
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…