The Google chat integration allows you to send notifications to a Google Chat for up/down events. Send your alerts directly to a space you create in Google Chat to receive notifications of events via a simple webhook.
Table of Contents
Integration Functionality
- Up/down events based on your checks are sent to Google Chat based on a space you create.
Integration Setup
In Google Chat, click New chat > Create a space:
Give your space a name and choose the type based on your needs. Both Collaboration and Announcements spaces will work with the integration but their contribution capabilities vary:
- Collaboration: anyone invited to the channel can post messages in the space
- Announcements: only owners and managers can post messages in the space
Once the space is created, click Add details:
On the space management page, click Apps & integrations > Add webhooks:
Enter a name in the Incoming webhooks box and click Save:
Under the Webhooks section, a new URL is added. Click options (three vertical dots) > Copy Link:
Back in Uptime, navigate to Notification > Integrations. Locate the Google Chat integration in the list and click Add:
In the Add Google Chat Integration window, enter a name, assign to any necessary contacts, and enter the Webhook URL that was pasted from the Google Chat space. Then click Add New:
Setting Up Contacts for Alerting
The Google Chat integration works by sending alerts to Google Chat spaces based on the contacts that are associated with the check and integration. To send alerts from your Uptime.com checks to Google Chat, you’ll need to add a Contact to the integration, then add that Contact to the checks that will send alerts to Google Chat.
Create New Contacts for the Integration
Adding a new contact cannot be done within the integration setup menu. To create a contact, click Notification > Contacts. In the Integrations field, select the Google Chat integration:
Assign Integration to Existing Contacts
To add your integration to an existing contact, click on or type the name of the contact into the Assign to Contacts field within the integration setup screen.
Assign Integration Contact to a Check
Once a Contact is associated with the integration, you’ll need to assign it to the checks that will send alerts to Google Chat.
Navigate to your check’s Edit screen. Under the General tab, assign the integration contact to the Contacts field.
Please note: Response time data is stored based on plan usage. Uptime.com stores hourly data for a maximum of 90 days, and daily check data for a period of up to 24 months. On initial setup, metric data may take up to 30 minutes to initially appear.
Test Your Integration
Test your integration with one of the following methods:
- Click Notification > Contacts. Click More Actions > Test to send a test notification to the Contact.
- Click Notification > Integrations. Under the Active tab, locate your integration and click More Actions > Test. This will test to confirm that the connection is set up properly.
Comments
0 comments