# Optimize multi-property rents and analytics with OpenAI: n8n workflow

> Started by a clock, and works across Gmail. It hands the judgement calls to OpenAI. 37 steps, 1 branch: large, and worth reading before you trust it with...

Source: https://millionrounds.com/workflow/optimize-multi-property-rents-and-analytics-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Research and reporting](https://millionrounds.com/workflows?category=Research+and+reporting#library)

# Optimize multi-property rents and analytics with OpenAI

Started by a clock, and works across Gmail. It hands the judgement calls to OpenAI. 37 steps, 1 branch: 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%2Foptimize-multi-property-rents-and-analytics-with-openai)

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

**1** Branch: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 14 Logic 13 Service 9

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **OpenAI Model - Main** Lm Chat Open Ai *Model*
- 3 **Structured Output - Rent Recommendations** Output Parser Structured *Model*
- 4 **Calculator Tool** Tool Calculator *Model*
- 5 **OpenAI Model - Performance** Lm Chat Open Ai *Model*
- 6 **Structured Output - Performance Metrics** Output Parser Structured *Model*
- 7 **OpenAI Model - Recommendations** Lm Chat Open Ai *Model*
- 8 **Structured Output - Recommendations** Output Parser Structured *Model*
- 9 **OpenAI Model - Market** Lm Chat Open Ai *Model*
- 10 **Structured Output - Market Analysis** Output Parser Structured *Model*
- 11 **Risk Assessment Workflow Tool** Tool Workflow *Model*
- 12 **Workflow Configuration** Set *Logic*
- 13 **Rent Optimization Agent** Agent *Model*
- 14 **Performance Analysis Agent Tool** Agent Tool *Model*
- 15 **Recommendation Generator Agent Tool** Agent Tool *Model*
- 16 **Market Analysis Agent Tool** Agent Tool *Model*
- 17 **Fetch Rent Rolls** Http Request *Service*
- 18 **Fetch Operating Costs** Http Request *Service*
- 19 **Fetch Utilities Data** Http Request *Service*
- 20 **Fetch Mortgage Schedules** Http Request *Service*
- 21 **Fetch Market Data** Http Request *Service*
- 22 **Calculate Performance Metrics** Code *Logic*
- 23 **Split Recommendations by Property** Split Out *Logic*
- 24 **Merge Property Data** Merge *Logic*
- 25 **Summarize Market Trends** Summarize *Service*
- 26 **Format Dashboard Update** Set *Logic*
- 27 **Route by Property Type** Switch *Logic*
- 28 **Aggregate All Properties** Aggregate *Logic*
- 29 **Enrich with Market Context** Set *Logic*
- 30 **Update Financial Dashboard** Http Request *Service*
- 31 **Format Residential Report** Set *Logic*
- 32 **Format Commercial Report** Set *Logic*
- 33 **Format Mixed-Use Report** Set *Logic*
- 34 **Calculate ROI Projections** Code *Logic*
- 35 **Generate Financial Reports** Code *Logic*
- 36 **Aggregate Portfolio Metrics** Summarize *Service*
- 37 **Send a message** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 37, with 1 branch
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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 37 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 37 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%2Foptimize-multi-property-rents-and-analytics-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)

## Workflows like it

Also research and reporting, with the same services where possible, closest in size first.

- [**Analyze Google Ads competitors with OpenRouter and OpenAI** 39 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/analyze-google-ads-competitors-with-openrouter-and-openai)
- [**Generate professional reports from Excel/CSV with Gemini** 35 steps · calls a model · Gmail, in-memory vectors](https://millionrounds.com/workflow/generate-professional-reports-from-excel-csv-with-gemini)
- [**Customer feedback analysis with HTML** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/customer-feedback-analysis-with-html)
- [**Document analysis & chatbot creation with Llama and Gemini** 33 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/document-analysis-and-chatbot-creation-with-llama-and-gemini)
- [**Orchestrate sustainability lifecycle analytics with OpenAI** 33 steps · calls a model · Gmail, Slack](https://millionrounds.com/workflow/orchestrate-sustainability-lifecycle-analytics-with-openai)
- [**Weekly stock/ETF analysis with Claude and Gmail** 33 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/weekly-stock-etf-analysis-with-claude-and-gmail)
