We have a Slack bot running off of Lambda functions, but when they fail, we don't have any idea. Unless we check the logs. It would be nice for us to get notified when one of our Lambda functions fails in Slack. To do this we need to create new lambda function and add a... Continue Reading →
Smart Bot 2024
This year, I plan to go for my AWS SysOps and AWS DevOps Certificates. (This would complete the software development engineer and system administrator path in AWS.) Both exams have hands-on questions in AWS on setting up small projects. So, I want to start getting some hands-on experience since I am also our Slack and Github admin at... Continue Reading →
Slack Smart Bot: Adding a AWS DynamoDB
Currently, the bot we've made in the previous post (first, second) doesn't use a database. So we are currently cheating by passing channel id and timestamp that we need to for the modal to work as fields in the modal. Instead of doing that, we can use a Database in AWS. Which Database AWS has... Continue Reading →
Slack Smart Bot: Getting Modal working with Lambda
Modal in Slack are pop up window that appear in Slack where you can ask a user specific questions to get information that your app can use. Just to start off with For a test workflow to see if I can get this to work correctly will look like this The user will post in... Continue Reading →
Debugging Slack Smart bot in CloudWatch Logs
Last post i started a Smart Slack bot that use AWS Lambda. What happens though if something break in the lambda function how do find out? Every time a Lambda function run in AWS, the logs are automatically stored in CloudWatch Log You can see these logs in your Lambda function by click on Monitor... Continue Reading →
Slack Smart Bot: Connecting AWS lambda with Slack Events
New project time. Today i'm our lead developer for our Ansible collection at work, and we do all our support today in Slack. I want to automate some of this support to help resolve issues quickly for users and free up more time for the dev team to develop. The plan is to make a... Continue Reading →
Moving everything to a Class
The code for this blog is version 0.3 on github Now that i got a mostly function bot that can read from a channel and write to a channel, having random function in a script is not going to scale well it time to move this all in to a class. The class is going... Continue Reading →
Slack Bot writing to a database
The code for this blog is located here as version 0.2. So in the last blog i got a slack app to read and write to a channel. While this worked we did have some issues. One of them being every time we asked slack for the history of the channel we would get the... Continue Reading →
Slack Bot reading and writing from a channel
From the last post we have and idea on what we are going to build let start out. To start with i just want to create a very simple app that can read from a channel and post to a channel. These are the basic functionality of a karma bot and should be the first thing we test.
Slack Karma App in Python: Starting out
I've never made a Slack App before and i've wanted to make a somewhat simple app that would get me up and running with a making Slack App. A Karma app seem like something that easy enough that it wouldn't take to long to do, but still get me used to the Slack API. What... Continue Reading →