Templates / Creating a AI Slack bot with Google Gemini

Creating a AI Slack bot with Google Gemini

Needs changes

by Zacharia Kimotho ✓ · 10,083 views · created 2024-07-29 · Internal Wiki, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 5 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Gemini Chat Model and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Agent (AI Agent): runs an AI agent, with model: Google Gemini Chat Model; memory: Window Buffer Memory
  2. Send response back to slack channel (Slack): uses Slack

Services it uses

Google Gemini Chat ModelSlack

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Agent (v1): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Agent (v1)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (5)

From the author

This is an example of how we can build a slack bot in a few easy steps Before you can start, you need to o a few things 1. Create a copy of this workflow 2. Create a slack bot 3. Create a slash command on slack and paste the webhook url to the slack command…

Excerpt from Zacharia Kimotho'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.