Fireship · @fireship
How to Build a Slack App
Uploaded December 6, 2019 · Length 9:44
Summary
Learn how to build a Slack app from scratch, automating tasks and enhancing internal processes or communication flows.
- slack app development
- firebase cloud functions
- slack api
- nodejs backend
- slack automation
- slack bot development
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
today I'm going to show you how I built
- 0:01
cyber Jeff a slack app that helps me
- 0:03
automate things that I would otherwise
- 0:04
have to do manually for members of our
- 0:06
slack channel if you're not already in
- 0:08
our slack you should join with a link in
- 0:10
the description it's a great way to
- 0:11
communicate and you can chat with me
- 0:13
personally along with a bunch of other
- 0:14
developers working on a similar stack if
- 0:16
you're already a pro member you should
- 0:18
be summoned by cyber Jeff he's a faster
- 0:20
and more reliable version of me when you
- 0:22
first join the slack Channel
- 0:23
he'll check to see if your email has a
- 0:25
matching account in the firestore
- 0:26
database with pro status if there's a
- 0:29
match he'll invite you to our Pro
- 0:30
Channel and tell you how to redeem a
- 0:32
sticker and t-shirt now this is a very
- 0:34
personalized slack app for my business
- 0:36
needs but in today's video I want to
- 0:37
show you how to build your own from
- 0:39
scratch if you're new here like and
- 0:40
subscribe and check out the full
- 0:42
write-up on fire ship IL now before you
- 0:44
start building a slack app you should
- 0:46
start by outlining your actual use case
- 0:47
because their API is absolutely massive
- 0:50
it allows you to automate things within
- 0:52
the workspace create chat BOTS
- 0:53
interactive UI elements and a whole
- 0:55
bunch of other things but if you're a
- 0:57
developer there are two main reasons you
- 0:59
would build a slack app in the first
- 1:00
place
- 1:01
companies already using slack may want
- 1:02
to enhance some sort of internal process
- 1:04
or communication flow that's essentially
- 1:06
what cyber chat is it's mostly an
- 1:08
automation tool but also serves as our
- 1:10
new AI overlord on slack the other
- 1:12
reason you might want to build a slack
- 1:13
app is to build a service to be consumed
- 1:15
by other slack users black has a public
- 1:18
directory for third-party apps all you
- 1:20
have to do is build something useful
- 1:21
marking it well and you'll have
- 1:23
enterprise clients throwing money at it
- 1:24
in no time let's go ahead and get
- 1:26
started you'll need two things for this
- 1:28
project you'll need some kind of slack
- 1:29
workspace that you have admin access to
- 1:31
and then we'll be using firebase as our
- 1:33
service back-end with cloud functions
- 1:35
but feel free to use whatever nodejs
- 1:37
back-end you prefer the first thing
- 1:39
we'll do is create a new slack app you
- 1:41
can do this from the slack API home page
- 1:43
and you'll see a big button there to
- 1:44
create a new app now like I said before
- 1:46
the API is massive so you kind of need
- 1:49
to know what you're building before you
- 1:50
get started some apps might want to
- 1:52
listen and react to events that happen
- 1:54
within the work space while others might
- 1:56
want to fetch or post information into
- 1:58
it like post new messages and things


