Blog
How to Route Website Quote Requests by Location and Urgency Automatically
Tutorial
ยท
Quick answer: To route website quote requests by location and urgency, start a BuildShip workflow with a REST API Trigger that receives the form submission, geocode the address with the Google Maps nodes, work out the nearest depot and its distance, and compare that with the depotโs service radius. If the address is out of area, draft a polite reply for a person to send. Otherwise an AI node reads the message for urgency, a Switch node sends urgent jobs to the on-call lead and standard ones to the depotโs channel, and the request is saved in a Google Sheet. The crew lead decides whether to take the job.

A homeowner fills in a quote form on a Saturday morning. The request sits in an inbox until Monday. Then someone forwards it to the wrong depot because nobody checked the suburb, and the customer has already booked whoever called back first.
Half the callbacks go to addresses the business doesnโt even serve. The other half include the one that was urgent, a leak thatโs still leaking, which was read at the same speed as โquote for a fence next springโ.
For businesses that win work by being quick and local, solar installers, pest control, cleaning, landscaping, field services, the routing is the business. Fortunately itโs rules and a bit of reading, which is exactly what a workflow is good at.
Three questions every request should answer
Before a person sees a request, the workflow should already know:
Is it in our area? Not โwhich suburb did they typeโ, but how far the address really is from the nearest depot.
How urgent is it? An active leak, an outage or a safety risk is urgent. A quote for next season isnโt.
Who should see it? The on-call lead for urgent, the nearest depotโs queue for everything else.
If the answer to the first is no, nobody should waste a phone call on it, and the customer should still get a kind, quick reply from a person.
What you need
A BuildShip workspace. You can start a 7-day trial (a card is required).
A website form, or a form tool, that can post to a URL.
A Google Cloud project of your own with the Geocoding and Directions APIs enabled, for the Google Maps nodes.
A Google Sheet
depotswith name, address, Slack channel and radius in km.A Slack channel per depot, plus one for the on-call lead.
Build it step by step
1. Receive the form
Start with a REST API Trigger (POST) that accepts name, phone, email, address, service type and message. Point your formโs webhook at the URL BuildShip gives you. We cover the setup in how to trigger an AI agent from a REST API call.
Have the workflow return {status: "received"} to the form so the visitor gets a clear response.
2. Geocode the address
Use the Google Maps Geocode Address node to turn the typed address into coordinates. If the node canโt find the address, that is a result too: route it to a person with the original text.
3. Find the nearest depot
Read your depots with Google Sheets Get Sheets. Use Calculate Distance from the customerโs address to each depotโs address and pick the smallest. Remember that Google Maps nodes use your own Google Cloud project, so the Geocoding and Directions APIs need to be switched on there.
4. Check the service area
If the distance is greater than the nearest depotโs radius, donโt contact the customer automatically. Send a Slack Message to the quote desk with a drafted polite โwe donโt cover your area yetโ reply and mark the row out_of_area. A person reads it and sends it.
5. Read the message for urgency
For requests in the area, use an AI JSON node to read the message and return a one-sentence summary, a priority (urgent or standard) and a complexity. Be strict about what counts as urgent: active leaks, outages and safety risks only. If everything is urgent, nothing is.
6. Route and tell the right person
Use a Switch node. Urgent goes to the on-call channel, standard goes to the nearest depotโs channel. Post a Slack Message with the summary, the address, the distance in km, the phone number and the priority.
7. Keep a record
Add a row to a Google Sheet quote-requests with everything above, including requests you didnโt route. Later you can see which suburbs you keep turning away, and whether a new depot is worth considering.

The crew lead decides whether to take the job and calls the customer.
Prompt to start from in BuildShipโs AI builder
Build a workflow with a REST API Trigger (POST) that accepts name, phone, email, address, service_type and message. Geocode the address with the Google Maps Geocode Address node. Then use Calculate Distance from the address to each depot listed in a Google Sheet โdepotsโ (columns: name, address, slack_channel, radius_km) and pick the nearest depot. If the distance is greater than the depotโs radius_km, do not contact the customer; send a Slack Message to #quote-desk with a drafted polite out-of-area reply and mark the row โout_of_areaโ. Otherwise use an AI JSON node to read the message and return summary (one sentence), priority (urgent or standard, urgent only for active leaks, outages or safety risks) and complexity. Use a Switch node: urgent goes to the on-call channel, standard goes to the nearest depotโs channel. Post a Slack Message with summary, address, distance in km, phone and priority. Save every request in a Google Sheet โquote-requestsโ. Return {status: โreceivedโ} to the form immediately.
Where people stay in charge
The crew lead decides whether to take the job and calls the customer. Out-of-area replies and any message to a customer are drafted for a person to send, never sent automatically. The urgency call is a modelโs reading of a few sentences, so the Slack message includes the original wording and a person can overrule it.
What Iโd test first
Use a fictional business with fictional depots, and a made-up customer. For addresses, use well-known public landmarks rather than a real home. Test four requests: one close to a depot and routine, one close and urgent, one well outside the radius, and one with an address the geocoder canโt find. Check which channel each one lands in, and read the out-of-area draft out loud. If youโd wince sending it, fix the prompt.
Two things to tune with real use. The radius per depot is a business decision, not a technical one, so ask the crew leads. And the urgency wording will need a few rounds as you see real messages.
FAQ
Can BuildShip check whether an address is in my service area?
Yes. The Google Maps nodes can geocode an address and calculate the distance to each depot, and a script or If/Else node compares it with the depotโs radius. They run on your own Google Cloud project with the right APIs enabled.
Does the workflow reply to the customer?
No. Out-of-area replies are drafted for a person to send. The crew lead calls the customer for in-area jobs.
How does it decide what is urgent?
An AI node reads the message against rules you set, for example active leaks, outages and safety risks only, and the Slack message includes the original wording so a person can overrule it.
Can it work with any website form?
Any form or form tool that can post to a URL can start it, through the REST API Trigger.
How much does it cost to try?
BuildShip plans start with a 7-day trial, and a card is required to start it. See the pricing page for plans and credits.
Start building
The quickest way to learn this is to build it. Start your 7-day trial (a card is required) and start with one depot and four test requests. For a similar โscore it, then tell the right personโ build, see how to score new Supabase signups and send the hot ones to Slack.





