DevGauge

We’re a publication for Developers, by Developers. Our goal is to engage your mind with tutorials and articles that introduce topics in a way you may be unfamiliar with. Engage with DevGauge

Member-only story

Bonus: Incorporate it in your GitHub Actions for easier CI/CD

Send a Message to Multiple Slack Channels Using a Slack App/Bot

Using a Slack App, Webhooks, and a Simple Curl Request

6 min readOct 22, 2022

--

Do you use Slack and have tasks you wish you could automate communication for? Slack Apps and bots make that pretty easy, but a lot of people struggle with sending messages to multiple channels and often end up creating multiple bots or implementing an unnecessarily complex solution.

Using the strategy you’re about to follow along with here, you can not only create a script that will automate Slack communication for you and integrate it with GitHub Actions, but you can do the same with CI/CD tools like Bitrise, fastlane, and others!

Follow along to find out how.

Create the Slack App

  1. Visit https://api.slack.com/apps
  2. Click the Create New App button
  3. Either use the GUI or create an app manifest - this tutorial uses the GUI
  4. Enter a name for your App and select a workspace from the dropdown
  5. Click “Create App”
The form used to create the app. It simply contains a field for the App’s Name and a dropdown for the workspace
Simple, just a name and workspace

Assign a Webhook for Each Channel You Want To Send…

--

--

DevGauge
DevGauge

Published in DevGauge

We’re a publication for Developers, by Developers. Our goal is to engage your mind with tutorials and articles that introduce topics in a way you may be unfamiliar with. Engage with DevGauge

Kenny Dubroff
Kenny Dubroff

Written by Kenny Dubroff

I’m a Full Stack iOS Developer with a passion for writing clean, reusable code.

No responses yet