DIRECTIONS_GOOGLE

Get directions according to you start and end locations. You can further define your search by choosing a mode of transportation or adding waypoints.

icon of Google MapsGoogle Maps
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
DIRECTIONS_GOOGLE(startend
[mode]
[start_time]
[end_time]
[avoid]
[waypoints]
)
start

The origin name, address, latitude and longitude, or Google place ID. For example: "Porto, Portugal".

end

The destination name, address, latitude and longitude, or Google place ID. For example: "Berlin, Germany".

[optional] mode

The travel mode. Choose either:

  • "driving" (default)

  • "walking"

  • "bicycling"

  • "transit"

Selected options:
Bicycling
Driving
Transit
Walking
[optional] start_time

The departure time in UNIX format. For example: 1600281000. If provided, it ignores end_time.

[optional] end_time

The arrival time in UNIX format. For example: 1600281000.

[optional] avoid

What transit elements to avoid in the route. Choose either:

  • blank or "" (default) for normal routing

  • "tolls"

  • "highways"

  • "ferries"

  • "indoor"

Selected options:
Ferries
Highways
Indoor
Routing
[optional] waypoints

List of addresses, "latitude,longitude", or Google place IDs to stop on the way, separated by a |. For example: "Madrid,Spain|Paris,France".

More details

If you need an API key for the Google Cloud Platform, follow the step-by-step guide in our forum.

Examples

DIRECTIONS_GOOGLE("Toronto, Canada", "Montreal, Canada") returns directions from Toronto to Montreal.