Maple Leasing practice kit

Build a website chatbot that checks which apartments are open and sends one confirmed viewing request to the leasing desk. A staff member confirms the appointment.

Full walkthrough
https://quickchat.ai/post/apartment-availability-viewing-request

Choose a workbook

  maple-leasing-starter.xlsx         Import this file to build your own demo. Requests starts empty.
  maple-leasing-worked-example.xlsx  Open this file to see the finished result. Requests opens on the recorded example row. Column D shows a label in place of the private Inbox link.

The other files

  main-prompt.txt   Instructions for the Agent’s Main Prompt.
  actions.json      The two HTTP Action recipes for a connected ChatGPT or Claude client.
  index.html        The practice property page for your Widget.
  maple-court.webp  The property photo. Keep it beside index.html.

1. Prepare the desk’s workbook

On your practice Agent, choose Actions & MCPs → Add Action → Google Sheets → Connect Google Sheets. Authorize Google and click Open sheet. Back in Quickchat AI, switch off the generated log_lead_to_google_sheet Action.

In the connected spreadsheet, choose File → Import → Upload and select maple-leasing-starter.xlsx. Set Import location to Insert new sheet(s), then click Import data. Listings and Requests should appear beside Leads.

Open Listings. MAP-11 in row 2 should be open, with a bike locker and a monthly rent of $1,160. In Requests, A1:D1 should read unit, preferred_window, reply_email, conversation. Row 2 should be empty.

2. Configure the Agent

The walkthrough shows each screen for building read_listing_board and send_viewing_request. Use the file ID between /d/ and /edit in the connected sheet’s address wherever an Action URL says FILE_ID. In Identity → AI Persona → Main Prompt, click Edit and paste main-prompt.txt.

If you manage Quickchat AI from ChatGPT or Claude, attach actions.json and main-prompt.txt to the connected client and name your practice Agent. Give the client your practice workbook’s file ID. Ask it to prepare both recipes using that ID, set the Main Prompt and leave the Actions off for review. The Google header uses the literal {{google_sheets_access_token}} placeholder. Quickchat AI supplies its value from the connection.

Verify that the GET reads only Listings!A1:F4 and the POST appends to Requests!A:D. The POST saves $.updates.updatedRange under request_row and runs only when request_row does not exist. Enable both tutorial Actions. Leave the generated lead Action off.

3. Open the practice site

Copy the Widget snippet from Channels → Your Website → Install → Install manually with code. Open index.html in a text editor and paste the snippet at the marked spot just before </body>. Save the file.

For a local preview, open a terminal in the extracted folder and run this with Python 3.

  python3 -m http.server 8765 --bind 127.0.0.1

Open http://127.0.0.1:8765/ in a private window and click the chat launcher. Replies use your connected Agent and Google Sheet. Ctrl+C stops the local server.

4. Send these four messages in one conversation

1. Which open apartment has a bike locker?
2. 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.
3. Yes, send the viewing request.
4. Yes, send the viewing request.

Pause after message 2. Check the recap and the still-empty Requests tab. After message 3, compare the unit, window, email and Inbox link in Requests!A2:D2 with the chat. After message 4, row 3 should still be empty.

Once a send succeeds, the saved row address blocks every later submission in that chat, including a request for a different unit. Start a new conversation to request another unit. Contact the desk to change a request you already sent.

5. Put the apartment on hold while the renter decides

Start with MAP-11 open, one request in row 2 and row 3 empty. Click New conversation (the square-and-pencil button in the Widget header). Send “A bike locker is essential. Which open apartment has one?” Then send message 2 above. Wait for the recap.

As the desk, change Listings!B2 from open to held. In the same chat, send message 3. The Agent should report the hold and leave row 3 empty. Restore Listings!B2 to open. The original request should still be the only row under the header.
