Build Your Self-Service Slack Bot in Minutes! 🤖
What is Slack Bot as Self Service Hub?
Anyone who watched my talk at DevOpsDays TLV (@TLVCommunity đź‘‘) knows that I called this infrastructure Buffet. Watch this 5-minute video to understand what this infrastructure means for an organization striving to adopt a Platform Engineering culture.
This guide👇 introduces an even simpler infrastructure than the one presented in the talk — a Slack bot powered by Lambda and Runners deployed as CodeBuild Projects, enabling visibility and simplicity in managing day-to-day actions and processes.
🚀 The only thing easier than building such an infrastructure is building it with the open-source template I’ve released!
Meet the Self-Service-SlackBot-Blueprint 🤝
With just one command (“make all”), you will get all the infrastructure needed to start working with a Bot and Self-Service actions.
đź”§ Configure the Deployed Infrastructure
- Set the API Gateway URL in the Slash Command URL & Interactivity Request URL fields in the Slack App management console.
- Fill the secret that has been created (/${BotName}/slack-secret-token) with the following values:
{
"slack_signing_secret": "[PUT_HERE_SECRET]",
"slack_bot_token": "[PUT_HERE_TOKEN]"
}
🆕 Enrich the Bot with New Actions
Adding a new action is super simple:
✅ 1. Design the modal using the Blocks Builder Kit and save it as modal.json — this is the “frontend” of your action.
✅ 2. Write buildspec.yaml, containing the shell commands that serve as the “backend” of the action (I call it a “runner” and it will be deployed as a CodeBuild project).
âś… 3. Place both files (buildspec.yaml and modal.json) in: bot/src/slackbot/actions/ACTION_NAME.
📌 That’s it! Anyone in the organization can add new actions easily!
🎯 Why This Matters
This project is designed as a blueprint — it is simple, ready-to-use, and fully customizable for your organization’s needs. You can extend it, add new features, and make it your own!
đź“… Want to see a full demo of this amazing solution?
Join the Platformers Community on 26/02 for a live demo session!
đź”— Check out the project here:
https://github.com/Senora-dev/self-service-slack-bot-blueprint