Build a Website Chatbot That Checks Your Service Area

Piotr Grudzień
Published 11 min read
A drawer runner, the NZD 46 visit fee quoted for postcode 5011 in the chat, and the confirmed job marked Awaiting assessment in Google Sheets.

“My top drawer sticks. Do you fix drawer runners in 5011?” Weka Dowel Workshop’s website chatbot answers yes, NZD 46 for the visit. Ask about a cupboard hinge at the same postcode and the answer changes. The workshop takes those jobs in 5012.

A visitor can leave with just the fee, or ask the workshop for a repair quote. The chatbot sends the request to Google Sheets only when the visitor says “Yes, send the request.”

The visitor confirms the repair request in the website chat. Google Sheets shows postcode 5011, service RUNNER and the status Awaiting assessment.

Google Sheets added one job after the visitor confirmed. In the website test, you’ll match this row to the Action response.

Download the Weka Dowel practice kit. Open weka-dowel-worked.xlsx to inspect the finished practice row. The kit also includes an empty starter workbook, the workshop page, its repair list, the Agent instructions and the English test messages. You’ll need a Quickchat AI account and a Google account that can create a spreadsheet. All the jobs and prices belong to a fictional New Zealand workshop. Use the example email in the kit while testing.

1. Which repairs qualify for a call-out?

Weka Dowel prices the postcode and the repair together. A drawer runner is the metal slide that lets a drawer open. A cupboard hinge holds the door. At 5010 the workshop repairs both, so the distinction only shows up if you try another postcode.

Workshop matrix showing both repairs for NZD 38 in 5010, the drawer runner for NZD 46 in 5011, and the cupboard hinge for NZD 46 in 5012.

Read down a column to see where the workshop visits for that repair. Read across a row to see why a postcode alone cannot determine coverage.
  1. Create a Quickchat AI account. On Getting Started, choose Set up manually. If you already have an Agent, open its name at the top of the sidebar and choose Add new AI Agent → Set up manually. Name the new Agent Weka Dowel Workshop and describe its job as Check mobile repair coverage and take quote requests. Click Next through Knowledge Base, external apps and deployment. On the plan screen choose Skip for now to finish setup.
  2. Open Knowledge Base → Add Article. Title it Mobile repair list, 27 November 2026 and paste the text below into the body. Save the article and wait for Ready. The workshop can change this one list when its service area changes. Quickchat AI Knowledge Base guide
Weka Dowel Workshop mobile repair list, 27 November 2026. Match the complete four-digit postcode and the repair together.
5010 | Drawer runner (RUNNER) or cupboard hinge (HINGE) | NZD 38 visit fee.
5011 | Drawer runner (RUNNER) only | NZD 46 visit fee.
5012 | Cupboard hinge (HINGE) only | NZD 46 visit fee.
For any other pairing, no mobile call-out is listed. Upholstery is outside the mobile list. Fees cover the visit only. Labour and parts are assessed separately. A visitor can ask the workshop to assess one covered job per conversation. Staff decide the written quote and any appointment after review.

Quickchat AI Knowledge Base with the workshop repair article and its postcode and fee list open in the editor.

The Agent gets the prices from this article. Keep the fee and its exceptions together so you can review them in one place.

2. How can the chatbot give a fee before asking for an email?

The Main Prompt sets the order of the conversation. The first answer needs two facts, the postcode and repair. Only a visitor who wants the workshop to assess a covered job needs to share a reply address.

  1. In Identity → AI Persona → Main Prompt, choose Edit. Replace the starter instructions with main-prompt.txt from the kit, also printed below. The editor saves automatically. The final paragraph names the Action you’ll build in step 4.
Copy the Main Prompt
You take mobile furniture repair enquiries for Weka Dowel Workshop in New Zealand. Use short replies and New Zealand English.
Ask for the complete four-digit postcode and the repair type. Check both against the workshop’s mobile repair list. For a covered pair, give the visit fee in NZD and explain that labour and parts are assessed separately. For an incomplete postcode ask for all four digits. For an unlisted pair explain that there is no mobile call-out. Do not ask for contact details for an uncovered job or guess from a nearby postcode.
If the visitor wants a covered job assessed, collect a short description and their reply email. Read back the postcode, repair, visit fee and email, then ask whether to send the request. Wait for a separate confirmation. A fee question, an email address or a request to cancel gives no permission to send.
After the visitor confirms, call record_callout_request once. Say the request was sent only when the response reports one row written in Jobs. If the outcome is uncertain, say you cannot confirm receipt and ask the workshop to check before retrying. Staff decide the repair quote and any appointment. Never ask for a street address, quote a repair total or promise a visit.
If conversation memory already contains callout_row from a successful write, tell the visitor their request was already sent for assessment. Do not send it again.

Quickchat AI Identity and the Main Prompt editor where the workshop’s instructions are entered.

Open Main Prompt in AI Persona. Keep the price list in the article and the rules about what to ask next in this field.
  1. In AI Preview, ask “Do you fix drawer runners in 5011? What does the call-out cost?” Open a new conversation and ask “I’m at 5011. Do you fix cupboard hinges?” We asked both questions on the workshop website. The first reply gave the visit fee and left parts and labour for assessment. The second stopped at the coverage check.

Two real website chats about postcode 5011. One gives a NZD 46 drawer runner visit fee and the other declines a cupboard hinge call-out.

Both visitors gave the same postcode. Only the drawer runner reply offered to pass a job to the workshop.
  1. Try “Drawer runners at 50?” The next question should be for the remaining digits. Once your Agent can make all three decisions, give it somewhere to send a job.

3. Where do confirmed quote requests go in Google Sheets?

Confirmed repair requests go to the Jobs tab in the workshop’s private Google spreadsheet. Keep one Google Sheets window open beside Quickchat AI. You’ll use the empty row under the headers to see exactly when a request arrives.

  1. In Quickchat AI, open Actions & MCPs → Add Action → Google Sheets → Connect Google Sheets. Choose the Google account for the practice workbook and approve the file access. Back in Quickchat AI, select Open sheet. The connection creates the spreadsheet and its first tab, Leads. Google Sheets connection guide

Quickchat AI’s Add Action menu and Google Sheets connection dialog, with the Connect Google Sheets button.

Choose Google Sheets to create the file. Return to Add Action later and choose API Action to define what goes into each cell.
  1. Close the connection dialog. In Actions & MCPs, turn off the generated log_lead_to_google_sheet Action. Open its editor and copy the full URL under API Endpoint. It contains the ID of the spreadsheet you just opened. The workshop will use a separate Action with its own confirmation rule. The Sheets logging tutorial shows where to find the starter’s URL.
  2. Switch to Google Sheets. Click + beside the tabs, double-click the new tab’s name and rename it Jobs. Click A1 and paste this tab-separated line, also in jobs-headers.tsv. Status should land in G1. Leave row 2 empty.
Postcode	Service	Detail	Reply email	Conversation	Channel	Status

The original Leads tab and the seven headers on the new Jobs tab in Google Sheets, from Postcode in A1 to Status in G1.

Keep the original Leads tab. In Jobs, freeze the header row and leave row 2 empty so you can spot the first confirmed request.

4. How does the chatbot record one confirmed request?

The Action appends seven cells. Four come from the conversation, two come from Quickchat AI, and the workshop supplies the starting status. Keep the address of the row that Sheets returns. It tells the Agent that this chat has already sent a job.

  1. In Actions & MCPs → Add Action → API Action, select Create manually. Set API Action Name to record_callout_request and When to run to AI decides. Under What to ask the user first, use + to add four items. Choose Text, check Required, and keep No default for each. Text preserves all four characters of a postcode, including a leading zero.
NameDescription to enter
postcodeThe complete four-digit postcode supplied and confirmed by the visitor.
service_codeRUNNER for a covered drawer runner or HINGE for a covered cupboard hinge, from the matching postcode row.
detailThe visitor’s short description of the repair, in their own words.
reply_emailThe reply email supplied by the visitor for this request.

Quickchat AI’s API Action editor with four text inputs for postcode, service code, detail and reply email.

These four inputs are the parts that change with the job. A required email completes a field. The separate confirmation gives the workshop permission to collect the request.
  1. Under API Endpoint, choose POST. In the URL copied from the starter Action, change only /values/Leads:append to /values/Jobs:append. Keep the file ID and ?valueInputOption=RAW. In Headers, add the two entries below. Quickchat AI fills the token from the Google connection at run time. Google Sheets append reference
KeyValue
AuthorizationBearer {{google_sheets_access_token}}
Content-Typeapplication/json
  1. Open Body, select JSON and paste this block. The values run from A to G in the same order as the headers. In Add AI Data, the first four names are Parameters. The conversation link and channel are Built-in. Staff use the link to find the originating chat in Inbox. Action variables
{
  "values": [[
    "{{postcode}}", "{{service_code}}", "{{detail}}", "{{reply_email}}",
    "{{conversation_url}}", "{{conversation_channel}}", "Awaiting assessment"
  ]]
}

The API Endpoint editor in Quickchat AI shows POST, the Jobs append URL, the Body tab and the seven entries in the JSON array.

The Body tab is where the seven cells go. Select the JSON control above the editor before pasting the array.
  1. Paste this text into API Action Description. A visitor can supply every required field while asking a price question. Requiring the fields ensures the row is complete. The description tells the Agent when the visitor means to send it.
Record one covered mobile repair for workshop assessment only after the visitor has separately confirmed the summary, including the visit fee and their reply email. Never call for a fee question, a declined request or a request already recorded in this conversation.
  1. In Save to memory → Add value, select API response. Enter $.updates.updatedRange in Value to save and callout_row in Memory key. Under Advanced settings → Run only when → Add condition, enter callout_row as the Metadata key and select does not exist. Both settings belong to this one Action. Run conditions
  2. Still in Advanced settings, open Response filter. Click Add JSONPath twice and enter $.updates.updatedRows and $.updates.updatedRange, one per field. The reply can use the count and the location of the write. Click Save changes and Enable if the Action is off. Leave the first POST for the visitor test. Test Response can write to the connected sheet.

The API Action editor saves updatedRange to callout_row and requires that callout_row does not exist before another request.

The first setting remembers where the row landed. The second checks for that address before allowing a later send in this chat.
Set up the same Agent with ChatGPT or Claude

Connect your Quickchat AI account in ChatGPT or Claude. Attach repair-list.txt, main-prompt.txt and action.json from the kit. Complete Google consent yourself in Quickchat AI, create the Jobs tab, and use the URL from your generated Action. Give the client this instruction. Manage Quickchat AI from an AI client

Configure my Weka Dowel Workshop Agent with the attached repair list and Main Prompt. Draft record_callout_request using action.json and my connected sheet's URL. Leave the Action disabled. Show me the four required inputs, the Jobs endpoint, the saved row address and the run condition so I can check them before enabling it.

5. How do you test a repair quote request from your website?

Send a request in two messages. After the first, the workshop should know how to reach the visitor. After the second, you should be able to point at their job in Jobs.

  1. In Quickchat AI, open Channels → Your Website → Install → Install manually with code. Copy the Widget snippet. In the kit, open workshop.html in a text editor and paste the snippet just above </body>. Keep workbench.webp in the same folder. To match the screenshots, set Your Website → Text Content → Header text to Weka Dowel Workshop and Welcome message to Kia ora. What needs repairing, and what’s your four-digit postcode?. Website installation guide
  2. Open the page on your test website or serve the kit folder locally with the command below. Visit http://127.0.0.1:8765/workshop.html and open the chat bubble. Keep the Jobs tab in view. For WordPress, Shopify or Webflow, follow the installation steps for your website platform.
python3 -m http.server 8765 --bind 127.0.0.1

Quickchat AI’s manual Widget installation panel and the installed chat open on Weka Dowel Workshop’s practice website.

Copy the Widget code for your Agent. On the practice page, opening the bubble should show the workshop’s name and welcome message.
  1. In a fresh chat, ask “My top drawer sticks. Do you fix drawer runners in 5011? What does the call-out cost?” Once you have the fee, send “Please ask the workshop to assess the top drawer. My reply email is rui@example.com.” Read the summary. It should include 5011, drawer runner, NZD 46 and the reply address. Check that Jobs still has only the header.

The website widget asks whether to send the request. The Jobs tab in Google Sheets still has only its headers.

Giving the workshop a reply email leaves the sheet unchanged. At this point the visitor can still change their mind.
  1. Now reply “Yes, send the request.” Check row 2 for 5011, RUNNER, the drawer issue and the example email. Follow the conversation link in column E while signed in to Quickchat AI. In Inbox, expand the called Action under the confirmation, then its response. In a sheet that began with only the header, look for updatedRows of 1 and updatedRange of Jobs!A2:G2. That last cell contains Awaiting assessment. The workshop still needs to quote the repair and agree a visit. Finding a conversation in Inbox

The Google Sheets response shows one updated row at Jobs!A2:G2 for the workshop’s repair request.

Google returned one updated row at Jobs!A2:G2. The last cell in that range holds the workshop’s starting status.
  1. In the same thread, ask “Did you get it?” Count the rows again. The saved address blocks a later append in this conversation. A fresh chat has its own memory. If a send times out, check the Conversation column for the original chat before retrying.

6. What happens when someone asks for a price or changes their mind?

Try giving every detail in a fee question, including an email. In our practice test, the Agent quoted the fee and made zero writes. We repeated the test with a shorter Action description, “Record a mobile repair enquiry when the visitor supplies a postcode, repair details and a reply email.” It also left the sheet alone. The Main Prompt still required confirmation in both tests.

Asked to send the request again, the Agent initially said it could not confirm receipt even though its memory held Jobs!A2:G2. The row count was right, but the visitor still had a reason to try again. We added the final instruction about callout_row to the Main Prompt above and repeated the conversation. This time it said the request had already been sent for assessment. The workbook stayed at one row in both runs.

In Conversations → Testing → Create Dataset, choose Paste messages and paste coverage-tests.txt from the kit. It separates the four questions with a line containing ---. For Evaluation criteria, enter Match the complete postcode and repair, distinguish the visit fee from the repair cost and ask for missing digits. Skip contact collection for uncovered work. Choose Create → Run, review the quoted message cost and select Start Run. Read the replies as well as the scores. In an expanded seven-case run, the Agent correctly declined a drawer runner in 5012. The grader scored it 1 out of 5 while its written explanation said the answer deserved 5. The repair list settles that case. Simulation Testing

The workshop’s Simulation Testing dataset in Quickchat AI shows the four independent postcode and repair questions.

Use a separate message per coverage case. For a multi-turn decision such as sending or cancelling, check the row count in an actual widget conversation.
Try in a new conversationWhat to check
Cupboard hinge in 5011The workshop declines the mobile call-out. The visitor can leave without giving an address.
Drawer runner at “50”The Agent asks for the full four-digit postcode before quoting.
Upholstery in 5010Even though the postcode is covered for hardware repairs, the Agent gives no visit fee for upholstery.
An eligible job and an email, followed by “No thanks, please don’t send it.”Check the website and the Jobs tab together. The cancellation should leave the row count alone.

To check a delivery failure, use a disposable copy of the Action and change its destination to JobsMissing, leaving that tab absent. Disable the working Action while testing the copy. In our local test the receiver returned HTTP 400, the Agent said it could not confirm receipt, and no row address was saved. Restore the working Action before trying a real enquiry.

Quickchat AI shows the failed JobsMissing call with HTTP 400 next to the message explaining that receipt could not be confirmed.

This test deliberately addressed a missing tab. Check the call’s status before telling a visitor that a job reached the workshop.

If your service list changes, replace the Knowledge Base article and rerun the two questions that share a postcode. For a business whose availability changes during the conversation, the apartment tour request tutorial shows how to check a live register just before submitting.

Frequently asked questions

Can a website chatbot check my service area by postcode?

Yes. Give it the exact postcodes you cover and the services available in each. In the workshop example, postcode 5011 qualifies for a drawer runner call-out, while a cupboard hinge at the same postcode falls outside the list.

Does the call-out fee include parts and labour?

At Weka Dowel the call-out fee covers the visit. A drawer runner visit in 5011 costs NZD 46. The workshop assesses parts and labour separately before giving a repair quote.

When should a repair chatbot ask for an email address?

Give the coverage decision and visit fee first. Ask for a reply email when the visitor wants the workshop to assess a covered job. Summarise the job, fee and email, then wait for a separate confirmation before sending.

How do I know a quote request reached Google Sheets?

Open the Action response in Quickchat AI Inbox. In our test, Google returned 1 for updatedRows and Jobs!A2:G2 for updatedRange. That row contained postcode 5011, service RUNNER and a link back to the same conversation.

Can a visitor submit the same repair request twice?

After a successful write, the Action saves the row address in that conversation. Its run condition blocks another append in the same chat. A new conversation has separate memory. For an interrupted send, check the sheet for the original conversation before retrying.

Does sending a quote request book a repair visit?

Sending the request gives the workshop a job marked Awaiting assessment. A staff member reviews it, quotes the work and agrees any appointment with the visitor.