Slack AI Assistant with Google Gemini

September 15, 2025

Aladuddin Aladin

This workflow creates an AI-powered assistant that integrates Slack with Google Gemini. When a user sends a message in Slack, it is captured via a POST webhook, processed by an AI agent powered by Google Gemini, and returned as a helpful response back to the Slack channel. It also features memory capabilities to keep track of conversation history for more contextual replies.

Features

  1. Slack Integration: Captures messages from Slack channels via a webhook and posts AI-generated responses back to the same channel.
  1. Google Gemini AI Model: Uses Google Gemini (gemini-1.5-flash-latest) for processing and generating intelligent, context-aware responses.
  1. Agent-Based Processing: Handles user queries through an AI agent configured with a system prompt for automation-related advice.
  1. Conversation Memory: Stores session-based chat history using a window buffer memory for more coherent, continuous conversations.
  1. Customizable Workflow: Built with n8n nodes, easily extendable with additional tools, data sources, or custom logic to suit company-specific needs.
  1. Webhook POST Endpoint: Securely receives Slack events via HTTPS for real-time processing.

About the author

Alauddin Aladin is an AI Automation expert helping businesses streamline operations, boost productivity, and scale effortlessly using tools like Make.com and n8n. With over a decade of experience in digital systems and automation strategy, Alauddin empowers entrepreneurs to save time and grow smarter through intelligent workflows and AI-driven solutions.

Leave a Comment