DEV Community

Mariela Dimitrova for Software AG Tech Community

Posted on • Originally published at tech.forums.softwareag.com on

Get Google Maps direction to the place searched on Google Places using Software AG webMethods.io

Summary

This article describes a business use case to get direction using Google Maps to the places searched by Google Places.

Prerequisites

  • User should have a working webMethods.io Integration tenant.

  • User should have a working Google account.

Steps

  1. Login to webMethods.io Integration tenant and create a workflow.
  2. Drag and drop the Google Places connector to the workflow palette. Double click on its icon to configure the action.
  3. In the action configuration screen, select the Search Places action and connect to Google Places using API token. image
  4. In the next screen, provide a Search Query for the places. For example, it can be restaurants, hotels, hospitals, etc. image
  5. Skip testing the action in the next screen and click Done.
  6. Drag and drop Google Maps connector to the workflow palette. Double click on its icon to configure the action.
  7. In the action configuration screen, select the Get Direction action and connect to Google Maps using API token. image
  8. In the next screen, provide an Origin and map the Search Places response in Destination as shown below. image
  9. Skip testing the action in the next screen and click Done.
  10. Save and execute the workflow. Check the execution history for results. image

Read full topic

Discussion (0)