Automation library · Data collection

Generate AI-powered lease renewal offers with Ollama LLM

Started by someone submitting a form, and works across Gmail, Google Drive and Supabase. It hands the judgement calls to a local model. 14 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: a local model

14 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Model 3Logic 2Service 8

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

  1. 1Ollama Chat ModelLm Chat OllamaModel
  2. 2On form submissionForm triggerStarts it
  3. 3Basic LLM Chain-offerLetterChain LlmModel
  4. 4Basic LLM Chain-emailChain LlmModel
  5. 5Supabase-search_custSupabaseService
  6. 6Convert to FileConvert To FileService
  7. 7Google Drive-get_fileGoogle DriveService
  8. 8Supabase_cust_infoSupabaseService
  9. 9Google Drive-uploadGoogle DriveService
  10. 10GmailGmailService
  11. 11Edit FieldsSetLogic
  12. 12Google Drive-searchGoogle DriveService
  13. 13If-check_dupIfLogic
  14. 14Google Drive-delete_dupGoogle DriveService

How it's built

Starts on
Someone submitting a form
Steps
14, with 1 branch
Size
Medium: a working afternoon
Connects to
Gmail, Google Drive, Supabase
Model
a local model

Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Drive and Supabase accounts, and a key for a local model. 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 a local model. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 14 steps is enough that you should read each one before running it.

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 14 steps before you point it at anything that matters.