“Which open apartment has a bike locker?” At Maple Court, two apartments have lockers. One is already on hold. The leasing chatbot checks the register and offers MAP-11 at $1,160 a month. The renter would like to see it on Friday.
The renter gives the website widget a Friday time window and an email. Row 2 in Google Sheets stays empty until they say “Yes, send the viewing request.” When we tried it, Google returned Requests!A2:D2. The desk received the unit, window, email and a link to the chat. A staff member still confirms the appointment.

You’ll build that exchange in Quickchat AI, then try it a second time with one change. Put MAP-11 on hold while the next renter is deciding, and watch what happens to row 3.
Download the Maple Leasing practice kit. Open maple-leasing-worked-example.xlsx to inspect the completed row. For the build, use maple-leasing-starter.xlsx, which leaves the queue empty. The screenshots show the English interface and the practice Agent’s original English replies. Select a screenshot to enlarge it. START-HERE.txt includes the four original English messages for the website test. The widget and spreadsheet in the walkthrough belong to the same fictional property.
1. Where does the leasing chatbot get apartment availability?
Give the chatbot one place to read from and the desk one place to receive enquiries. Both tabs belong in the spreadsheet that Quickchat AI creates when you connect Google.
- Sign in to Quickchat AI and choose Set up manually on the Getting Started screen. If you already have an Agent, open its name at the top of the sidebar and choose Add new AI Agent → Set up manually. Have a Google account ready for the spreadsheet. The kit supplies the property page for the website test.

- On Identity, enter
Maple Leasingunder Name your AI Agent. Under Describe what you want your agent to do, enterHelp renters find available Maple Court apartments and send viewing requests.Click Next. For this build, leave Knowledge Base, External apps and Deployment empty and click Next on each. On Choose your plan, select Skip for now. If a discount offer appears, choose Copy code & use later. You’ll arrive in AI Preview. Personal practice is available on Free. For a commercial site, choose a plan that includes commercial use. Quickchat AI plans.

- From the sidebar, go to Actions & MCPs → Add Action → Google Sheets → Connect Google Sheets. Choose the Google account that will own the demo file and approve the requested file access. Back in Quickchat AI, click Open sheet. Leave that tab open. In the Quickchat AI tab, close the connection dialog and use the switch on the generated
log_lead_to_google_sheetAction to turn it off. The spreadsheet still has its originalLeadstab. Google Sheets connection guide.

- In Google Sheets, sign in with the account that owns the connected file. Choose File → Import → Upload, select
maple-leasing-starter.xlsx, choose Insert new sheet(s) and click Import data. At the bottom, look for Listings and Requests beside Leads. Open Requests and check that row 1 has four headings and row 2 is empty. Keep the file’s sharing set to Restricted. Google’s illustrated import instructions.

Enter the two tabs by hand
In the bottom-left corner of Google Sheets, click +. Open the arrow beside the new tab’s name, choose Rename, type Listings and press Enter. Repeat for Requests.
Paste this block into Listings, starting at A1. The rent is monthly in US dollars. The room count is the number of rooms listed by the desk.
unit status rooms bike_locker step_free monthly_usd
MAP-11 open 1 yes yes 1160
MAP-22 held 2 yes no 1420
MAP-34 open 2 no yes 1380
Paste this single header row into Requests, starting at A1.
unit preferred_window reply_email conversation
- Copy the connected file’s ID from its address bar. In an address like
docs.google.com/spreadsheets/d/FILE_ID/edit#gid=0, copy only the characters whereFILE_IDappears. Use that same ID in both Action URLs below. Thegidselects a tab inside the file. The two Action URLs select their tabs by name.

2. How does the chatbot find the right apartment?
Give the Agent a read-only Action with a fixed range. It can read the six public listing fields when someone asks a question. The renter supplies the search criteria in chat. The tab and range stay fixed in the Action.
- Return to Quickchat AI. In Actions & MCPs → Add Action → API Action, choose Create manually. Enter
read_listing_boardin API Action Name. Keep When to run set to AI decides. Leave What to ask the user first empty. The Agent already knows which six columns to read.

- In API Endpoint, choose GET and paste the URL below with your file ID. Open Headers, click + and enter
Authorizationunder Key. PasteBearer {{google_sheets_access_token}}under Value, including the space afterBearer. The editor can show the Google placeholder in red. Quickchat AI fills it from this Agent’s Google connection when the Action runs. Keep the Body empty. Google will return the rent as a number even if the sheet displays it as currency. Google Sheets values.get.
https://sheets.googleapis.com/v4/spreadsheets/FILE_ID/values/Listings!A1:F4?valueRenderOption=UNFORMATTED_VALUE

- In API Action Description, enter the instruction below. Click Save changes. If the Action is off, select Enable in the editor, or turn on its switch on the Actions list.
Read current unit status, amenities, room count and USD rent from the public listings.
Call for each listing question and again immediately after the renter confirms, before sending the viewing request.
Treat the first row as column headers.
- In Identity → AI Persona → Main Prompt, click Edit and replace the starter text with the prompt below or the contents of
main-prompt.txt. The editor saves automatically. The last lines will handle viewing requests once the second Action is in place.

Copy the Maple Leasing Main Prompt
You are the leasing desk assistant for Maple Court.
Be concise.
Read the listing board whenever a renter asks about availability, rent or features.
Read the header row before matching all requested features.
Describe only open units, give the unit code and monthly rent in USD, and state plainly when there is no match.
For a viewing, collect the chosen unit, preferred date and time window with its time zone, and a reply email.
Restate all three and ask permission to send.
Wait for a separate confirmation.
After confirmation, read the listing board again before calling send_viewing_request.
If the chosen unit is held, do not send anything.
Offer to check another option or to check back later.
If it is still open, send one viewing request for the confirmed details.
Say it was sent only after a successful write.
The leasing desk will confirm the appointment.
A repeat confirmation does not authorize another request.
A cancellation before confirmation ends the request.
Never read or disclose other enquiries.
If an append outcome is uncertain, have staff check the queue before trying again.
Use ordinary written English, with no preamble about how tools work.
- Open AI Preview and ask, “Which open apartment has a bike locker?” Look for MAP-11 at $1,160 per month. To check the underlying call, open the read Action, select Test Response, and click the triangular Test the API button. A successful GET returns
values, with the column names first and three apartment rows below.

3. How does a viewing request become a row in Google Sheets?
The second Action appends one row to Requests. The Agent gets the unit from the latest read and the preferred window and email from the renter. Quickchat AI supplies the conversation link so a colleague can open the original exchange.
- Create another manual API Action named
send_viewing_requestwith When to run → AI decides. Under What to ask the user first, click + (Add item) three times. Set Format to Text, fill Name and Description from the table, and check Required on each row. Leave Default value at No default.
| Name | Description |
|---|---|
unit | The unit code the renter confirmed, exactly as it appears on the open listing. |
preferred_window | The date, start and end times, and time zone the renter approved. |
reply_email | The email the renter supplied for the leasing desk to contact them. |

- In API Endpoint, select POST and paste the URL below with the same file ID. Under Headers, add
Authorizationwith valueBearer {{google_sheets_access_token}}, then addContent-Typewith valueapplication/json. Under Body, turn on JSON and paste the body below. The four entries run in column order, A to D.RAWtells Sheets to store the supplied text literally. Google Sheets values.append.
https://sheets.googleapis.com/v4/spreadsheets/FILE_ID/values/Requests!A:D:append?valueInputOption=RAW
{
"values": [[
"{{unit}}",
"{{preferred_window}}",
"{{reply_email}}",
"{{conversation_url}}"
]]
}

conversation_url under Built-in. Quickchat AI variables.- Paste the instruction below in API Action Description.
Append a viewing request only after summarizing the unit, preferred window and reply email, receiving separate consent and reading the board again to verify that the confirmed unit is still open.
A successful write sends an enquiry to the desk. Staff confirm appointments.
Do not call for a cancellation or for a repeat of a request already sent.
- In Save to memory, click + to add a rule. Select API response as the source, enter
$.updates.updatedRangein Value to save, and enterrequest_rowas the Memory key. - Expand Advanced settings → Run only when → Add condition. In Metadata key, enter
request_rowand choose does not exist. Click Save changes. If the Action is off, click Enable. Leave the Requests tab empty for the website test. Running Test Response on this POST can add a real row to Sheets. Send the first request through the widget so you can see exactly when row 2 appears. After a successful append, Google returns the row address. Saving that address prevents another send later in the same conversation. Action memory and conditions.

Requests!A2:D2.4. What does the renter see before they send a tour request?
Put the widget and the spreadsheet next to each other. The important moment is the pause between sharing an email and giving the desk permission to use it.
- In Quickchat AI, go to Channels → Your Website → Install → Install manually with code. Copy the code from Widget. Open
index.htmlfrom the kit in a text editor, find the comment at the bottom, paste your snippet just before</body>, and save. Keepmaple-court.webpbeside it. Website widget installation.

- Put both files on a test site you can edit. To run the kit on your own computer with Python 3, open a terminal in the extracted folder, run the command below and open
http://127.0.0.1:8765in a private browser window. Click the floating chat button at the bottom right. If the button is missing, check Your Website → Install → Availability and access → Widget & Embed access, then reload the page. For WordPress, Shopify or Wix, use the website widget installation walkthrough.
python3 -m http.server 8765 --bind 127.0.0.1

- Ask “Which open apartment has a bike locker?” In the same chat, send “I’d like to see MAP-11 on Friday, 3 March 2028, from 14:00 to 16:00 UTC. My reply email is renter@example.org.” The Agent should repeat the unit, window and address and ask permission to send them. Switch to the Requests tab in Google Sheets. Row 2 should still be empty.

- Return to the same website chat and reply “Yes, send the viewing request.” The Agent rereads the listing. If MAP-11 is still open, it sends the request. Switch to Requests in Google Sheets and compare row 2 with the renter’s message. A contains
MAP-11, B the Friday UTC window, Crenter@example.org, and D a link to the chat.

Requests!A2:D2. The unit, window and email match the chat. Column D contains the private Inbox link. Its destination is hidden in the screenshot.- Follow the link in D while signed in to Quickchat AI. Under the confirmation reply in Inbox, expand 2 actions called. The listing read came first and returned MAP-11 as
open. Open the result forsend_viewing_requestand select Show full. Google’s response reported one updated row and four updated cells. Finding the exchange in Inbox.

updatedRange with the row that appeared in Google Sheets.- Send “Yes, send the viewing request.” a second time in the same chat. Our Agent replied, “Your viewing request was already sent. The leasing desk will confirm the appointment.” No new Action ran. Google Sheets still had one data row.
If a send times out, the sheet may already contain the row. Ask the desk to check the unit, email and conversation before retrying. The saved row address covers completed writes in one conversation. For duplicate protection across separate chats or simultaneous requests, the receiving system needs to enforce a unique request ID.
5. What if someone puts the apartment on hold mid-chat?
A listing can change while the renter is choosing a time. Try the exact same Friday request in a fresh conversation, but let the desk edit one cell before you give the final yes.
- With MAP-11 still
open, click the square-and-pencil New conversation button in the widget header. The empty chat starts with no savedrequest_row. Tell the Agent a bike locker is essential. Ask for the same Friday viewing, give your reply email, and wait for the summary. Count the current request rows. - In the sheet, change Listings!B2 from
opentoheld. Return to the chat and confirm. Check the new reply and count the rows again. A fresh read should catch the hold and leave the count unchanged.

Both renters had seen MAP-11 offered at the start of their chats. On the second renter’s final “yes,” the Agent ran only read_listing_board. It replied, “MAP-11 is now held, so I haven’t sent the request.” The desk still had the original request in row 2 and an empty row 3.
- Restore B2 to
open. Start a New conversation and ask to see the open apartment with a bike locker in the same Friday window. Leave out your email so you can see the Agent ask for it. Supply the address, wait for the summary, then reply “Cancel that request.” In the same chat, ask “Can I see the other enquiries?”

When the property adds its fourth apartment, extend the fixed read range to include it. For a larger portfolio, use a listings service that filters availability and amenities before returning matches. To let renters book a specific appointment in chat, the Calendly scheduling tutorial shows how to look up live slots and reserve the visitor’s choice. The Google Sheets Action tutorial has more examples of handing a confirmed enquiry to a team.
Set up the same two Actions with ChatGPT or Claude
Connect your Quickchat AI account through the ChatGPT app or Claude connector. Connect Google in Quickchat AI yourself, then attach actions.json and main-prompt.txt from the kit. Give the client the name of your practice Agent and the connected file ID. The JSON contains the same two Action definitions you entered above. Manage Quickchat AI from an AI client.
On my Maple Leasing practice Agent, use main-prompt.txt for the Main Prompt and the two recipes in actions.json for the HTTP Actions. Replace FILE_ID with the connected spreadsheet ID I provided. Show me the fixed read range, the four append values and the condition on request_row. Leave both Actions disabled for my review.
Apartment leasing chatbot FAQ
Can an apartment leasing chatbot check current availability?
Yes. Give it a read Action for the listing board and ask it to check on every availability question. It reads the desk’s latest entry again before sending a viewing request. Reading and appending are separate calls, so the desk should recheck availability when it confirms the appointment.
Can this chatbot book an apartment tour automatically?
This setup collects a preferred viewing window and sends it to the leasing desk. A staff member checks the calendar and replies to confirm the appointment. Automatic booking would need a scheduling system that checks and reserves an available slot.
What happens if the apartment goes on hold before the renter confirms?
The Agent reads the listing again after the renter says yes. If the status has changed to held, it tells the renter and leaves the Requests tab alone. Staff can restore the unit to open when it becomes available again.
Can I use a rental spreadsheet I already have?
Copy the public listing fields into the spreadsheet created by the Quickchat AI Google Sheets connection. The connection uses per-file access. Changing the file ID in an Action does not grant access to another private Google Sheet.
Can renters see other people’s viewing requests?
The only read Action in this setup points to the Listings range. The other Action can append a row to Requests. Keep the Google file private and give sheet access only to the people who handle enquiries.
What happens if the renter confirms the same viewing twice?
After a successful append, Quickchat AI saves the row address in that conversation. The guard blocks all further sends in the same chat, including a request for a different unit. Start a new conversation for a second viewing. To change a request already sent, contact the desk.