How to build a Google Chat AI Bot with n8n - Step-by-step tutorial

Click to watch complete tutorial

This guide will walk you through the process of integrating an n8n AI assistant with Google Chat. By following these steps, you’ll create a functional chatbot that can respond to messages in Google Chat spaces and direct messages.

TLDR;

:white_check_mark: Step 1: Created n8n workflow with Webhook node

:white_check_mark: Step 2: Created Google Cloud project and enabled Google Chat API

:white_check_mark: Step 3: Created Service Account and configured credentials

:white_check_mark: Step 4: Configured Google Chat API with webhook URL

:white_check_mark: Step 5: Created Google Chat space and added bot

:white_check_mark: Step 6: Configured webhook response for proper acknowledgment

:white_check_mark: Step 7: Made space name dynamic in Google Chat node

:white_check_mark: Step 8: Added and configured AI Agent with OpenAI

:white_check_mark: Step 9: Tested in both spaces and direct messages

:white_check_mark: Step 10: Verified memory persistence across conversations