Polyfilling Slack Events on Beep Boop

Brad Harris
Beep Boop HQ
Published in
1 min readAug 4, 2016

We’re super excited about Slack’s new release of their Events API, so much so that we released a new open source library, Slapp, that is designed specifically for it.

One of the things we’ve been experimenting with on Beep Boop is adding new lifecycle events that we have insight into as a type of polyfilled Slack Event. For example, it’s really useful to know when a team first adds your Slack App so you can reach out and introduce yourself. There currently isn’t an official Slack Event for this, so we added a couple on Beep Boop.

If you’re using Slapp, you could use those to reach out to the user who added your App:

…and cleanup some data when the team is removed:

We’d love to hear your feedback and ideas. We’ve found these to be pretty useful lifecyle hooks into Slack Apps. It’s worth noting that we don’t currently retry sending these events in the case that your App is down or doesn’t acknowledge the request.

Our mission at Beep Boop is to provide the best tools for you to create great Slack Apps. Beep Boop is a product by Robots & Pencils. Need help creating a great Slack integration? Let us know how we can be your hero. 🙋

--

--