Templates / Query Databricks data and SQL insights via Slack with Gemini AI agent

Query Databricks data and SQL insights via Slack with Gemini AI agent

Ready for 3.0

by iamvaar ✓ · 552 views · created 2026-03-23 · Document Extraction, 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 11 nodes and runs on Slack events. Along the way it connects Slack, Google Gemini Chat Model, Redis Chat Memory and HTTP Request.

How it runs

Trigger: On Slack events.

  1. Set Databricks Config (Edit Fields (Set)): sets 2 fields: target_table, warehouse_id
  2. Fetch Databricks Schema (HTTP Request): calls an HTTP API (POST)
  3. Parse Table Schema (Code): runs custom JavaScript code
  4. SQL Data Analyst Agent (AI Agent): runs an AI agent, with model: Gemini Model; 1 tool (Run Primary SQL Query); memory: Redis Chat Memory
  5. If: checks a condition and branches into true / false
  6. Post to Slack Channel (Slack): uses Slack
  7. Post Error to Slack (Slack): uses Slack

Services it uses

SlackGoogle Gemini Chat ModelRedis Chat MemoryHTTP Request

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 (When Slack Message Received).

Nodes used (10)

From the author

Automated Databricks Data Querying & SQL Insights via Slack with AI Agent & Gemini --- Node-by-Node Explanation This workflow is divided into three functional phases: Initialization, AI Processing, and Response Delivery. | Node Name | Category | What it does…

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