Google Chat OAuth allows Google Chat to access user data and perform operations on the authenticated user's behalf.
Torq enables quick and easy integration with Google Chat OAuth, so you can automate anything and everything within moments. Torq's public Google Chat OAuth steps include:
Create Direct Message Space
List Spaces
Send Message
If you don't see a step you need, you can create your own in various ways, such as using the Send an HTTP Request step or Torq’s Step Builder, and share it across your organization.
Use Google Chat OAuth Steps in Torq
Step One: Create a Project in GCP
Open the Google Cloud Console: Navigate to IAM & Admin > Create a Project.
Create a New Project:
Enter a meaningful name for the project.
Select an organization.
Select the location.
Finalize: Click Create.
Step Two: Create a Service Account in the Project
Create a Service Account: Navigate to IAM & Admin > Service Accounts and click Create service account.
Configure the Service Account:
Enter a meaningful name.
Enter a unique ID.
(Optional) Provide a description.
Click Create and continue.
(Optional) Grant the service account access to a project.
(Optional) Grant users or groups access to the service account.
Finalize: Click Done.
Step Three: Enable APIs
Go to the API Library: Navigate to APIs & Services > Enabled APIs & services and click Enable APIs and services.
Enable APIs: Select any service for which you want to enable the API (e.g. Gmail) and click ENABLE.
Step Four: Configure the OAuth Consent Screen
If you haven't previously configured the Google Auth platform, you need to configure the consent screen.
Navigate to the Consent Screen: Navigate to APIs & Services > OAuth consent screen and click Get started.
Configure the App:
Enter the app name.
Select the support email.
Click Next.
Select an Internal or External audience.
Enter the email address for the point of contact.
Agree to the Google API Services: User Data Policy.
Click Continue.
Finalize: Click Create.
Step Five: Retrieve the Callback URL
Navigate to the Integration: Go to Build > Integrations > Steps > Google Chat OAuth and click Add Instance.
Copy the Callback URL: Copy the URL to save it for later—you will need it to create the Client ID in the GCP Console.
Step Six: Create a Client ID and Client Secret
Create a Client ID: Navigate to APIs & Services > Credentials, click Create credentials, and then select OAuth client ID.
Configure the Client ID:
Select Web application.
Enter a meaningful name.
For authorized JavaScript origins, click Add URI, and enter
https://app.torq.io
for non-EU orhttps://app.eu.torq.io
for EU origins.For authorized redirect URIs, click Add URI and paste the callback URL you copied earlier.
Finalize: Click Create and Copy the Client ID and Client secret. You will need them to create the integration in Torq.
Step Seven: Create a Google Chat OAuth Steps Integration in Torq
Navigate to the Integration: Go to Build > Integrations > Steps > Google Chat OAuth and click Add Instance.
Configure the Integration:
Finalize: Click Add.
FAQs
Can I use Google Chat OAuth steps with only the Google Chat step integration?
No, Google Chat OAuth steps require setting up the Google Chat OAuth step integration.