Real estate chatbot with AI property matching and automated calendar scheduling
Needs changesWhat this workflow does
This AI workflow has 32 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Postgres Chat Memory, Postgres, OpenAI Chat Model and SerpApi (Google Search) and 2 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Code: runs custom JavaScript code
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 5 tools (Gmail, Google Calendar, update_Calendar, Google Calendar…)
- If: checks a condition and branches into true / false
- Postgres: run a query
- LLM conversation (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 3 tools (Gmail, Human agent, get_Calendar); memory: PostgreSQL Memory
- If: checks a condition and branches into true / false
- Parse Data (Code): runs custom JavaScript code
- Send Formatted Response (Respond to Webhook): sends the response back to the webhook caller
- Code: runs custom JavaScript code
- Ready Check (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623) · Other Google Calendar + Gmail templates (239) · Other OpenAI + PostgreSQL templates (191)
Before you upgrade to n8n 3.0
2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:
- AI Agent v1 (old agent modes) in LLM conversation (v1.9), Format Results with AI (v1.9), AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
- SerpApi (Google Search) in SerpAPI: no direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node.
- Also check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll).
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) LLM conversation (v1.9), Format Results with AI (v1.9), AI Agent (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
| SerpApi (Google Search) SerpAPI | No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node |
Nodes used (14)
- AI Agent
@n8n/n8n-nodes-langchain.agent - Postgres Chat Memory
@n8n/n8n-nodes-langchain.memoryPostgresChat - Code
n8n-nodes-base.code - Postgres
n8n-nodes-base.postgres - If
n8n-nodes-base.if - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Edit Fields (Set)
n8n-nodes-base.set - Respond to Webhook
n8n-nodes-base.respondToWebhook - Webhook
n8n-nodes-base.webhook - SerpApi (Google Search)
@n8n/n8n-nodes-langchain.toolSerpApi - Google Calendar Tool
n8n-nodes-base.googleCalendarTool - Gmail Tool
n8n-nodes-base.gmailTool - Gmail Trigger
n8n-nodes-base.gmailTrigger - Merge
n8n-nodes-base.merge
From the author
Description A comprehensive real estate chatbot automation system that handles customer inquiries, property searches, and appointment scheduling through intelligent conversation flows and email processing. How it works? This template creates an end-to-end…