Automation library · Chat assistants

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.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 2Model 2Logic 10Service 12

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

  1. 1When Move Out LoggedWebhookStarts it
  2. 2Disposition ModelLm Chat Open AiModel
  3. 3Daily Unprocessed Sweep TriggerSchedule triggerStarts it
  4. 4Normalize Move OutSetLogic
  5. 5AI Classify DamagesAgentModel
  6. 6Read MoveOutLog for SweepGoogle SheetsService
  7. 7Validate Move Out InputIfLogic
  8. 8Parse Damage ClassificationCodeLogic
  9. 9Compute Unprocessed Move OutsCodeLogic
  10. 10Append Pending Move OutGoogle SheetsService
  11. 11Build Invalid Move Out AlertSetLogic
  12. 12Compute Deposit DispositionCodeLogic
  13. 13Has Unprocessed Move OutsIfLogic
  14. 14Build Disposition PromptSetLogic
  15. 15Alert Landlord Invalid Move OutTelegramService
  16. 16Build Statement EmailSetLogic
  17. 17If Tenant Owes MoneyIfLogic
  18. 18Alert Landlord UnprocessedTelegramService
  19. 19Alert Landlord Sweep All ClearTelegramService
  20. 20Email Invalid Move Out NoticeGmailService
  21. 21Email Deposit Statement to TenantGmailService
  22. 22Email Landlord Owed CopyGmailService
  23. 23Alert Landlord Tenant OwesTelegramService
  24. 24Confirm Statement to LandlordTelegramService
  25. 25Email Landlord Unprocessed SummaryGmailService
  26. 26Update Move Out StatusGoogle SheetsService

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.