I have a scenario in Make.com that triggers when a submission from a Jotform form is received through a custom webhook module. I extracted all the channel IDs that belong to a POD Name and tried to invite a new user to these lists of Private Slack channels. However, I am getting an error message “not_in_channel (200).” I already added the following scopes user connection, but I still haven’t had any luck.
- mpim:write
- groups:write.invites
- channels:write
- groups:write
- im:write
- mpim:write
What could I have missed?
blueprint (1).json (176.8 KB)
Hi @Marty_Borotsik
Are you making this API call as a Slack bot or as a user?
As a user but I also tried the bot, same error. I know bot has a different set of scopes for inviting users to private channels, based on their documentations.
That’s another thing that I am trying to figure out how the user or bot to have access without manually inviting it every channel.
@Marty_Borotsik, maybe you should have the admin slack connection in Make, which has access to all channels. The Slack API docs state that the endpoint caller should be a member of the channel.
I am an admin in our Slack account, if that’s what you meant.
@Marty_Borotsik I don’t understand the whole business process, but the idea is that one master account should be a member in all required channels, and you should use this Slack account as a connection in Make.
Like a workspace owner, right?
@Marty_Borotsik, it can be any user, but ensure that he/she is a member of the required channels.
Okay, I will try that. Thank you so much.
1 Like