Cannot figure out how to configure Slack API credentials (using Access/Verification token)

Reading through https://docs.n8n.io/credentials/slack/#using-access-token

I get an error when I try using the Verification token
image

On n8n:
image

Response:

Problem executing workflow
There was a problem executing the workflow:
"Slack error response: {"ok":false,"error":"invalid_auth"}"

Using OAuth credentials works fine, but normal API credentials is just so complicated to figure out. I basically did the same as in the second video https://docs.n8n.io/credentials/slack/#using-access-token.

I tried using an existing Slack app and a new one, but got the same issue in both cases.

Yes, that does not seem right. The access token is under OAuth & permissions.

1 Like

Thanks!

I used the token, and then I got another error.

There was a problem executing the workflow:
"Slack error response: {"ok":false,"error":"missing_scope","needed":"chat:write:bot","provided":"incoming-webhook"}"

So, I added a few permissions, such as:

And now everything is working smoothly! Thanks!

ah yes, forgot to mention that. Glad that it worked.

@jan Should the docs be updated about that? :slight_smile:

Yes, just created a internal ticket for it.

1 Like