Slack notifications

To receive notifications when users ask, answer a question or comment on a question, please follow these steps:

1. Create Webhook

Go to https://api.slack.com/apps and sign in using your Slack account. Click Create New App to open Create a Slack App dialog. Input your App name and choose your Slack Workspace. Then click Create App

After app is created, you will be redirected to App’s Basic Information page. In Add features and functionality, click Incoming Webhooks

In Incoming Webhooks page, click on the toggle button to activate Incoming Webhooks

After activated, the Incoming Webhooks page will show Add New Webhook to Workspace button. Click on this button to add a new Webhook. A new page will be opened so you can choose a channel for this Webhook to post

Click Allow and your webhook will be created and you will be redirected to Incoming Webhooks page. At the end of your page, you will see your Webhook URL. Copy this URL and go to next step.

2. Add subscription to get notifications

Log in to your Confluence, go to a space which you want to get notifications. Go to Space Settings --> click on Content Tools tab --> click on Questions & Answers tab. At this tab, you can click on Slack tab --> click Add button to add subscription for this space

In the Add a Slack subscription dialog, you can input your Webhook URL which you created in previous step. You can choose which activities you want to subscribe.

 

Click Save.

Congratulations! Slack notifications has been set up successfully and you will receive notifications in your Slack channels.