Templates / Query GA4 data with Google Gemini AI in a Slack channel

Query GA4 data with Google Gemini AI in a Slack channel

Ready for 3.0

by Adil Khan ✓ · 75 views · created 2026-01-27 · Market Research, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 7 nodes and runs on Slack events. Along the way it connects Slack, Google Analytics and Google Gemini Chat Model.

How it runs

Trigger: On Slack events.

  1. Edit Fields (Edit Fields (Set)): sets 1 field: text
  2. AI Agent: runs an AI agent, with model: Google Gemini Chat Model; 1 tool (Get a report in Google Analytics); memory: Simple Memory
  3. Send a message (Slack): uses Slack

Services it uses

SlackGoogle AnalyticsGoogle Gemini Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

  • Still check Slack Trigger requires a signing secret on the Slack API credential (Slack Trigger).

Nodes used (7)

From the author

This workflow integrates Google Analytics 4 (GA4) with Slack, enabling users to query their website data using natural language inside a dedicated Slack channel. An AI Agent interprets user queries, fetches relevant reports from GA4, and responds in Slack as…

Excerpt from Adil Khan's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.