Google Chat (Developer App)

Google Chat is an intelligent and secure communication and collaboration tool, built for teams. Use this app to connect your own developer account credentials.

Go to site
Explore
/
Apps
/
Google Chat (Developer App)

Google Chat (Developer App) API Integrations

Build and run workflows using the Google Chat (Developer App) API. Use 1000s of source-available triggers and actions across 2,000+ apps. Or write custom code to integrate any app or API in seconds.

Overview

By connecting your Google Chat account to Pipedream, you'll be able to incorporate your Google Chat data into whatever you're building with any of the 1,700+ apps that are available on Pipedream.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    google_chat_developer_app: {
      type: "app",
      app: "google_chat_developer_app",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.google_chat_developer_app.$auth.oauth_access_token}`,
      },
    })
  },
})

Choose an API to Connect with Google Chat (Developer App) API

1
-
24
of
2,000+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Premium
Salesforce (REST API)
Salesforce (REST API)
Web services API for interacting with Salesforce
Premium
HubSpot
HubSpot
HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business.
Premium
Zoho CRM
Zoho CRM
Zoho CRM is an online Sales CRM software that manages your sales, marketing, and support in one CRM platform.
Premium
Stripe
Stripe
Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes.
Shopify Developer App
Shopify Developer App
Shopify is a user-friendly e-commerce platform that helps small businesses build an online store and sell online through one streamlined dashboard.
Premium
WooCommerce
WooCommerce
WooCommerce is the open-source ecommerce platform for WordPress.
Premium
Snowflake
Snowflake
A data warehouse built for the cloud
Premium
MongoDB
MongoDB
MongoDB is an open source NoSQL database management program.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.

Example Use Cases

  • Automated Helpdesk Bot: Create a bot within Google Chat that listens for keywords related to IT support and automatically responds with troubleshooting advice or escalates the issue by creating a ticket in a service like Zendesk or Jira.

  • Project Management Notifications: Set up a workflow that monitors project management tools such as Asana or Trello for updates, and then posts these updates to a dedicated Google Chat space, ensuring your team stays informed about project progress in real-time.

  • Meeting Coordinator: Develop a bot that helps schedule meetings by integrating with Google Calendar. When a meeting request is mentioned in a chat, the bot can check participants' availability, propose times, and send calendar invites, streamlining the scheduling process.

Getting Started

The Google Chat (Developer App) setup is only available for Google Workspace users. See here for more details. If you are not a Google Workspace user, you can use Pipedream's Google Chat application alternatively.

The steps are outlined below:

Creating a Google Chat app

In order to connect your workspace Google Chat account to Pipedream, you'll need to create a custom OAuth app in Google Cloud. This requires a Google workspace account.

  1. Sign in to the Google Cloud Console
  2. Select an existing project or create a new one

Select an existing project or create a a new one in the Google Cloud Console

  1. Select APIs & Services
  2. Click Enable APIs & Services

Select "Enable APIs & Services to open a menu to enable the Google Chat API for Pipedream to connect to

  1. Search for and select Chat API
  2. Click Enable

Search for and select the Google Chat API

  1. Click OAuth consent screen on the left side

Click "OAuth consent screen" in the left navigation menu

  1. If you only intend to use this application within your organization, select Internal (recommended) and click "Create." In this mode, your app is limited to Google Workspace users within your organization. If you select External, you will need to go through the process of app verification in order use any sensitive or restricted scopes.

Select "Internal" in the OAuth Consent Screen

  1. Fill in the required fields and click Save and Continue
  2. Under Authorized Domains, add pipedream.com
  3. Click Add or remove scopes and Filter by Chat API select whichever scopes you intend to use and then click "Update". For more information about available Google Chat scopes, please see this overview.
  4. Click Save and Continue to finish the Scopes step
  5. You should be prompted with a Summary page.

Create OAuth Credentials

You will need to generate a set of OAuth credentials to connect your new Google Chat app to Pipedream.

  1. Navigate to the Credentials section on the left side.

    Open the Credentials menu in the left hand nav bar

  2. Click Create Credentials at the top and select “*OAuth client ID

Click create credentials to start the process

Select the OAuth Client ID option

  1. Select Web application for Application type

Web application is the type of OAuth credential we're generating

  1. Name the app “Pipedream”
  2. Under Authorized redirect URIs, click Add URI and enter https://api.pipedream.com/connect/oauth/oa_gBBi5O/callback

Add the Pipedream URL to the Callback Redirect URL option

  1. Click Create to create your new OAuth keys
  2. Note the client ID and client Secret, but keep these private and secure

Store the Client ID and Client Secret keys

Configure your Google Chat application

  1. Click Enable APIs & Services on the top-left navigation bar, then Google Chat API.

  2. Click Configuration

  3. Fill in the required details - please note that the values you provide here will be the name of the app that you add to your Google Chat workspace.

  4. You can name the application whatever you'd like for the app to be called within the Google Chat workspace, e.g. Pipedream

  5. If you'd like to use the Pipedream logo for the avatar, use the URL https://pipedream.com/s.v0/app_13GhYE/logo/orig for the Avatar URL

  6. Add a Description.

  7. Select any Interactive features you require for your app.

  8. Add an App URL, ideally, an HTTPS URL that you control, or you can provide the following app url https://pipedream.com/apps/google-chat-developer-app.

  9. Under Visibility, add the email addresses of the individuals or groups within your Google Workspace organization.

  10. Click Save.

App Configuration Settings

Connect your Google Chat app Pipedream with your Google Chat app OAuth credentials

At this point, you should have a Google Chat App under your Google Project, and a set of OAuth credentials.

  1. When prompted in Pipedream after trying to connect the Google Chat (Developer App), copy and paste your OAuth credentials.

  2. Add the scopes that you chose when setting up the app in a space-separate list.

  3. Click Connect

  4. You will be presented with an OAuth consent screen and should see the scopes that you specified at this step. Click Allow.

    Click Allow to Continue

  5. You should now be able to use your Google Chat application that you created on Pipedream!

Publish your Google Chat app (EXTERNAL ONLY)

Google has a 7 day expiration window on refresh tokens for applications that are set to External users with a publishing status of "Testing", so you will need to Publish your application in order to maintain your account connection.

  1. Navigate to your application, and click OAuth Consent Screen on the lefthand sidebar.
  2. Under Publishing status, click Publish App. If you included any sensitive or restricted scopes in your app, there will be a disclosure stating that you will need to go through the process of verification. Click Confirm.
  3. Your application will not be available externally unless you share your client_id with others, and you will not have to go through the verification process unless you intend to onboard over 100 users.
  4. The publishing status should be set to In production, and your account should maintain its connection without an expiration window.

Publish your application

Confirmation of changes

Troubleshooting

Application disconnects after 7 days
If your developer application disconnects after 7 days, you need to follow the steps above to Publish your Google Chat app in order to keep your account connected.

Authentication

Google Chat (Developer App) uses OAuth authentication. When you connect your Google Chat (Developer App) account, Pipedream will open a popup window where you can sign into Google Chat (Developer App) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Google Chat (Developer App) API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
    GEThttps://accounts.google.com/o/oauth2/auth?client_id={{custom_fields.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope=email profile {{custom_fields.space_separated_scopes}}&access_type=offline&prompt=consent
  2. accessToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}
  3. refreshToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}