# Generate real-estate marketing images and videos with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Gmail, Google Drive and Google Sheets. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-real-estate-marketing-images-and-videos-with-openai (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 real-estate marketing images and videos with OpenAI

Started by someone submitting a form, and works across Gmail, Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 22 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-real-estate-marketing-images-and-videos-with-openai)

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

**1** Branch: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 6 Logic 3 Service 12

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

- 1 **On form submission** Form trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **OpenAI Chat Model1** Lm Chat Open Ai *Model*
- 4 **Append row in sheet** Google Sheets *Service*
- 5 **AI Agent** Agent *Model*
- 6 **AI Agent1** Agent *Model*
- 7 **Append or update row in sheet** Google Sheets *Service*
- 8 **HTTP Request** Http Request *Service*
- 9 **Generate an image2** Open Ai *Model*
- 10 **Generate a video** Open Ai *Model*
- 11 **Upload file** Google Drive *Service*
- 12 **Upload file1** Google Drive *Service*
- 13 **Append or update row in sheet1** Google Sheets *Service*
- 14 **Wait1** Wait *Logic*
- 15 **Wait** Wait *Logic*
- 16 **Share file1** Google Drive *Service*
- 17 **Share file** Google Drive *Service*
- 18 **Append or update row in sheet2** Google Sheets *Service*
- 19 **Send message and wait for response** Gmail *Service*
- 20 **Switch** Switch *Logic*
- 21 **Form** Form *Service*
- 22 **Send a message** Gmail *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 22, with 1 branch, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Drive, Google Sheets
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on someone submitting a form.

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.

## 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-real-estate-marketing-images-and-videos-with-openai)
- **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.

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

## Workflows like it

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

- [**Analyze YouTube comments and generate video ideas with Gemini** 22 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/analyze-youtube-comments-and-generate-video-ideas-with-gemin)
- [**Author and publish blog posts from Google Sheets with OpenAI** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/author-and-publish-blog-posts-from-google-sheets-with-openai-2)
- [**Author and publish blog posts from Google Sheets with OpenAI** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/author-and-publish-blog-posts-from-google-sheets-with-openai)
- [**Automate AI news videos to social media with OpenAI and HeyGen** 22 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/automate-ai-news-videos-to-social-media-with-openai-and-heyg)
- [**Create Dev.to articles with OpenAI and Gemini** 22 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-dev-to-articles-with-openai-and-gemini)
- [**Detect viral YouTube videos with OpenAI and Gmail** 22 steps · calls a model · Gmail](https://millionrounds.com/workflow/detect-viral-youtube-videos-with-openai-and-gmail)
