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 website quote request is geocoded, checked against the nearest depot's service radius and routed by urgency to the right crew

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:

  1. Is it in our area? Not โ€œwhich suburb did they typeโ€, but how far the address really is from the nearest depot.

  2. How urgent is it? An active leak, an outage or a safety risk is urgent. A quote for next season isnโ€™t.

  3. 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 depots with 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.

Flow from a quote form webhook through geocoding, nearest depot, a service area check, urgency scoring and routing to Slack and a sheet

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.

You might also like

All it takes is an idea.

Imagine. Build. Ship.

Subscribe to our newsletter

Stay in the loop with product updates and news.

ยฉ 2026 BuildShip, Rowy Inc.

All it takes is an idea.

Imagine. Build. Ship.

Subscribe to our newsletter

Stay in the loop with product updates and news.

ยฉ 2026 BuildShip, Rowy Inc.

All it takes is an idea.

Imagine. Build. Ship.

Subscribe to our newsletter

Stay in the loop with product updates and news.

ยฉ 2026 BuildShip, Rowy Inc.