Slack is a powerful team communication suite that allows you to be less busy and more efficient. In this article, we will show you how you can integrate Slack with WordPress and directly push notifications from your WordPress site to your Slack channels.
Slack offers real time messaging between teams with the ability to archive and search all messages. It is a great tool for multi-author WordPress sites and remote teams. We’re using Slack for our team communications.
Let’s take a look at how to add automatic WordPress notifications in Slack like the screenshot below.
First thing you need to do is install and activate the Slack plugin. Upon activation, the plugin will add a new menu to your WordPress admin labeled Slack.
You need to visit Slack » Add New to add your first integration.
In order to add an integration, you will need an incoming webhook token. You can easily get this by logging in to your Slack account.
Simply click on the arrow next to your company name and select ‘Configure Integrations’.
You will now see a list of services that you can integrate with Slack. Scroll down until you find ‘Incoming Webhooks’ and then click on the Add button next to it.
On the incoming webhook setup page, you will find the webhook URL that you need to copy. This URL is your incoming webhook token that you will use with the Slack integration on your WordPress site.
After copying the webhook URL, you can come back to the add new Slack integration page on your WordPress site and paste the URL under the Service URL.
Next, you need to choose a channel name where you want to send notifications, e.g. #general.
Although we’d highly recommend creating custom channel for automated updates such as #stream to keep the #general channel less cluttered.
You will also need to enter a username and select an icon for the bot that delivers the news. This can be anything that you like.
You can find a link to the list of emoji shortnames that you can use, like :rocket:, :sheep:, :monkey:, etc.
The next option is to choose the notifications. By default the plugin can send notifications when a post is published, needs review, or when there is a new comment.
Lastly, you need to check the box next to Active in order to activate your Slack integration.
Once you are done, click on the save button to store your Slack integration.
That’s all, you can now go publish a post or a comment to see a notification in your Slack channel almost instantly.
We hope this article helped you integrate Slack with WordPress. You may also want to check out our list of 40 useful tools to manage and grow your WordPress blog.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Google+.
This article is so out-dated you guys must remove it. This is eating your credibility.
Thank you for letting us know about this older article, we’ll certainly take a look into what to do with it.
Can we use slack as a live chat on the website? I know there are other third-party plugins/apps which does that but what I want to know is if we can the somehow embed a live chat widget in our website with slack at the backend without using any third party?
Hello
I just started using Slack for my blog and wanted to find a way to send notifications. I looked at the plugin you link and the reviews are suggesting it causes fatal errors. Might want to update the article in case anyone just goes ahead and does this.
I think there are 1 or 2 more slack plugins which do the same job.
Thanks
Dan
Ok, so I can use the web hooks api to push the website updates to my Slack channel, but what about the other way around?
I would like to display a Slack channel on my website, much like I would a Twitter or Facebook feed. Any suggestions for that?
I’m also trying to figure this out. Did you come across anything without paying fees?
No.
Slack is a communication tool (think group chat room).
Asana is a task management tool.
Hi,
I came to this page after reading your weekly newsletter “My Top 3 Tools that I’ll Use More Than Any Other in 2015” where Syed lists Slack as well as Asana. I could not find a forum page for that newsletter, and this seems the closest fit, as it is about Slack:
After following the links and looking at the websites for these products I get the impression that they are pretty much the same thing. They are about ditching emails in favour for a tool that uses task based conversations and to share documents among team members related to the tasks.
Can you elaborate on which one you are using and what the differences are? I’m sure you don’t use both, as I would imagine that relying on two tools creates even more confusion than email. (I know that pain from different people using different messaging services (iMessage, WhatsApp, WeChat, Line, …) Why would I want to add Slack AND Asana to that list?
Cheers,
Jochen