I have a workflow that ends with sending a slack message. I am using OAuth for integration with Slack.
I’d like the message to be sent by the n8n app itself (the one that I give access to my Slack workspace). However, the workflow ends up sending the message with my account, which is not what I want.
I used a bot token before, but all that does is make a separate n8n app in my workspace, so there ends up being 2. I’d prefer if I only have the main n8n app in my workspace, and have that one send the messages.
Thank you @Exnav29. Annoyingly, it doesn’t appear slack allows me to change the permissions of the app integrated with n8n, only a bot I make additionally.
It does appear it has permissions to write, though (see bottom of this image):
Thank you for the response @solomon. The issue for me isn’t that the bot isn’t sending, it’s that I can’t send it from the bot directly made via the n8n integration (i.e. the default bot - not a bot I make from scratch, as shown in the video).
I did make a bot as shown in the video, and it worked (with a bot token); however, with that solution I have two bots in my Slack for n8n: one which is the default for the n8n integration, the other being the additional one I made.
Below you will see the default one (above), and the custom one (below). Currently I can send a message from the one below using a bot token, the one above I cannot. I can also send a message from my own user using an OAuth.
I realize this is very picky of me, as I’m able to functionally use the app… but it just seems redundant to have to make a custom bot when there is already an n8n bot inside the Slack that apparently has write permissions, as per my previous post. That’s what I’m trying to figure out; is it possible to send messages via the default app?