We are using Google Sheet to manage tasks (I know, very primitive…). I want to be notified every time someone adds a new task to the list, so I created a simple workflow to send an alert to a Slack channel every time a new task is added to the list.
It works in the sense that the message is delivered, but somehow Slack knows that the message was sent by me, so it doesn’t notify me. Somehow when setting up the oauth i must have selected myself as the sender for all messages from n8n.
Any idea how to have messages sent to Slack from another user or a bot?
If you are using OAuth it will typically send as the user that authenticated, To send as a different user you would need to use a Bot token in the Access Token credential this will be something like xoxb_xxxyyyzzz.
On the Slack app side you will need to make sure that the bot user you create has permission to do what you want it to but the Slack App side of things is pretty good at telling you what each scope does.
In the Slack node , when selecting the user that should receive the message, the option “from list” does not return the list of Slack users, but choosing by ID works.