How to use IBM App Connect with Google Contacts
Google Contacts is a contact management tool that enables you to store and organize contact information to ease communication with your contacts and keep track of email addresses and phone numbers.
- App Connect Enterprise as a Service connector
- Local connector in containers (Continuous Delivery release) 12.0.9.0-r2 or later
- Local connector in containers (Long Term Support Cycle-2 release)
Connecting to Google Contacts
Complete the connection fields that you see in the App Connect Designer Catalog page or flow editor. If necessary, work with your Google Contacts administrator to obtain these values.
Google Contacts connection fields:
Authorization type | Connection fields | Applicability |
---|---|---|
Use the application's website to sign in (OAUTH 2.0 AUTH CODE) | Application client ID | App Connect Enterprise as a Service |
Application client secret | ||
Provide credentials for App Connect to use (BASIC OAUTH) | Application client ID | App Connect Enterprise as a Service and App Connect in containers |
Application client secret | ||
Access token | ||
Refresh token |
Connection field | Description |
---|---|
Application client ID | The unique identifier that is generated from the Google API Console that maps to specific project requests. |
Application client secret | The application client secret for the unique application client ID created for a specific project. |
Access token | The access token that is generated from the application client ID and client secret. |
Refresh token | The refresh token that is generated from the application client ID and client secret. |
To connect to a Google Contacts endpoint from the App Connect Designer Catalog page for the first time, expand Google Contacts, then click Connect. For more information, see Managing accounts.
Before you use the account that is created in App Connect in a flow, rename the account to something meaningful that helps you to identify it. To rename the account on the Catalog page, select the account, open its options menu (⋮), then click Rename Account.
General considerations
Before you use App Connect Designer with Google Contacts, take note of the following considerations
- (General consideration) You can see lists of the trigger events and
actions that are available on the Catalog page of the App Connect Designer.
For some applications, the events and actions in the catalog depend on the environment and whether the connector supports configurable events and dynamic discovery of actions. If the application supports configurable events, you see a Show more configurable events link under the events list. If the application supports dynamic discovery of actions, you see a Show more link under the actions list.
- (General consideration) If you are using multiple accounts for an application, the set of fields that is displayed when you select an action for that application can vary for different accounts. In the flow editor, some applications always provide a curated set of static fields for an action. Other applications use dynamic discovery to retrieve the set of fields that are configured on the instance that you are connected to. For example, if you have two accounts for two instances of an application, the first account might use settings that are ready for immediate use. However, the second account might be configured with extra custom fields.
Events and actions
Google Contacts events
These events are for changes in this application that trigger a flow to start completing the actions in the flow.
Google Contacts actions
Your flow completes these actions on this application.
Object | Action | Description |
---|---|---|
Contact groups | Retrieve contact groups | Retrieves the contact group in Google Contacts |
Add contacts to contact group | Adds the contacts to a group | |
Create contact group | Creates the contact group in Google Contacts | |
Delete contact group | Deletes a contact group in Google Contacts | |
Remove contacts from contact group | Removes the contacts from the group | |
Retrieve contact group by ID | Retrieves the contact group in Google Contacts using contact ID | |
Update contact group | Updates the contact group | |
Contacts | Retrieve contacts | Retrieves the contacts from Google Contacts |
Create contact | Creates a contact in Google Contacts | |
Delete contact | Deletes a contact | |
Delete contact photo | Deletes a contact picture | |
Refresh contacts cache | Refreshes the contacts in Google Contacts | |
Retrieve contact by ID | Retrieves the contact by using contact ID | |
Retrieve contacts by search string | Searches for the stored contacts in Google Contacts | |
Update contact | Updates the contact in Google Contacts | |
Update contact photo | Updates the contact picture | |
Other contacts | Retrieve other contacts | Retrieves the other contacts |
Copy to my contacts | Copies other contact to My contacts | |
Refresh other contacts cache | Refreshes the other contact in Google | |
Retrieve other contacts by search string | Searches the other contacts in Google Contacts |
Examples
Use templates to quickly create flows for Google Contacts
Learn how to use App Connect templates to quickly create flows that complete actions on Google Contacts. For example, open the Templates gallery, and then search for Google Contacts.
Use IBM® App Connect to build flows that integrate with Google Contacts.
Read the blog in the IBM Community to learn how to create a contact and add the contact to a Google Contacts group based on the product interest of the new Salesforce lead. Click Read the blog to go to the blog.