Hey guys,
I can not get channels list. Authorization was succesful and the bot is the channel what I am looking for. I added him to the private and also to the public channel:
Channels:read should be all you need, Is it possible that you are using oauth instead of a bot token as that can change things and you would need to make sure the scope is attached to the correct authentication type.
After updating the scopes did you also reinstall that app into your Slack workspace and have you already tried clicking on the 3 dots next to fixed and selected refresh list to see if it brings them in?
@Tomas_Stekly , I use HTTP Request node to pull all the channels (not sure why not Slack). Nonetheless, it works fine for me. It is an old workflow when pagination was not embedded yet (so I had to utilize a few extra nodes to paginate and join all the iterations) but it works fine for me. I can share it with you here.
Here’s my user permissions (there are many as it does a lot of things for me)
I’m also having this problem. It actually seems to be related to the channel list generating, since if I manually set the channel by name and test the node the message will send.
This is normally related to the permission not being enabled, Once the permission is enabled the app needs to be reinstalled into the workspace which sometimes gets missed.
In your node are you using the bot access token or OAuth? Can you try running the workflow below as it is and select your Slack Credential this uses the same API call we make in the node so it will be interesting to see if you get a list of channels back or an error message.
I am fresh out of ideas, I think it still might be expression related but without seeing your instance and having a play it is hard to say. I have done some testing with other slack and n8n instances and I just can’t get it to fail.