# Slack API - Create a slack bot

**URL:** <https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481>\
**Category:** APIs\
**Created:** [February 28, 2020, 4:09pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481 "2020-02-28T16:09:30Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@alice](https://forum.bubble.io/u/alice)\
**Post date:** [February 28, 2020, 4:09pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/1 "2020-02-28T16:09:30Z")

</div>

Hi 😊 !  
I need to be able to post on my users’ slack chancels. As the zero code plugin is apparently not working anymore, I’m trying to figure out a way to do it.

I was thinking abut Zapier but this solution means that I would need to create a different zap for each of my users in zapier, witch is obviously not the best…

I understand that it can be possible to create an API call/post from bubble settings… But it’s not clear for me.

If you have an idea, I would love to hear it !

(I’m not new to Bubble, but I don’t have any technical background)

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [February 28, 2020, 4:53pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/2 "2020-02-28T16:53:40Z")

</div>

You can ask users to connect their Slack account to your app using OAUTH.

> **[Using OAuth 2.0](https://api.slack.com/docs/oauth)**
>
> Learn how to build bot users, send notifications, and interact with workspaces using our APIs.

From there you can use the access token to post to their channels.

It is a bit tricky, but plenty of people have done similar things, so ask 🙂

---

<div class="post-metadata">

**Author:** ![alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@alice](https://forum.bubble.io/u/alice)\
**Post date:** [February 28, 2020, 5:09pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/3 "2020-02-28T17:09:17Z")

</div>

Thank you very much Nigel 😊 !

So… Where do I start 😅 ? I have no clue how to use it…

---

<div class="post-metadata">

**Author:** ![NigelG](https://avatars.discourse-cdn.com/v4/letter/n/ea5d25/32.png) [@NigelG](https://forum.bubble.io/u/NigelG)\
**Post date:** [February 29, 2020, 5:23pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/4 "2020-02-29T17:23:36Z")

</div>

Will have a look this weekend and post some steps.

---

<div class="post-metadata">

**Author:** ![michaelchang5161](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@michaelchang5161](https://forum.bubble.io/u/michaelchang5161)\
**Post date:** [February 29, 2020, 5:39pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/5 "2020-02-29T17:39:55Z")

</div>

I just had to do this for my app and it took me a while to figure out out so hopefully these screenshots help!

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/0/b03128842aa9b86d0e01b52dd966541715f322a5.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/6/b641831badadfdde4d4cd67a978951af44768822.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/d/a/daf0c5ccdba7f69c4e01a258bd04901023f7a9ef.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/1/b/1b1d0a158236379a0c8a492e215729fa65fda106.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/a/5/a5af6a40c1f9fbaf6822c54ff58fb33e0431c612.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/f/e/fed3f7b4637a6845de10cb5ae114969d28767c84.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/9/3924bf9d8f9530ac67164f2b8114cd58163b237e.jpeg) ![image](https://us1.discourse-cdn.com/bubble/original/3X/3/1/31cab9ef77d5f47f49abd6898697f6305836f7bf.jpeg)

---

<div class="post-metadata">

**Author:** ![alice](https://avatars.discourse-cdn.com/v4/letter/a/779978/32.png) [@alice](https://forum.bubble.io/u/alice)\
**Post date:** [March 3, 2020, 8:52am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/6 "2020-03-03T08:52:53Z")

</div>

Thank you all for these awesome tips 😊 !

Actually @Taiheta just created an amazing plugin to do what I needed to do 💪

---

<div class="post-metadata">

**Author:** ![jonathan.gaunt](https://avatars.discourse-cdn.com/v4/letter/j/b77776/32.png) [@jonathan.gaunt](https://forum.bubble.io/u/jonathan.gaunt)\
**Post date:** [March 9, 2020, 2:05am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/7 "2020-03-09T02:05:15Z")

</div>

@alice how can I find the plugin that @Taiheta has built? Thanks JG

---

<div class="post-metadata">

**Author:** ![matt14](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@matt14](https://forum.bubble.io/u/matt14)\
**Post date:** [April 21, 2020, 10:20am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/8 "2020-04-21T10:20:25Z")

</div>

@alice Is there any guide to using the @Taiheta app? I’d like to notify users through slack and I’m not sure where to start.

---

<div class="post-metadata">

**Author:** ![joelgarciagalan](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@joelgarciagalan](https://forum.bubble.io/u/joelgarciagalan)\
**Post date:** [September 10, 2020, 4:00pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/9 "2020-09-10T16:00:55Z")

</div>

> [@jonathan.gaunt](#):
>
> @Taiheta

Hi @matt14, were you able to figure this out?

I am trying to notify my team in a Slack channel when an action happens in my Bubble app. Some of those actions are done by customers that are not logged in, (i.e new quotations, etc…)

Any information is appreciated.

Thanks,  
Joel

---

<div class="post-metadata">

**Author:** ![matt14](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@matt14](https://forum.bubble.io/u/matt14)\
**Post date:** [September 11, 2020, 2:01am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/10 "2020-09-11T02:01:15Z")

</div>

Hi @joelgarciagalan - unfortunately not. This was put on the backburner while I work on other things.

---

<div class="post-metadata">

**Author:** ![felix1](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/felix1/32/93663_2.png) [@felix1](https://forum.bubble.io/u/felix1)\
**Post date:** [December 11, 2020, 4:08am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/11 "2020-12-11T04:08:02Z")

</div>

Hi @michaelchang5161,

I notice from your screenshots that there is a Header with an Authorization key value pair. From my readings, I understand this is done to fulfill the HTTP Basic Authentication scheme ([RFC 6749](https://tools.ietf.org/html/rfc6749#section-2.3.1)) that [Slack recommends](https://api.slack.com/methods/oauth.v2.access).

Can I just ask how did you do this within Bubble? Or am I just missing a value that can be copied and pasted from somewhere?

Thanks a bunch! Your screenshots helped me start on building my own Slack Bot within Bubble 🙂

---

<div class="post-metadata">

**Author:** ![jack4](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jack4](https://forum.bubble.io/u/jack4)\
**Post date:** [February 6, 2021, 7:36pm UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/12 "2021-02-06T19:36:31Z")

</div>

hey @joelgarciagalan or @matt14 —

did you make any progress on this? I am trying to do something very similar where i send a slack update to a team slack channel once a customer review is submitted. These customers obviously don’t have access to our slack workspace.

Is there a hacky way to do this where you create a fake user in slack and save the oauth access token. then sign the fake user in when the customer lands on the page? That way the customer doesn’t even know what’s happening on the backend…

Any help would be appreciated!!

Jack

---

<div class="post-metadata">

**Author:** ![Neo](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/neo/32/90111_2.png) [@Neo](https://forum.bubble.io/u/Neo)\
**Post date:** [March 4, 2021, 11:01am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/13 "2021-03-04T11:01:21Z")

</div>

Hi @jack4,

Where do the user would post his review ? (Slack or Bubble)

---

<div class="post-metadata">

**Author:** ![jack4](https://avatars.discourse-cdn.com/v4/letter/j/ecd19e/32.png) [@jack4](https://forum.bubble.io/u/jack4)\
**Post date:** [March 4, 2021, 11:59am UTC](https://forum.bubble.io/t/slack-api-create-a-slack-bot/80481/14 "2021-03-04T11:59:51Z")

</div>

hey @Neo,

User would post a review through bubble. I ended up just hooking up the Zapier plugin and created a Zap to Slack. Works well.

Jack
