Automation library · Content

Generate complete social media campaigns with DALL and OpenAI

Started by another system calling it, and works across Slack. It hands the judgement calls to OpenAI. 22 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

22 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 13Logic 4Service 3

The steps in the order they run, from what starts it.

  1. 1Receive Product Details via WebhookWebhookStarts it
  2. 2Parse Campaign Blueprint JSONOutput Parser StructuredModel
  3. 3LLM Engine for Campaign BlueprintLm Chat Open AiModel
  4. 4LLM Engine for Caption WritingLm Chat Open AiModel
  5. 5Parse Caption Output JSONOutput Parser StructuredModel
  6. 6LLM Engine for Hashtag GenerationLm Chat Open AiModel
  7. 7Parse Hashtag Output JSONOutput Parser StructuredModel
  8. 8Parse Posting Schedule Output JSONOutput Parser StructuredModel
  9. 9LLM Engine for Posting ScheduleLm Chat Open AiModel
  10. 10Error Handler TriggerError triggerStarts it
  11. 11Clean & Normalize Product Input FieldsSetLogic
  12. 12Generate Campaign Blueprint Using AIAgentModel
  13. 13Generate Instagram Captions Using AIAgentModel
  14. 14Generate Hashtag Set Using AIAgentModel
  15. 15Generate Optimal Posting Schedule Using AIAgentModel
  16. 16Slack: Send Error AlertSlackService
  17. 17Split Campaign Posts for Image GenerationSplit OutLogic
  18. 18Combine All Campaign AssetsMergeLogic
  19. 19Generate Social Media Image Using AIOpen AiModel
  20. 20Prepare Final Campaign Package JSONCodeLogic
  21. 21Upload Generated Image to CloudinaryHttp RequestService
  22. 22Send Final Campaign Package to SlackSlackService

How it's built

Starts on
Another system calling it
Steps
22
Size
Large: read it before trusting it with anything live
Connects to
Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Slack account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.