How we created a Slack bot for bank alerts

Neo Ighodaro
Nov 20, 2016 · 1 min read
Image for post
Image for post

At Hotels.ng we create many technical solutions that make our jobs easier. One of those is being able to quickly track bank alerts from sources like GTBank, Zenith Bank, UBA, Skye Bank and First Bank.

Since we use Slack for team communication primarily, it only makes sense that our finance experts can get immediate Slack notifications when that cash hits the bank 🙌🏽

Image for post
Image for post
Wawu!!!

Using a Google script and Slack’s developer tools we have been able to make this possible.

Slight note; the code depends on DOM elements which means it is liable to unexpected breakage when any of the banks email format is changed. So be sure to contribute fixes if you notice it is broken.

The source code for the project is here, fork and submit a pull request. You are more than welcome to add support for other banks email alerts.

HNG.tech

Engineering at Hotels.ng

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store