Skip to main content
Back to Actions Integrations Use prebuilt Google Maps action templates to auto-create dialog tasks. Prerequisites: Configure Google Maps and install templates before proceeding. To access templates:
  1. Go to Automation AI > Use Cases > Dialogs and click Create a Dialog Task.
  2. Under Integration, select Google Maps and choose a template (e.g., Get locations by coordinates).
  3. Click Proceed. Select dialog and proceed
If no integration is configured, click Explore Integrations to go to the Actions page. Explore integrations

Supported Actions

ActionDescriptionMethod
Get Places by NameReturns coordinates and address for a place nameGET
Get Locations by CoordinatesReturns location information from coordinatesGET

Get Places by Name

  1. Install the template from Google Maps Templates.
  2. The Get Places dialog task is added with: Get Places task added
    • getPlaces – User intent to get places by name.
    • place – Entity node to enter the place name.
    • getLocationService – Bot action service to find places. Optionally click Edit Request: Edit request Click +Add Response: Add Response Sample Response:
      {
        "places": [
          {
            "formatted_address": "3rd Floor, Aurobindo Galaxy Towers, Hitech City Rd, Hyderabad, Telangana 500081, India",
            "geometry": {
              "location": { "lat": 17.4368202, "lng": 78.3754289 }
            },
            "name": "Kore.ai Software India Pvt Ltd",
            "opening_hours": { "open_now": false },
            "place_id": "ChIJG6F9J8-TyzsRmATpJeu0qxE"
          }
        ],
        "status": "OK"
      }
      
    • getPlacesMessage – Message node to display results.
  3. Click Train, then Talk to Bot to test.
  4. Follow prompts to find places by name. VA prompt

Get Locations by Coordinates

  1. Install the template from Google Maps Templates.
  2. The Get Locations by Coordinates dialog task is added with: Get Locations dialog task
    • getLocationsbyCoordinates – User intent to find locations using coordinates.
    • latitude and longitude – Entity nodes for coordinate inputs.
    • getLocationsbyCoordinatesService – Bot action service to get locations. Optionally click Edit Request: Edit Request Click +Add Response: Add Response Sample Response:
      {
        "plus_code": {
          "compound_code": "P27Q+MCM New York, NY, USA",
          "global_code": "87G8P27Q+MCM"
        },
        "results": [
          {
            "formatted_address": "277 Bedford Ave, Brooklyn, NY 11211, USA",
            "geometry": {
              "location": { "lat": 40.7142205, "lng": -73.9612903 },
              "location_type": "ROOFTOP"
            },
            "place_id": "ChIJd8BlQ2BZwokRAFUEcm_qrcA",
            "types": ["street_address"]
          }
        ],
        "status": "OK"
      }
      
    • getLocationsbyCoordinatesMessage – Message node to display results.
  3. Click Train, then Talk to Bot to test.
  4. Follow prompts to get location details. VA prompts
  5. Click and expand the desired result to view location details. View location details