Google Chat
Home > Integration > Business Process Automation & Orchestration > Hornbill iBridge > Google Chat
Cloud-based Productivity PlatformThe Google Chat Cloud Automation operations for Hornbill allow you to manage Spaces and Messages within Google Chat. Google Chat is a Premium Integration |
Related Articles |
Authentication
In order to integrate with Google Chat, you will first need to configure, and securely store the authentication credentials for the Google Chat account/s you want to use with the Hornbill platform within oAuth 2.0. You can configure your Google Chat account authentication in KeySafe, as below.
Storing Credentials
- In Administration, navigate to System > Security > KeySafe;
- Select on + and select oAuth 2.0
- Give the oAuth 2.0 KeySafe a Title (this is the name / identifier for the Google Chat account as you will see it when using the Integration Call node in your business process)
- Add your Google Chat Application Client Id, Client Secret, Authorize URL, Access URL, and Refresh URL within the relevant fields.
- Include the required oAuth Scopes (space separated like so: https://www.googleapis.com/auth/chat.memberships https://www.googleapis.com/auth/chat.messages). To enable create, read and update permissions for Google Chat Spaces the following scope can be used: "https://www.googleapis.com/auth/chat.spaces https://www.googleapis.com/auth/chat.spaces.create https://www.googleapis.com/auth/chat.delete". Alternatively you can see a full list of scopes here.
- Finally to enable re-authentication set the Additional Params to 'access_type=offline'.
- Optionally add a description
- Select Create Key to save
- Once the Key is created, you will need to connect to Google Chat and your account, in order to authorize the Hornbill App to perform the listed Google Chat options. Click Connect and you will be redirected to Google Chat in a popup window
- Log in to your Google Chat account, and then you will be prompted to review the operations you are authorising the Hornbill App to be allowed to perform with the chosen Google Chat account
- Select the relevant scopes, click Continue, you will be returned to your Keysafe key
Revoking Access
If at any point you wish to revoke the Hornbill platform's access to Google Chat, just hit the Revoke button against your Google Chat Keysafe key.
NOTE: This will revoke the rights of any existing Google Workspace Integration Calls in your Business Processes/Custom Buttons/Auto Tasks/Runbooks that are using the revoked Google Chat account, so you will need to edit these accordingly.
Cloud Automation Operations
You can automate the use of the operations listed below using Cloud Automations from within the Business Process Designer, Auto Tasks, Custom Buttons or Runbooks.
- Spaces
- Create
- Delete
- Get
- History
- Update
- Messages
- Create
- Delete
- Get
- Update
Read more about using the Integration Call from the Related Articles section, and learn how to work with input and output parameters for each of the Google Chat operations.