How to access to a slack user's team

(Mohamed Hassen Mami) #1

Hello,

First thank you for developing such a great tool !

I am developing a Slack bot with your platform. However, I have difficulties to retrieve the Team Id of users interacting with my bot on test mode while I have added the proper permission to my bot.

My idea is to let users send message to the bot and the bot would broadcast this message to other of the same organisation.
I need to store the message but I also need to store the slack team_id.

Best regards,

MHM

(Karen Barker) #2

Hi Mohamed,

As far as I’m aware, a bot links to a Slack app which is created in a specific Slack workplace/team and therefore only available to users of a single team_id. You would need to have multiple bots to install into each of your teams.

I hope this helps. :thumbsup: