Book Image

Supercharge your Slack Productivity

By : Moshe Markovich
Book Image

Supercharge your Slack Productivity

By: Moshe Markovich

Overview of this book

Slack is an online communication tool that allows workplace teams to collaborate efficiently, effectively, and securely. It’s the leading channel-based messaging platform used by millions to align their teams, unify their systems, and drive their businesses forward. As a developer, you can use Slack to create tools such as bots that handle and maintain routine and time-consuming tasks. If you’re looking to set up a Slack workplace or build a Slack bot or app, this is the book for you. In this book, you’ll explore scenarios that show you how to set up a Slack workplace, build a Slack bot, or integrate your favorite tools. You’ll also learn how Slack can help you create a more collaborative, efficient, and coordinated work environment from any location. As you advance through the chapters, you'll find out how to manage your tasks and boost your business productivity by automating the trivial tasks. You'll also cover more advanced features such as using a Slack bot to complete tasks, including automating message responses and accessing personal reminders. By the end of this Slack book, you'll have learned how to use Slack effectively to communicate with your team and build bots and have gained a solid understanding of how the platform can help you to progress in your industry.
Table of Contents (17 chapters)
1
Section 1: Slack Overview
7
Section 2: How to Use Third-Party Applications and Bots
12
Section 3: How to Build Your Own Bots

Putting your bot into action

Having created and added your bot to your workspace, you now need to begin to set it into action to get the most out of your bot by having it respond to what it hears. In Chapter 9, Slack API, Webhooks, Block Kit, and Sandbox, we learned what an HTTP POST request is. Now, we're going to use that skill set to run our own request with the proper channel and—now—token to match to interact with the Slack API! Let's take a look at an example with a sample token and Hello, team! text message:

Figure 10.10 – The channel being used is "testchannel" and the text is "Hello, team!"

Once you've sent your coded command, head to that channel, in this case, #testchannel, to see your desired message appear. While this did in fact achieve the requested task, we want this process to be achieved programmatically to promote a more efficient workspace.

You can't be expected as a Workspace...