# Handle real estate SMS inquiries with Twilio and Google Sheets: n8n workflow

> Started by an event in a connected app, and works across Google Calendar, Google Sheets and Twilio.

Source: https://millionrounds.com/workflow/handle-real-estate-sms-inquiries-with-twilio-and-google-shee (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Scheduling](https://millionrounds.com/workflows?category=Scheduling#library)

# Handle real estate SMS inquiries with Twilio and Google Sheets

Started by an event in a connected app, and works across Google Calendar, Google Sheets and Twilio. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 18 steps, 2 branches: a working afternoon to understand properly.

Medium Calls a model: Gemini Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-real-estate-sms-inquiries-with-twilio-and-google-shee)

**18 steps** Medium: a working afternoon

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Model 3 Logic 5 Service 9

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

- 1 **When Twilio Message Received** Twilio trigger *Starts it*
- 2 **Update Email Tool** Google Sheets Tool *Service*
- 3 **Check Calendar Availability Tool** Google Calendar Tool *Service*
- 4 **Create Calendar Event Tool** Google Calendar Tool *Service*
- 5 **Fetch Property Info Tool** Google Sheets Tool *Service*
- 6 **Update Interested Property Tool** Google Sheets Tool *Service*
- 7 **Redis Chat Memory** Memory Redis Chat *Model*
- 8 **Gemini Pro Model** Lm Chat Google Gemini *Model*
- 9 **Fetch Lead Info** Google Sheets *Service*
- 10 **Property Inquiry Agent** Agent *Model*
- 11 **Check Lead Exists** If *Logic*
- 12 **Send Twilio Reply** Twilio *Service*
- 13 **Initialize Output Array** Code *Logic*
- 14 **Upsert Lead Info** Google Sheets *Service*
- 15 **Fetch Property Details** Google Sheets *Service*
- 16 **Aggregate Property Rows** Aggregate *Logic*
- 17 **Parse Lead Data** Code *Logic*
- 18 **If Results Found** If *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 18, with 2 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Google Calendar, Google Sheets, Twilio
- **Model:** Gemini
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Google Calendar, Google Sheets and Twilio accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Gemini. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 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 18 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fhandle-real-estate-sms-inquiries-with-twilio-and-google-shee)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Calendar](https://millionrounds.com/workflows?service=Google+Calendar#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Twilio](https://millionrounds.com/workflows?service=Twilio#library)

## Workflows like it

Also scheduling, with the same services where possible, closest in size first.

- [**Auto-generate sales meeting briefs with OpenAI and LinkedIn** 18 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/auto-generate-sales-meeting-briefs-with-openai-and-linkedin)
- [**Automated Pre-Meeting Briefs & Reminders with Gemini and Gmail** 18 steps · calls a model · Gmail, Google Calendar](https://millionrounds.com/workflow/automated-pre-meeting-briefs-and-reminders-with-gemini-and-g)
- [**Create and schedule LinkedIn posts from Google Sheets** 18 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-and-schedule-linkedin-posts-from-google-sheets)
- [**Instagram insights & AI content calendar generator with Gemini** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/instagram-insights-and-ai-content-calendar-generator-with-ge)
- [**Manage patient appointments and care follow-ups with OpenAI** 18 steps · calls a model · Email, Twilio](https://millionrounds.com/workflow/manage-patient-appointments-and-care-follow-ups-with-openai)
- [**Manage tasks & send scheduled reminders with Telegram Bot** 18 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/manage-tasks-and-send-scheduled-reminders-with-telegram-bot)
