# Generate move-out deposit statements with Gmail: n8n workflow

> Started by another system calling it, and works across Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-move-out-deposit-statements-with-gmail (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)

# Generate move-out deposit statements with Gmail

Started by another system calling it, and works across Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 26 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%2Fgenerate-move-out-deposit-statements-with-gmail)

**26 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 2 Model 2 Logic 10 Service 12

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

- 1 **When Move Out Logged** Webhook *Starts it*
- 2 **Disposition Model** Lm Chat Open Ai *Model*
- 3 **Daily Unprocessed Sweep Trigger** Schedule trigger *Starts it*
- 4 **Normalize Move Out** Set *Logic*
- 5 **AI Classify Damages** Agent *Model*
- 6 **Read MoveOutLog for Sweep** Google Sheets *Service*
- 7 **Validate Move Out Input** If *Logic*
- 8 **Parse Damage Classification** Code *Logic*
- 9 **Compute Unprocessed Move Outs** Code *Logic*
- 10 **Append Pending Move Out** Google Sheets *Service*
- 11 **Build Invalid Move Out Alert** Set *Logic*
- 12 **Compute Deposit Disposition** Code *Logic*
- 13 **Has Unprocessed Move Outs** If *Logic*
- 14 **Build Disposition Prompt** Set *Logic*
- 15 **Alert Landlord Invalid Move Out** Telegram *Service*
- 16 **Build Statement Email** Set *Logic*
- 17 **If Tenant Owes Money** If *Logic*
- 18 **Alert Landlord Unprocessed** Telegram *Service*
- 19 **Alert Landlord Sweep All Clear** Telegram *Service*
- 20 **Email Invalid Move Out Notice** Gmail *Service*
- 21 **Email Deposit Statement to Tenant** Gmail *Service*
- 22 **Email Landlord Owed Copy** Gmail *Service*
- 23 **Alert Landlord Tenant Owes** Telegram *Service*
- 24 **Confirm Statement to Landlord** Telegram *Service*
- 25 **Email Landlord Unprocessed Summary** Gmail *Service*
- 26 **Update Move Out Status** Google Sheets *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 26, with 3 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets 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 another system calling it.

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 26 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 26 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-move-out-deposit-statements-with-gmail)
- **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 Sheets](https://millionrounds.com/workflows?service=Google+Sheets#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.

- [**AI-powered credit card recommendation system with OpenAI** 26 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/ai-powered-credit-card-recommendation-system-with-openai)
- [**Advanced AI demo (presented at AI Developers #14 meetup)** 26 steps · calls a model · Gmail, Pinecone](https://millionrounds.com/workflow/advanced-ai-demo-presented-at-ai-developers-14-meetup)
- [**Create personalized news digests with OpenAI and SerpAPI** 26 steps · calls a model · Telegram, n8n data table](https://millionrounds.com/workflow/create-personalized-news-digests-with-openai-and-serpapi)
- [**Manage dental patients with Telegram and OpenAI** 26 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/manage-dental-patients-with-telegram-and-openai)
- [**Revive quiet client projects with OpenAI and Airtable** 26 steps · calls a model · Airtable, Discord](https://millionrounds.com/workflow/revive-quiet-client-projects-with-openai-and-airtable)
- [**Smart email manager with Gmail and OpenAI** 26 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/smart-email-manager-with-gmail-and-openai)
