Generate complete social media campaigns with DALL·E, GPT-4o and Slack approval
Needs changesWhat this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Slack. It also calls api.cloudinary.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Clean & Normalize Product Input Fields (Edit Fields (Set)): sets 6 fields: body.product_name, body.product_description, body.target_audience…
- Slack: uses Slack
- Generate Campaign Blueprint Using AI (AI Agent): runs an AI agent, with model: LLM Engine for Campaign Blueprint; output parser: Parse Campaign Blueprint JSON
- Generate Instagram Captions Using AI (AI Agent): runs an AI agent, with model: LLM Engine for Caption Writing; output parser: Parse Caption Output JSON
- Split Campaign Posts for Image Generation (Split Out): splits a list into separate items
- Generate Hashtag Set Using AI (AI Agent): runs an AI agent, with model: LLM Engine for Hashtag Generation; output parser: Parse Hashtag Output JSON
- Combine All Campaign Assets (Merge): merges the data from its input branches
- Generate Social Media Image Using AI (OpenAI): work with image
- Generate Optimal Posting Schedule Using AI (AI Agent): runs an AI agent, with model: LLM Engine for Posting Schedule; output parser: Parse Posting Schedule Output JSON
- Prepare Final Campaign Package JSON (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: api.cloudinary.com
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- OpenAI (legacy) in Generate Social Media Image Using AI: replace with OpenAI node (AI section).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| OpenAI (legacy) Generate Social Media Image Using AI | OpenAI node (AI section) |
Nodes used (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Split Out
n8n-nodes-base.splitOut - OpenAI
n8n-nodes-base.openAi - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Slack
n8n-nodes-base.slack - Code
n8n-nodes-base.code - Error Trigger
n8n-nodes-base.errorTrigger
From the author
📘 Description This workflow turns raw product inputs into a complete, launch-ready AI-generated social media campaign package. It accepts product details via webhook, sanitizes messy fields, generates a strategic campaign blueprint, produces Instagram…