https://discord.gg/botpress logo
Slack Start DM Conversation Action
# 🤝help
d
I am trying to add functionality in my bot where it will listen in a channel on Slack for specific intent then start a DM with a user who sends a request that matches the specified intent. I have been trying to use the Start DM Conversation action available in the slack integration. It outputs a conversationId and userId but not sure what to do with it to get the bot to continue the conversation in the DM with the user. Currently for demos I manually, add the slack token to config variables and do an API call to accomplish this but this is not sustainable as the tokens expire every 12 hours and requires manual updates. I need to accomplish this via the slack integration since it already manages the token rotation. Any help would be appreciated.