Create an Incoming Webhook on Google Chat
Incoming Webhooks allow you to send messages from external systems directly into a Google Chat space. This guide will walk you through every step, from setting up your Chat space to configuring your webhook and adding it to the SkyU console.
Steps to Create an Incoming Webhook
Create or Select a Space for Alerts
- Open Google Chat (chat.google.com or via Gmail).
- Either select an existing space or create a new one:
- Click the + button next to Spaces.
- Select Create space.
- Give your space a descriptive name (e.g.,
SkyU AlertsorInfrastructure Notifications). - Add members if needed (optional for webhook-only spaces).
- Click Create.
Creating a dedicated space for alerts helps keep your notifications organized and separate from regular conversations.
Access Space Settings
- Navigate to the space where you want to receive alerts.
- Click the space name at the top to open the space menu.
- Select Apps & integrations from the dropdown menu.
Create a Webhook
- In the Apps & integrations page, look for the Webhooks section.
- Click Add webhooks or Manage webhooks.
- Click + Add another or Create webhook.
- Provide the following details:
- Name: Give your webhook a descriptive name (e.g.,
SkyU Alerts). - Avatar URL (Optional): You can provide a URL to a custom image to identify the webhook.
- Name: Give your webhook a descriptive name (e.g.,
- Click Save.
Copy the Webhook URL
- After creating the webhook, you'll see the webhook URL displayed.
- The webhook URL will look like:
https://chat.googleapis.com/v1/spaces/SPACE_ID/messages?key=KEY&token=TOKEN - Click Copy to copy the URL to your clipboard.
Keep this URL secure. Anyone with this link can post messages to your Google Chat space.
Test the Webhook (Optional)
You can test the webhook using a simple curl command:
curl -X POST -H "Content-Type: application/json" \
-d '{"text": "Hello from SkyU!"}' \
YOUR_WEBHOOK_URLIf successful, you should see a message appear in your Google Chat space.
Managing Webhooks
To view, edit, or delete webhooks:
- Go to the space and click the space name.
- Select Apps & integrations.
- In the Webhooks section, you can:
- View all configured webhooks
- Edit webhook names or avatars
- Delete webhooks you no longer need
- Copy webhook URLs
You can create multiple webhooks for the same space if you need different integrations or want to organize alerts by source.
Congratulations! You've successfully set up an Incoming Webhook for Google Chat. Your alerts will now flow directly into your chosen space, keeping your team informed and responsive. Great job!