Automation library · Content

Generate social media campaign images with Mistral

Started by an event in a connected app, and works across Google Drive. It hands the judgement calls to Mistral. 23 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: Mistral

23 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 1Model 4Logic 10Service 8

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Mistral Cloud Chat Model4Lm Chat Mistral CloudModel
  3. 3Structured Output Parser1Output Parser StructuredModel
  4. 4brand goalsGoogle DriveService
  5. 5brand profileGoogle DriveService
  6. 6image prompt generator base on the goalAgentModel
  7. 7Campaign Goal generatorAgentModel
  8. 8Merge profile and goalsMergeLogic
  9. 9separate each PromptsSetLogic
  10. 10clean retrived dataCodeLogic
  11. 11pollinations.aiHttp RequestService
  12. 12pollinations.ai2Http RequestService
  13. 13pollinations.ai3Http RequestService
  14. 14pollinations.ai4Http RequestService
  15. 15pollinations.ai5Http RequestService
  16. 16Change name to photo 1CodeLogic
  17. 17Change name to photo 2CodeLogic
  18. 18Change name to photo 3CodeLogic
  19. 19Change name to photo 4CodeLogic
  20. 20Change name to photo 5CodeLogic
  21. 21Merge image into one itemMergeLogic
  22. 22Send as 1 merged file1CodeLogic
  23. 23Upload fileGoogle DriveService

How it's built

Starts on
An event in a connected app
Steps
23
Size
Large: read it before trusting it with anything live
Connects to
Google Drive
Model
Mistral

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

Does it use AI?

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

How long does it take to set up?

Take your time. At 23 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 23 steps before you point it at anything that matters.