Hosting Tutorial & Guide

How to Set Up Slack for Better WordPress Website Management

updated on Jul 26, 2016
How to Set Up Slack for Better WordPress Website Management Managing a WordPress site involves numerous tasks which include post reviews, post publishing, social media promotion, email marketing, comment moderation, plugin update, and many more. To complete all these tasks, you may need several teams with their own members, as well as a large number of services like MailChimp, Google Analytics and Google Drive.

Managing all the teams and services and enabling the teams to collaborate well with each other is not easy. The most difficult part, then, is the efficient communication. Fortunately, the talented developers have made useful applications to resolve the problem, among which Slack is a popular and reputed one.

In this post, we will first offer brief introductions to Slack, and then show you how to integrate Slack with WordPress so that you can read various website notifications in Slack and improve team collaboration based on the information. Also, some helpful Slack integrations are suggested to improve efficiency.

What Is Slack & Why Use It for WordPress Website Management?

The development team has been calling Slack a messaging app. However, it is not a simple app merely for personal chats. Instead, it is a powerful team collaboration tool that offers public chat rooms, private groups as well as direct messaging, and provides a central place to combine all your website stats, social media accounts, website uptime alerts, etc.

The great integration ability makes Slack a toolbox for the various tools you have collected and used. By connecting tools like Google Analytics, Twitter and Zendesk with Slack, you can easily get numerous information about your website directly in Slack without logging into the separate apps one by one, so that you, and other team members, can communicate with each other and plan tasks more efficiently.

In terms of WordPress, the integration will allow you to read notifications for various events like comment submission, post update, media uploading, theme update and 404 errors in Slack. Also, you can show certain notifications to different team members to get them keeping track of their own tasks.

Use Slack for WordPress Website Management

Integrate Slack with WordPress

Connecting your WordPress site with Slack is quite beneficial. So if you are running a multi-author WordPress site and looking for a way to streamline the collaboration, you can follow the steps below to make your website management easier.

Get a Slack account

To use Slack, you have to sign up and open an account. The cost is quite affordable because there is a free plan which can meet the needs of most small teams and companies. With the free plan, you can view 10k recent messages, integrate 10 services, get desktop and mobile apps, enjoy free two-person calls, and get 5 GB file storage.

If you need premium features like unlimited service integrations, group calls and priority support, you have to buy a premium plan with a cost starting at $6.67/mo. But again, the free plan should probably provide all you need.

To start using Slack for free, simply go to its official website, enter your email address, and hit the "Create New Team" button.

Create a Slack Account

In the next step, give your Slack team a name. It is good to use your company name or a project name.

Slack Team Name

Then, you need to choose a Slack domain for your team. By default, the team name is used, but you can change it to whatever you want.

Slack Team Domain

Next, enter your name and the username that will be displayed when you send messages in Slack.

Slack Username

At last, check the team information and your user information. If everything is right, create your team.

Create Slack Team

As soon as the team is created, you will get the option to invite coworkers, but we will suggest you skip the step for now because you haven't set up the team properly.

Invite Team Members

When the steps above are done, you will be redirected to the Slack dashboard.

Get Slack ready for WordPress integration

You have already got a Slack account, but before integrating it with your WordPress site, you still need to do the following things in the Slack dashboard.
  • Create the channels you need. As channels are groups with different users, you can create separate channels for the admins, authors, designers, and more so that messages could be well organized.
  • Get the Incoming WebHooks app which is required for pulling notifications from external sources including WordPress.
Both tasks are easy. For the former one, you need to click on the "+" sign next to "Channels", which will get you a popup. In the popup, enter a name for the channel, and add a purpose optionally. You can choose to make the channel either public or private. A private channel can only be joined by invitation, which makes it a good choice for restricted notifications like website stats and support information.

Create a New Channel

When a channel is created, repeat the steps to create more.

Slack Channels

Next, you need to get the Incoming WebHooks app. Firstly, hit the team name, and click on "Apps & Integrations".

Apps & Integrations

In the app directory, search for "Incoming WebHooks" and select it from the search results.

Incoming WebHooks

Secondly, install the app for your team.

Install Incoming WebHooks

Thirdly, select a channel to which you want the WordPress notifications to be pushed, and then add the integration.

Select Channel for the WebHook

Now you will get a webhook URL. Be sure to copy the URL to somewhere safe because you will need it later.

Slack WebHook URL

Complete the integration with Rock the Slackbot

After getting Slack prepared, now you need to log into your WordPress site, go to Plugins > Add New, search for Rock the Slackbot, and install the plugin immediately. This plugin offers an easy way to send WordPress notifications to a Slack channel, and it supports 15 events. With the plugin, you will get a notification in Slack whenever:
  • A post is updated, published, trashed or deleted.
  • A plugin, theme or WordPress core is updated.
  • A user is added or deleted.
  • A media file is added, edited or deleted.
  • A 404 error occurs.
The support for more events like new comments, theme/plugin activation and theme/plugin uploading is coming soon.

Install Rock the Slackbot

When the plugin is activated, go to Tools > Rock the Slackbot to add outgoing webhooks for your Slack channels. To add the first outgoing webhook successfully, you have to give the webhook a name, and enter the webhook URL copied before. You can test the URL by sending a test message. For the other options, change them as you want.

Add Outgoing WebHook

By default, the plugin sends notifications when a post is published, unpublished or updated. However, you have to go through all the available events to make sure the members in the Slack channel connected with the webhook don't miss out any notifications they should know.

Select Notification Events

After configuring the webhook, save it, and it will start working and sending notifications to the specific Slack channel when the selected events occur.

To send different notifications to different Slack channels, you can create multiple webhooks in your WordPress dashboard. To do this, you will need to create different incoming webhooks in your Slack account, too.

Add More Outgoing WebHooks

Also, you are able to disable any outgoing webhook on your WordPress site at any time.

Recommended Service Integrations for Improved Efficiency

When hosting a WordPress site, you have to complete many other tasks in addition to the content update if you want to achieve a success. For example, you need to manage several social media accounts, view the traffic stats, and set up newsletters. Fortunately, Slack can make many of the tasks easier with appropriate integrations.

Slack Integrations

Below are three of the most widely adopted Slack integrations that you may also want to take advantage. Of course, you can find dozens of other integrations in the app directory of Slack.
  • MailChimp – The integration will make it easier to carry out your email marketing plan because you can get notifications whenever your campaign status changes and someone subscribes/unsubscribes.
  • Twitter – The integration with Twitter will allow you to post new tweets to Slack channels automatically, which helps keep track of your own Twitter accounts and your competitors'.
  • Google Drive – When your Slack account is authenticated for Google Drive, you can easily share Google Drive files to any Slack channel. The members in the channel are able to view the files and add files to their own Google Drive accounts.