Mapping Google fields

You can map fields to control which fields in Google get synced to which fields in Salesforce, and vice versa.

Step-by-step guide

Follow these steps to set up a field mapping between Google and Salesforce.

  1. Go to setup and find Custom Metadata Types.

     

  2. Find Sync Field Mapping and click Manage Records next to it.

     

  3. Click New and fill out the form.

     

  4. Enter the Label and the Sync Field Mapping Name.

  5. For the sObject Type, choose Reservation.

  6. For sObject Field, choose a field on Reservation. Make sure this is a field that is writable (so not a formula field for instance).

  7. For the API Field, enter a reference to the field in Google. For a list of which Google fields can be referenced, see: https://developers.google.com/calendar/v3/reference/events .

You can reference cross object fields from the Google response in the API Field with a dot notation, such as recipient.emailAddress

Make sure the data types match of both the Google and the Salesforce field.