“Can I test-drive this one on Friday after four?” A buyer asks the automotive chatbot on the Meridian Vans website about the slate Lantern E2 on their screen. The salesperson has two on the forecourt. One has a solid side panel behind the cab. On the other, a side window reveals a second row of seats.
You’ll carry the stock number from the listing to the sales desk. In our test, Alex opened the enquiry, saw the two-seat panel van, MV-0147A, and replied to the buyer about Friday at 16:30 UTC. The buyer read his message on the page where they first saw the van.

Try the panel van and the crew van side by side. Meridian Vans is fictional. We used AI to create the two vehicle photos. The screenshots show our original conversation in English, and the setup examples use the English labels shown on screen.
To run the chat yourself, download the Meridian Vans practice kit. You’ll need a Quickchat AI account with credits for test replies. You can play buyer and salesperson in separate browser windows.
1. Which part of a vehicle listing identifies the van?
Use the stock number as the lookup key. A make, model or colour can describe several vehicles. Meridian gives each van its own public stock card, a small JSON file with the same facts a visitor sees on the page.

- Unzip the kit and open
panel.html. Find Stock reference MV-0147A. Select View stock card to openinventory/MV-0147A.json. Here is the entire record.
{
"stock_ref": "MV-0147A",
"model": "Lantern E2",
"body": "two-seat panel van",
"colour": "slate"
}
- Open
crew.htmland its card,inventory/MV-0147B.json. The model and colour match. The last letter is B and the body is five-seat crew van. Keep the leading zero and suffix when you copy either reference.
On your own vehicle detail page, give the visible stock number an element the widget can read. Both practice pages already do this.
<p>Stock reference <code id="stock-ref">MV-0147A</code></p>
2. How does the stock number get into website chat?
Read the number from the page when the widget starts. This lets one installation work on both vans, including when the buyer’s entire first message is “this one.”
- Create a Quickchat AI account and choose Set up manually. In an existing account, open the Agent name at the top of the sidebar and choose Add new AI Agent → Set up manually. Name it
Meridian Vansand describe its job asTake viewing and test-drive enquiries for the sales desk.Continue through Knowledge Base, External apps and Deployment without adding anything. Choose Skip for now on the plan screen for personal practice. Commercial use starts on Starter. Plans and limits. - Open Channels → Your Website → Install → Install manually with code → Widget. In the snippet, find the public ID on the
_quickchat("init", …)line. Copy it into the empty quotes on theconst widgetId = "";line in the kit’swidget.js. Both pages load that file. On the Install tab, check that Widget & Embed access is on under Availability and access. Website installation guide.

- Serve the kit on your staging site, keeping its files together. To practice on your computer, run
python3 -m http.server 8080 --bind 127.0.0.1in the unzipped folder and openhttp://localhost:8080/panel.html. You can open the bubble now. Save your first message for step 4, when the stock lookup is in place.
For an existing dealership site, use the Widget snippet from Install once in the page footer. Add these lines immediately before its _quickchat("init", …) line, after the stock number is on the page. The kit includes this step already.
const stockRef = document.getElementById("stock-ref")?.textContent.trim();
if (stockRef) {
window._quickchat("custom_params", { listing_ref: stockRef });
}
The widget sends a field named listing_ref. It tells the Agent which public listing to read. The inventory service supplies the body style and seat count. Anyone can change a browser field, so use it only to select records a visitor may already see. How conversation metadata works.
3. How does the chatbot read the right vehicle before it replies?
Give the Agent one read-only API Action. The buyer’s first message triggers a lookup on a fixed inventory host. When the card comes back, the Agent can say which van “this one” refers to.

- In Actions & MCPs, select Add Action → API Action → Create manually. Enter
Read current vehicle listingas the API Action Name. Paste the following into API Action Description.
Read the public stock card for the vehicle page where this chat starts. Use its model, body style and stock reference to identify that vehicle.
- Under When to run, choose Before first reply. In Advanced settings → Run only when, add a condition. Enter
listing_refas the key, choose is one of, and enterMV-0147AandMV-0147Bas two separate values. This comparison is exact. - In API Endpoint, choose GET and paste the URL below. The
metadata_prefix tells the Action to substitute the value from the conversation. You can type the placeholder even on a new Agent where the key has yet to appear in Add AI Data. Leave headers, query parameters, body and What to ask the user first empty. Action variables.
https://quickchat.ai/blog-assets/demos/meridian-vans/inventory/{{metadata_listing_ref}}.json

- Open Test Response, give the metadata variable the value
MV-0147Aand send the test. Look for an HTTP 200 withMV-0147Aandtwo-seat panel vanin the response. Repeat withMV-0147Bto seefive-seat crew van. Save your changes and turn the Action on. You can use the hosted cards for this exercise even if you install the widget on your own domain.
Opening the widget displays its greeting. The lookup waits for the first buyer message and runs once in that conversation. That timing matters if the buyer later clicks through to the other van. Before-first-reply Action behaviour.
4. How do you turn “Friday after four” into a test drive request?
Have the Agent repeat the van’s body style and stock number, then ask which Friday, what time and which time zone the buyer means. The buyer can correct the stock number while the two of them are still talking about the same listing.
- Open Identity → Main Prompt. Paste the instructions below and save.
You take viewing and test-drive enquiries for Meridian Vans. When someone says “this one,” read back the model, body style and exact stock reference from the returned stock card. If a buyer asks about seats, answer from that card. Ask which kind of visit they want if unclear.
Clarify a relative day, an ambiguous time and the time zone. A preferred slot is a request for sales to check. Offer to continue in this chat. Ask for contact details only if the buyer asks for a reply elsewhere.
If the card is missing or the buyer names a different reference, ask them to confirm the reference on the intended listing. Record the correction in your reply. Leave unverified vehicle details for sales to check. When the buyer asks to pass the request to sales, use Human Handoff.
- Under Actions & MCPs, switch Human Handoff on and open Edit Action. Under Handoff rules, add and enable the rule below. Set Question and Confirmation as shown. Pick a time inside the configured human availability for your test. Human Handoff settings.
| Field | Value |
|---|---|
| Name | Vehicle visit requested |
| Description | The buyer has asked to pass a specific viewing or test-drive request to sales, or explicitly asks for a person now. |
| Question | Would you like a salesperson to check that preference here? |
| Confirmation | A salesperson can pick up your request here. |

- In the buyer’s window, open the panel van on your copy of the site. Start a new widget chat and send the opening question.
Can I test-drive this one on Friday after four?
On desktop, the widget answered, “You’d like a test drive of the Lantern E2 two-seat panel van, stock reference MV-0147A.” It asked which Friday, what time after four, and which time zone. The phone run named the same van and reference. In both cases the buyer could answer without leaving the page to hunt for the stock number.

- Confirm the reference, give a date and time zone, and ask sales to take over. Here is the buyer’s message from the example. For your own run, pick a future Friday and use that date on both sides of the exchange.
Yes, MV-0147A. Friday 4 December 2026, around 16:30 UTC. Please pass it to sales. I’ll wait here.
5. How does the salesperson reply to the buyer?
The salesperson takes over the same conversation. Keep the widget open so you can see what arrives from the sales desk.
- In the salesperson’s window, go to Inbox → Open → Unassigned and open the request. That’s where ours arrived after the buyer explicitly asked for sales. Select Assign to me. If you use topic routing and a teammate already owns it, look in Open → Assigned. Inbox views and assignment.
- Read the buyer’s latest message. Check the vehicle, the type of visit, and the date and time zone. Inspect the called Action under the first AI reply or open Actions & MCPs → Read current vehicle listing → View logs. Match the returned stock card to the buyer’s confirmed reference.

- Type a reply in the Inbox. Here’s what Alex sent before checking the appointment diary.
I have your request for the two-seat panel van, MV-0147A, for Friday 4 December at 16:30 UTC. I’ll check the diary and reply here.

The test is complete when the buyer can read the salesperson’s words on the original listing. Sales can check the vehicle and diary, then send an appointment confirmation in a later message.
6. What happens if the buyer switches to the other van?
A fresh chat on the crew van should read card B. An existing chat still has the card it read on its first turn. Try both so you know which stock number the salesperson should act on.
| Try this | What to check |
|---|---|
| Open the crew listing. Use the pen-in-a-square new chat control and ask “Can I view this one?” | Our widget identified the five-seat crew van, MV-0147B, and asked when the buyer wanted to visit. Inspect the call for MV-0147B.json. |
| In that crew-van chat, say “Actually, I’m now looking at MV-0147A. Is that the panel van?” | Our Agent repeated the new reference and asked the buyer to confirm it. Its existing Lack Of Knowledge handoff rule also brought in sales. Only B had been looked up. Start a fresh chat on the panel listing to fetch A. |
| With B in a fresh chat, ask “How many seats does this one have?” | The Agent answered five in our simulation. A seating question on its own stayed with the Agent. |
Try a new chat with no listing_ref, or with the unlisted value MV-9999. | Both tests skipped the HTTP request. A skipped Action can still appear in the log. Open it and check the URL and HTTP status before counting it as a lookup. |
| A permitted card returns 404 on your own inventory host. | With the crew-van file unavailable, the Agent asked the buyer to confirm the reference and left the vehicle details open. Restore the card and start a new chat to retry. |
The stock card can be correct and the answer can still be too vague for sales. In one pair of Quickchat AI simulations, both first turns fetched the panel-van card with HTTP 200. We used this Main Prompt for the first run.
You take viewing and test-drive enquiries for Meridian Vans. Identify the vehicle from the returned public stock card. Ask sales to check the requested time.
The reply offered to ask sales about the Lantern E2. Either van fits that description. With the Main Prompt from step 4, the next run identified the Lantern E2 two-seat panel van, stock ref MV-0147A, then asked which Friday, whether “after four” meant 4 p.m., and which time zone.

To repeat the comparison on your practice Agent, open Conversations → Testing → Create Dataset. Name it Panel van first reply. Under Paste messages, enter the opening question about Friday. Under Conversation metadata (advanced), enter {"listing_ref":"MV-0147A"}. Create the dataset, save the short prompt and choose Run → Start Run after reviewing the message cost.
Restore the step 4 prompt and run the same dataset again. Give the two replies to your salesperson and ask them to identify the van from each one. Check the Action log to see which card each run received. Metadata applies to every question in a dataset. Use a separate dataset with {"listing_ref":"MV-0147B"} for the crew van, or leave the metadata empty to try a page with no reference. Simulation testing guide.
For a sales desk that collects enquiries in a spreadsheet, the apartment tour request walkthrough shows the buyer’s preferred window arriving as a new row after they agree to send it.
Can ChatGPT or Claude help configure the dealership chatbot?
An authorized Quickchat AI account connection can prepare the HTTP Action and inspect its settings. Give it the endpoint and values from step 3. You’ll still install the widget on the dealership site and receive the buyer’s message as a salesperson. Connect Quickchat AI to ChatGPT. Connect it to Claude.
In my Meridian Vans practice Agent, draft a GET Action named Read current vehicle listing. Fetch https://quickchat.ai/blog-assets/demos/meridian-vans/inventory/{{metadata_listing_ref}}.json to identify the vehicle by model, body style and stock reference. Run it before the first reply only when listing_ref is one of MV-0147A or MV-0147B. Leave headers, query and body empty. Show me both expanded URLs and the run condition before enabling the Action. Ask before running tests that spend credits.
Frequently asked questions
How does an automotive chatbot know which vehicle a buyer is viewing?
The vehicle detail page passes its stock number to the website widget as conversation metadata. On the first buyer message, a Quickchat AI Action uses that number to fetch the public stock card. The Agent can then identify the vehicle by its stock number and body style.
Can this dealership chatbot book a test drive?
It records which vehicle the buyer wants to test-drive and their preferred date and time. A salesperson takes over the chat, checks vehicle availability and the dealership diary, and confirms the appointment with the buyer. The stock card contains no appointment slots.
What if the buyer changes vehicle listings during the chat?
The first-message lookup runs once per conversation. Ask the buyer to confirm the new stock number and keep the correction in the thread for sales. To look up the new vehicle immediately, start a new chat on its listing.
Does a buyer need to share a phone number or email address?
A salesperson can reply while the buyer has the chat open on the dealership’s website. Ask for a phone number or email address only if the buyer wants a reply through that channel.
Can I use my dealership’s own inventory feed?
Yes. Point the GET Action at a fixed endpoint that returns one public vehicle record. Replace the two demo stock numbers in the run condition with your own. Return the stock number and the facts buyers can verify on its listing. Keep customer records and the appointment diary separate.