Skip to content

Slack trigger#

Use the Slack trigger node to respond to events in Slack and integrate Slack with other applications. n8n has built-in support for a wide range of Slack events, including new messages, reactions and new channels.

On this page, you'll find a list of events the Slack trigger node can respond to, and links to more resources.

Credentials

You can find authentication information for this node here.

Examples and templates

For usage examples and templates to help you get started, refer to n8n's Slack integrations page.

Events#

  • Any Event
  • Bot / App Mention
  • File Made Public
  • File Shared
  • New Message Posted to Channel
  • New Public Channel Created
  • New User
  • Reaction Added

n8n provides an app node for Slack. You can find the node docs here.

View example workflows and related content on n8n's website.

Refer to Slack's documentation for details about their API.

Slack configuration#

To use this node you first need to create an application in Slack and enable event subscriptions. For the Request URL input the production or test URL displayed in the webhooks section of the node.

Request URL

Slack only allows one request URL per app, This means if you want to test your workflow you will need to either use the production URL with execution logging or change the URL in Slack to the test URL.

Once verified you can select the bot events to subscribe to. You can use the Events option in the node to filter these requests. If you want to use an event not in the list you can add it as a bot event and select Any Event in the node.