# Generate social media campaign images with Mistral: n8n workflow

> Started by an event in a connected app, and works across Google Drive. It hands the judgement calls to Mistral.

Source: https://millionrounds.com/workflow/generate-social-media-campaign-images-with-mistral (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# 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.

Large Calls a model: Mistral

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-social-media-campaign-images-with-mistral)

**23 steps** Large: read it before trusting it with anything live

**0** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 10 Service 8

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

- 1 **When clicking ‘Test workflow’** Manual trigger *Starts it*
- 2 **Mistral Cloud Chat Model4** Lm Chat Mistral Cloud *Model*
- 3 **Structured Output Parser1** Output Parser Structured *Model*
- 4 **brand goals** Google Drive *Service*
- 5 **brand profile** Google Drive *Service*
- 6 **image prompt generator base on the goal** Agent *Model*
- 7 **Campaign Goal generator** Agent *Model*
- 8 **Merge profile and goals** Merge *Logic*
- 9 **separate each Prompts** Set *Logic*
- 10 **clean retrived data** Code *Logic*
- 11 **pollinations.ai** Http Request *Service*
- 12 **pollinations.ai2** Http Request *Service*
- 13 **pollinations.ai3** Http Request *Service*
- 14 **pollinations.ai4** Http Request *Service*
- 15 **pollinations.ai5** Http Request *Service*
- 16 **Change name to photo 1** Code *Logic*
- 17 **Change name to photo 2** Code *Logic*
- 18 **Change name to photo 3** Code *Logic*
- 19 **Change name to photo 4** Code *Logic*
- 20 **Change name to photo 5** Code *Logic*
- 21 **Merge image into one item** Merge *Logic*
- 22 **Send as 1 merged file1** Code *Logic*
- 23 **Upload file** Google Drive *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-social-media-campaign-images-with-mistral)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Automate LinkedIn posts with Google Sheets** 23 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-linkedin-posts-with-google-sheets)
- [**Automated POV video creation with YouTube** 23 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automated-pov-video-creation-with-youtube)
- [**Bulk YouTube channel content analysis with Apify and DeepSeek** 23 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/bulk-youtube-channel-content-analysis-with-apify-and-deepsee)
- [**Create captioned vertical video clips from Google Drive** 23 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-captioned-vertical-video-clips-from-google-drive)
- [**Faceless video with OpenAI and Google Drive** 23 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/faceless-video-with-openai-and-google-drive)
- [**Generate viral Bigfoot vlog videos with Veo 3** 23 steps · calls a model · Google Drive, Slack](https://millionrounds.com/workflow/generate-viral-bigfoot-vlog-videos-with-veo-3)
