Templates / Draft portal enquiry replies with OpenAI, Gmail and Google Sheets

Draft portal enquiry replies with OpenAI, Gmail and Google Sheets

Ready for 3.0

by Burnt & Toast Kits · 0 views · created 2026-10-15 · Lead Generation, AI Summarization

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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on Gmail events. Along the way it connects Gmail and Google Sheets. It also calls api.openai.com over HTTP.

How it runs

Trigger: On Gmail events.

  1. Settings (Edit Fields (Set)): sets 9 fields: AGENCY_NAME, AGENT_NAME, BOOKING_LINK…
  2. AI instructions (Edit Fields (Set)): sets 2 fields: AI_MODEL, SYSTEM_PROMPT
  3. Prepare enquiry (Code): runs custom JavaScript code
  4. AI: draft reply (OpenAI) (HTTP Request): calls api.openai.com (POST)
  5. Check AI output (Code): runs custom JavaScript code
  6. Log lead (Google Sheets) (Google Sheets): append
  7. Draft for review? (If): checks a condition and branches into true / false
  8. Save draft for review (Gmail): create (draft)

Services it uses

GmailGoogle Sheets

HTTP calls to: api.openai.com

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 (7)

From the author

Quick overview UK estate and letting agents (and any business) that receive enquiries from Rightmove, Zoopla, OnTheMarket or website forms by email and want a fast, accurate first reply without anything going out unchecked. How it works 1. Watches a Gmail…

Excerpt from Burnt & Toast Kits'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.