Google Maps Platform · Arazzo Workflow
Google Maps Find the Nearest Open Place and Route to It
Version 1.0.0
Search for places near a coordinate ranked by distance, verify the nearest is operational, then route the user there.
View Spec
View on GitHub
EnvironmentGeocodingGeolocationMapsNavigationPlacesRoutingSolarArazzoWorkflows
Provider
Workflows
nearby-search-to-directions
Go from a user coordinate to turn-by-turn directions to the nearest matching place.
Runs a distance-ranked nearby search inside a circle, enriches the closest result with Place Details to check business status and opening hours, and then computes a route from the origin coordinate to that place.
1
searchNearby
searchPlacesNearby
Find places of the requested types inside the circle, ranked by distance so the first result is the closest one rather than the most popular one.
2
verifyNearestPlace
getPlaceDetails
Read the nearest candidate in full to confirm it is operational and to pick up opening hours and a phone number before sending anyone to it.
3
routeToPlace
getDirections
Route from the origin coordinate to the verified place. The destination is given as a place_id-prefixed value so the route lands on the exact place the search returned rather than a re-geocoded name.
Source API Descriptions
openapi