Send Discord <=> Slack messages from other users into mapped channels

Hello fellow N8N automation wizzards :grin:

Is it possible in N8N to create a workflow to

  • send slack messages sent from User A in channel X to discord channel Y as a “fake” User A
  • send discord messages sent from User B in channel X to slack channel Y as a “fake” User B

Aka can I make a chatbot which syncs selected discord channels with selected slack channels and make messages appear in both at the same time as “the same user” (if possible at all)

Hey @LordSimal,

I think what you want is definitely doable in n8n, but with some limitations.

Basically, you’d use the Slack Trigger node to listen for new messages in your Slack channel, then check who sent the message. If it’s one of the users you want to sync, the workflow sends the message to Discord. The catch is that Discord will see the message as coming from the bot account tied to your credentials, not the original user.

To simulate different users (like User A and User B), you’d need to set up separate Discord bot credentials for each and switch between them based on who sent the original message. The same applies when syncing messages from Discord back to Slack.

So while you can create a “chatbot” that syncs channels and mimics users, it’s actually bots sending the messages on both sides, not true user impersonation.

Hope that clears things up!

2 Likes

Thanks for your answer @Sudhanshu_Sharma,

yes, I am aware, that the chat messages will not be sent directly by that users account (if there is one at all, since slack and discord user spaces are completely separated) but rather I wasn’t sure, if a bot account can at least “fake” the username on both sides.

We have like 500 discord users and around 4700 slack users (yes, rather unbalanced but still some prefer/can’t use slack for whatever reason), therefore providing a synced chat across multiple chat services via n8n would be awesome.

I guess I will try to get something working and will report back :grin:

1 Like

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