workflows.fit
Back to n8n workflows
n8n templateFreeBy Rahul Joshi

Generate complete social media campaigns with DALL·E, GPT-4o and Slack approval

📘 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 cam...

DevelopmentCore NodesCommunicationHITLUtilityAILangchainWebhook
Loading interactive preview...

Template notes

📘 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 captions, creates discovery-optimized hashtags, generates photorealistic commercial images, computes optimal posting times, assembles all outputs into a unified JSON package, and finally delivers the entire campaign to Slack. Multiple AI agents work in sequence to generate structured outputs — each parsed and validated using strict JSON schemas. Images produced by DALL·E 3 are uploaded to Cloudinary for hosting. A post-processing module then merges captions, images, hashtags, and schedules into a final payload. A robust error handler ensures every failure is captured and sent to Slack with diagnostic information. This workflow replaces an entire marketing team’s creative production pipeline, producing consistent, multi-asset campaign kits in minutes.

⚙️ What This Workflow Does (Step-by-Step)

🟢 Receive Product Details via Webhook Captures incoming product data including name, description, benefits, audience, and brand voice.

🧹 Clean & Normalize Product Input Fields Sanitizes escaped characters, trims whitespace, and prepares stable fields for AI consumption.

🧠 Generate Campaign Blueprint Using AI Creates a full strategic blueprint in structured JSON: • Article summary • Insights • Tone and target audience mapping • Platform-specific post objects

🧠 LLM Engine + Structured Parser for Blueprint Ensures blueprint output is clean, validated JSON aligned with schema.

✍️ Generate Instagram Captions Using AI Produces five short, conversion-ready captions + CTAs, based on blueprint insights.

🧠 Caption LLM + Structured Parser Validates caption schema for downstream use.