Slack Integration wit n8n (community edition)

I am using locally installed n8n (using npm) and wanted to integrate Slack with it. I have followed the documentation and created a Slack App. There is an option to add redirect URL’s which is supposed to be the URL from Slack node in n8n. The URL is http://localhost:5678/ whereas Slack support https URL.

I tried to create a tunnel with ngrok, but when I authenticate the Slack node in n8n, it gives an error for mismatched URL.

I’ll appreciate it if you could guide.

Hi there @imran537 just to confirm, you are using the url from ngrok right? Not the localhost?

And also, redirect url format should be like this

Your url + /rest/oauth2-credential/callback

Hope it helps!

Yes, I am using ngrok endpoint URL in Slack Oauth and permissions. But when I connect the Slack node in n8n, it gives an error that the URL is not matched.

N its already in this format?

Yes, here are the screen shots.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.