By now you have realized that the latest version of the Workflow App no longer has deep integration to Google Maps. That's not too big a deal, since you can make do with the Workflow Open URLs function. Here's how...

I prefer Google Maps because Apple Maps is really bad in my country. So, here are the shortcuts I've created using a Workflow menu, to drive to:

  1. Office
  2. Home
  3. Contact Address
  4. Meeting Location

Navigate to a fixed location like Office / Home

This is easy, I just put:

  1. A Text action in the Google Maps URL format.
  2. Finish up with Open URLs.
comgooglemaps://?daddr=googlepex+mountain+view&directionsmode=driving&views=traffic

where:

  • daddr = destination address, either as a name (replace spaces with +, or use the URL Encode function as described later) or as co-ordinates, e.g. 37.4220041,-122.0862462.
  • saddr = I left this out so that the route would start at "my location"
  • directionsmode = driving, transit, walking, and bicycling too!
  • views = satellite, traffic, or transit

Navigate to a Contact Address

Not too difficult either:

  1. Start with Select Contact.
  2. Then use Get Details of Contacts with Get Street Address.
  3. I add Count of Items.
  4. So that If the count Is Greater Than 0
    1. Then Get Variable Details of Contacts (a Magic Variable using to the output of Step 2 above) .
    2. Followed by Choose from List to chose one address (even if there is only one, it'll still show it for confirmation).
    3. And use URL Encode to encode (i.e. escape) the address.
    4. Finally, Text with the following, replacing `[[URL Encoded Text]] with the appropriate Magic Variable.
    5. Then use Open URLs to open the URL above in Google Maps.
comgoolgemaps://?daddr=[[URL Encoded Text]]&directionsmode=driving&views=traffic
  1. Otherwise, I did Get Variable Contact (Magic Variable from step 1)
  2. And finally, Open In... to open the in the App Contact

Here's what it looks like:

Workflow to open Google Maps to a Contact's address

As a side note, if you run these in a today widget, you may wish to start with Continue Workflow In App so that the Choose from List has more details rather than just a single line name in the Widget.

Navigate to a Meeting Location

More fun!

  1. Start with Find Calendar Events Where, Start Date is today, sort by Start Date Oldest First
  2. Then Choose from List
  3. Use Get Details of Calendar Events to Get Location.
  4. I add Count of Items.
  5. So that If the count Equals 1
    1. Then Get Variable Details of Calendar Events (a Magic Variable using to the output of Step 3 above)
    2. And use URL Encode to encode (i.e. escape) the address.
    3. Finally, Text with the following, replacing `[[URL Encoded Text]] with the appropriate Magic Variable.
    4. Then use Open URLs to open the URL above in Google Maps.
comgoolgemaps://?daddr=[[URL Encoded Text]]&directionsmode=driving&views=traffic

Conclusion

I have shown how to use Workflow to the Google Maps app despite lack of native support. The magic is in the form of URL Schemes.

In addition, Google Maps supports the x-callback-url specification which enable Google Maps to show a button at the top of the screen to "callback" to a URL specified, i.e. to open another app via its URL.

I've not tested, but apparently Waze (waze://?ll=[[latitude]],[[longitude]]&navigate=yes) and Here Maps by Nokia (here-route://[[latitude]],[[longitude]]) are similar. References: iOS API documentation for Waze and unofficial information at Stack Overflow.

Just Google for the URL Schemes of specific apps (I can't find a definitive list).

Updated 23 Sep: With many thanks to JD S. for the correction he emailed on 30 Aug!