Jae Wilson @DataCrew
AI & Agents

HelpdeskMafia - a Domo AI powered Chatbot built in Python hosted on Replit

March 29, 2025

Hook

Building a Slack chatbot is easy — keeping it running 24/7 without a dedicated server, and making it actually smart about your internal knowledge base, is where most projects fall apart.

Why It Matters

A chatbot that only works when your laptop is open isn't a chatbot — it's a demo. And a bot that just pattern-matches keywords instead of understanding context frustrates users fast. This project shows how to combine Domo's AI Workflow engine with Replit's always-on hosting to ship a RAG-powered Slack assistant on a budget. It unlocks the ability to point a bot at your own KB articles, embed and similarity-search them at query time, and return GPT-generated answers grounded in your actual documentation — all without standing up any infrastructure yourself.

What You'll Learn

  • Set up a Python Slack bot using socket mode to listen for slash commands without a public webhook endpoint
  • Implement retrieval-augmented generation (RAG) by embedding KB articles in Domo Filesets and running cosine similarity search at query time
  • Orchestrate the full question → retrieve → generate → reply pipeline using a Domo Workflow with AI agent tasks
  • Wire Domo GPT into the workflow so answers are grounded in the top-5 retrieved articles rather than hallucinated
  • Deploy and host the Python bot on Replit so it stays live without managing a server or cron job