Skip to main content

Google Maps TEXT Directions Automation

  • June 12, 2024
  • 3 replies
  • 42 views

Forum|alt.badge.img+4

Hi all

I am using the Make.com modules to create a scenario where an address input into AT triggers an automation that generates a google maps link with transit options for travel from A to B.

My question is if I can enhance this to provide me with a string of text for the directions, e.g., "Take Bus 83 to X and then walk 8 minutes to Y"

 

Many thanks !

 

3 replies

Sachin_191
Forum|alt.badge.img+12
  • Participating Frequently
  • 100 replies
  • June 12, 2024

 

To enhance your Make.com automation, we can extend it to provide text-based directions by integrating Google Maps API for detailed transit directions. The process involves taking the address input from Airtable (AT), using Make.com to trigger the Google Maps API, and then parsing the response to generate a text string with step-by-step directions.

Here's a practical approach:

  • Trigger automation with the address input from AT.
  • Use Google Maps API to fetch transit options.
  • Parse the response to extract detailed steps and format them into a readable string like "Take Bus 83 to X and then walk 8 minutes to Y."

TheTimeSavingCo
Forum|alt.badge.img+31

Does Google's response include any of that text or anything you could use to format into that?  If not, you're probably going to need to look for a different service to get that level of detail


Sachin_191
Forum|alt.badge.img+12
  • Participating Frequently
  • 100 replies
  • June 12, 2024

To enhance your Make.com scenario, we'll integrate a Google Maps Directions API call that will generate both the Google Maps link and a detailed text string with transit directions. This will allow us to extract step-by-step directions such as "Take Bus 83 to X and then walk 8 minutes to Y." Here's how we'll approach it:

  • Use the Airtable trigger to capture address input.
  • Implement the Google Maps Directions API to fetch transit routes.
  • Parse the API response to create a human-readable text summary of the directions.
  • Output both the Google Maps link and the text summary back to Airtable or another destination of your choice.