Templates / Generate AI-powered lease renewal offers with Ollama LLM, Supabase and Gmail

Generate AI-powered lease renewal offers with Ollama LLM, Supabase and Gmail

Ready for 3.0

by Lakindu Siriwardana ✓ · 467 views · created 2025-08-09 · Document Extraction, Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs when someone submits an n8n form (“Customer Renewal Form”). Along the way it connects Ollama Chat Model, Gmail, Supabase and Google Drive.

How it runs

Trigger: When someone submits an n8n form (“Customer Renewal Form”).

  1. Supabase: get
  2. Supabase: update
  3. Edit Fields (Edit Fields (Set)): sets or maps fields
  4. Google Drive: work with file folder
  5. If: checks a condition and branches into true / false
  6. Google Drive: delete file
  7. Basic LLM Chain: sends a prompt to an LLM, with model: Ollama Chat Model
  8. Convert to File: converts data to a file (to text)
  9. Google Drive: uses Google Drive
  10. Basic LLM Chain: sends a prompt to an LLM, with model: Ollama Chat Model

…plus 2 more steps. See the full node list below.

Services it uses

Ollama Chat ModelGmailSupabaseGoogle Drive

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (9)

From the author

📄 Automated Lease Renewal Offer by Email ✅ Features - Automated Lease Offer Generation using AI (Ollama model). - Duplicate File Check to avoid reprocessing the same customer. - Personalized Offer Letter creation based on customer details from Supabase. -…

Excerpt from Lakindu Siriwardana's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.