What is the Access Token Slack node is asking for?

The Slack node is asking me for an Access Token to authenticate. This seems to be a legacy authentication mechanism and isn’t supported. In looking at https://slack.com/help/articles/215770388-Create-and-regenerate-API-tokens I don’t see any way to generate this token at all. The docs at https://docs.n8n.io/nodes/n8n-nodes-base.slack/#example-usage also don’t seem to lead anywhere.

Am I overlooking something? Do the docs need to be updated? Does the Slack node need to be updated to something new?

Hey @bberenberg!

Looks like the authentication for the Slack node has changed and the docs need to be updated. To help you with your query, if you’re building a bot, once you have given the bot the required permissions, Slack will generate Bot User OAuth Access Token. Use this token in n8n.
Similarly, you can generate the OAuth Access Token for the user.

Alternatively you can use the Client ID and Client Secret of your Slack App in n8n. To use that select ‘OAuth’ from the Authentication dropdown list.

Hope this helps.

1 Like


I figured this out, but holy @#$% the UI/UX and docs are a mess on this. I may have to write an update for this later on.

Yes, you are 100% right. We also realized that. For that reason is it already wip.

1 Like