How to Receive Google Chat Messages in n8n with Webhooks

What You’ll Learn:
:white_check_mark: Setting up webhooks in n8n to receive Google Chat messages
:white_check_mark: Creating bidirectional communication between Google Chat and n8n
:white_check_mark: Building an AI agent that responds automatically
:white_check_mark: Handling both Space messages and Direct Messages (DMs)
:white_check_mark: Making responses dynamic based on the originating space
:white_check_mark: Implementing proper authentication and security
:white_check_mark: Managing conversation context across different spaces

Key Features Covered:
→ Webhook configuration with authentication headers
→ Google Apps Script code for message handling
→ Dynamic space ID management
→ Session management based on Space IDs
→ Security best practices with bearer tokens
→ Troubleshooting common issues

1 Like

Before implementing the steps in the above video, make sure to set up your credentials first.

You can watch this video to guide you through the credential setup:

1 Like

New Video,

This is the updated tutorial video you can skip the above 2 videos and directly watch this