Slack

Turn messages from a Slack channel into feedback.

What you will need

  • Signing secret

Steps

In FeedbackFlow, open your project, go to Integrations, and select Slack. Then:

  1. 1

    Open your app at api.slack.com/apps (or create one), go to Basic Information, and copy the Signing Secret into FeedbackFlow.

  2. 2

    Go to Event Subscriptions, enable events, and set the Request URL to:

    https://www.usefeedbackflow.com/api/ingest/slack/YOUR_PROJECT_ID
  3. 3

    Under "Subscribe to bot events", add the message.channels event and save.

  4. 4

    Reinstall the app if prompted, then invite the bot to the channel you want to capture with /invite @yourbot.

Replace YOUR_PROJECT_ID with the ID of your project, shown on the integration setup screen.

What gets captured from Slack

Plain messages posted in channels the bot has joined. Messages carrying a subtype (edits, joins, file shares) and anything from a bot are skipped, so another integration in the same channel cannot feed its own output back in. Slack’s event_id is the deduplication key, so a retried delivery never creates a second item.

Check that it worked

  1. Saving the Request URL in Event Subscriptions should show Slack’s green "Verified" tick. The endpoint answers Slack’s url_verification challenge, so a failure here means the URL or the project ID in it is wrong.
  2. Invite the bot to a channel with /invite @yourbot, then post an ordinary message there.
  3. The message appears in your FeedbackFlow inbox within a few seconds, tagged with the Slack source.

If it is not working

Slack says the URL did not respond with the challenge value
The endpoint returns 401 before it can echo the challenge if the Slack integration has not been saved in FeedbackFlow yet, or if the project ID in the Request URL does not match. Save the signing secret first, then verify the URL.
Slack reports 401 on every delivery
Either the signing secret does not match the one under Basic Information, or the request falls outside the five-minute replay window. A sending clock more than five minutes out fails every signature.
Messages in the channel never arrive
Two things are separately required: the bot must be a member of the channel, and message.channels must be subscribed under "Subscribe to bot events". Adding that scope after installing needs a reinstall.
Edits and replies do not come through
By design. An edit arrives with a message_changed subtype and is skipped, so only the original message is ingested.

Still stuck? Widget and integration troubleshooting covers the problems that are not specific to Slack.

Open the Slack docs