---
schema_version: "1"
id: 75d266f4e2abb98f0c79080f59ba4365a501521b2f864ebc685ad6e7881b271c
title: Add Support for Google Map Data
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/add_support_for_google_maps.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.add_support_for_google_maps.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: df4b4d13b1aec5906425c33be582d2aaf5ef9489d9ea1fac03311ce75a6d262a
description: By default, the Self-Scheduling Omniscript for self-service appointment management accepts only ZIP codes for location data. In Omnistudio, you can customize the Omniscript to add support for Google Map data.
products:
  - Health
release: "264"
---
# Add Support for Google Map Data

By default, the Self-Scheduling Omniscript for self-service appointment management accepts only ZIP codes for location data. In Omnistudio, you can customize the Omniscript to add support for Google Map data.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available in: Lightning Experience</p>
              <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions with Health
                Cloud</p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d181692e66">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d181692e66 ">To use OmniStudio</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d181692e66 ">OmniStudio Admin permission set</td>

          </tr>
        </tbody>
      </table>

To add support for Google Map data, you must obtain a Google Maps API Key from Google.

1. Create a new version of the healthCloudIAM/selfService Omniscript.
    1. In the source org, from the App Launcher, open the OmniStudio app.
    2. Go to the OmniScripts page and enter healthCloudIAM in the search field.
    3. Expand the healthCloudIAM/selfService Omniscript.
    4. Click the link for the highest version.
        
        The Omniscript opens in the Omniscript Designer.
    5. Click **New Version**.
        
        The Version value in the Header is incremented.
2. In the Navigation Panel, click the Tree View icon.
    
    The Tree View lets you view and select step subcomponents.
3. Edit the SelectLocation step.
    1. Select the **SelectLocation** step.
    2. In the Navigation Panel, expand the SelectLocation step.
    3. Click **PatientZipCode**.
    4. In the Number Properties panel, deselect **Active**.
    5. In the Navigation Panel, click **Location**.
    6. In the Type Ahead Block Properties panel, select **Active**.
    7. In the Type Ahead Block Properties panel, scroll to the Google Maps Autocomplete section.
    8. Enter your **Google Maps API Key**.
    9. In the Navigation Panel, click **CheckCompleteAddress**.
    10. In the Formula Properties panel, select **Active**.
    11. In the Navigation Panel, click **CompletAddressMsg**.
    12. In the Messaging Properties panel, select **Active**.
4. Edit the ScheduleProvider step.
    1. Select the **ScheduleProvider** step.
    2. In the Navigation Panel, expand the ScheduleProvider step.
    3. Click **FilterPatientZipCode**.
    4. In the Number Properties panel, deselect **Active**.
    5. In the Navigation Panel, expand MoreFilters.
    6. Click **SearchPatientLocation**.
    7. In the Type Ahead Block Properties panel, select **Active**.
    8. In the Type Ahead Block Properties panel, scroll to the Google Maps Autocomplete section.
    9. Enter your **Google Maps API Key**.
    10. In the Navigation Panel, click **CheckFilterAddress**.
    11. In the Formula Properties panel, select **Active**.
    12. In the Navigation Panel, click **ValidAddress**.
    13. In the Messaging Properties panel, select **Active**.
5. Edit the Apply Filter button in the ScheduleProvider step.
    1. In the Navigation Panel, click **IntegrationProcedureAction1**.
        
        As an alternative, you can click the **Apply Filter** button in the step.
    2. In the Integration Procedure Action Properties panel, next to the Integration Procedure field, click the icon to open the Integration Procedure.
        
        The healthCloudIAM-FetchProviderAndTimeSlotsFilter Integration Procedure opens in the Integration Procedure Designer.
    3. Select the **DRTransformProviderSearchInput** step.
    4. In the Omnistudio Data Mapper Transform Action Properties panel, next to the Data Mapper Interface field, click the icon to open the Data Mapper.
        
        The HealthCloudIAMTransformProviderSearchFiltersInput Data Mapper opens in the Data Mapper Designer.
    5. Click **Clone**.
    6. Go to the **Transforms** tab if you aren't already there.
    7. Edit the `ScheduleProvider:FilterPatientZipCode` Input JSON Path and select **Is Disabled**.
    8. Edit the `ScheduleProvider:MoreFilters:SearchPatientLocation-Block:FilterPatientZipCode` Input JSON Path and deselect **Is Disabled**.
6. In the Omniscript Designer, edit the IPGetProviderAndSlots element.
    1. Select the **IPGetProviderAndSlots** element.
    2. In the Integration Procedure Action Properties panel, next to the Integration Procedure field, click the icon to open the Integration Procedure.
        
        The healthCloudIAM-FetchProviderAndTimeSlots Integration Procedure opens in the Integration Procedure Designer.
    3. Select the **DRTransformProviderSearchInput** element.
    4. In the Data Mapper Transform Action Properties panel, next to the Data Mapper Interface field, click the icon to open the Data Mapper.
        
        The HealthCloudIAMTransformProviderSearchInput Data Mapper opens in the Data Mapper Designer.
    5. Click **Clone**.
    6. Go to the **Formulas** tab.
    7. Next to the `UpdatePatientZipCode` Formula Result Path, select **Is Disabled**.
    8. Go to the **Transforms** tab.
    9. In the Input JSON Path column, rename the **UpdatedPatientZipCode** field to InputPatientZipCode.
7. In the Omniscript Designer, click **Activate Version**.