Set up a webhook endpoint for Slack

To set up a webhook that will be able to post feedback results directly to Slack please follow the directions in this article: . The instructions below will walk you through the steps you need to take on the Slack site to be able to receive the incoming data from Mopinion.

Instructions

These are the specific steps you need to take in Slack to set up an endpoint for the webhook

  1. Create a Slack app

  2. Enable Incoming Webhooks from the settings page

  3. After the settings page refreshes, click Add New Webhook to Workspace

  4. Pick a channel that the app will post to, then click Authorize

  5. Use the Webhook URL to post messages to Slack

The Webhook URL you have created is the endpoint you need.

You can now specify what data must be sent, you can continue with step 4 of this article: .

Prerequisites to be done in Slack

Create a Slack app on https://api.slack.com/apps?new_app=1

In this example, we use the option to start From scratch.

Give your app for this Mopinion integration (A) a name and (B) set the workspace it is allowed to send feedback data to.

Give the app the Incoming Webhooks functionality.

Turn on the toggle Activate Incoming Webhooks.

Select Add New Webhook to Workspace.

Select a channel where you want the feedback to be posted to.

Copy the Webhook URL

In Mopinion, you use the part after https://hooks.slack.com/services/ for the endpoint. E.g. https://hooks.slack.com/services/ABC/123/XYZ.