# Manage rent, maintenance and tenant messages with OpenAI: n8n workflow

> Started by an incoming Telegram message, and works across Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/manage-rent-maintenance-and-tenant-messages-with-openai (Millionrounds; every figure on the page links to its filing or article)

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

# Manage rent, maintenance and tenant messages with OpenAI

Started by an incoming Telegram message, and works across Google Sheets, Slack and Telegram. It hands the judgement calls to OpenAI. 34 steps, 3 branches: 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%2Fmanage-rent-maintenance-and-tenant-messages-with-openai)

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

**3** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 2 Logic 8 Service 21

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

- 1 **Daily Rent Check Trigger** Schedule trigger *Starts it*
- 2 **Tenant Message Received** Telegram trigger *Starts it*
- 3 **On Workflow Error** Error trigger *Starts it*
- 4 **Get All Tenants** Google Sheets *Service*
- 5 **Get All Tenants For Lookup** Google Sheets *Service*
- 6 **Slack – Post Workflow Error Alert** Slack *Service*
- 7 **Calculate Rent Status** Code *Logic*
- 8 **Find Tenant By ChatId** Code *Logic*
- 9 **Route By Rent Status** Switch *Logic*
- 10 **Classify Tenant Message** Open Ai *Model*
- 11 **Send Rent Due Reminder** Telegram *Service*
- 12 **Send Upcoming Rent Reminder** Telegram *Service*
- 13 **Notify Tenant Overdue** Telegram *Service*
- 14 **Parse AI Classification** Code *Logic*
- 15 **Update Reminder Sent - Due Today** Google Sheets *Service*
- 16 **Update Reminder Sent - Due Soon** Google Sheets *Service*
- 17 **Escalate Overdue To Owner (Telegram)** Telegram *Service*
- 18 **Escalate Overdue To Owner (Slack)** Slack *Service*
- 19 **Route By Intent** Switch *Logic*
- 20 **Update Rent Status - Overdue** Google Sheets *Service*
- 21 **Log Maintenance Request** Google Sheets *Service*
- 22 **Update Payment Status Paid** Google Sheets *Service*
- 23 **Send General Auto Reply** Telegram *Service*
- 24 **Get All Vendors** Google Sheets *Service*
- 25 **Generate Receipt Message** Open Ai *Model*
- 26 **Pick Vendor By Category** Code *Logic*
- 27 **Format Receipt Text** Code *Logic*
- 28 **Notify Assigned Vendor** Telegram *Service*
- 29 **Send Receipt To Tenant** Telegram *Service*
- 30 **Is Urgent Repair** If *Logic*
- 31 **Log Payment Record** Google Sheets *Service*
- 32 **Confirm Receipt To Tenant** Telegram *Service*
- 33 **Escalate Urgent Repair To Owner (Telegram)** Telegram *Service*
- 34 **Escalate Urgent Repair To Owner (Slack)** Slack *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 34, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Sheets, Slack, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on an incoming Telegram message.

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 34 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 34 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%2Fmanage-rent-maintenance-and-tenant-messages-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.

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

## Workflows like it

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

- [**Assist hospital doctors with Telegram and OpenAI** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/assist-hospital-doctors-with-telegram-and-openai)
- [**Classify and auto-reply to Gmail with OpenAI** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/classify-and-auto-reply-to-gmail-with-openai)
- [**Email management system with OpenAI and Pinecone DB** 34 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/email-management-system-with-openai-and-pinecone-db)
- [**Evaluate job fit and generate application assets** 34 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/evaluate-job-fit-and-generate-application-assets)
- [**Guard releases and investigate regressions with Browserbase** 34 steps · calls a model · Email, GitHub](https://millionrounds.com/workflow/guard-releases-and-investigate-regressions-with-browserbase)
- [**AI powered RAG chatbot for your docs + Google Drive + Gemini** 35 steps · calls a model · Google Docs, Google Drive](https://millionrounds.com/workflow/ai-powered-rag-chatbot-for-your-docs-google-drive-gemini)
