Conversation ID


#1

Hello guys

I was wondering does every conversation with an Bot have an ID because i want to retrieve that i know there is an user ID but this stays the same for every conversation and an session id returns undefined?

Thanks in advance.


#2

Hey,

Yes, conversations ids are getting saved. For web-channel they are getting saved into web_conversations.


#3

Hi, how can i get the conversationID for a slack channel. My bot is stuck in a loop looking for a method which is removed now. I want to reset the bot using conversationID. If there is any other way of resetting a slack bot, kindly suggest that as well. Thanks.


#4

You can check getOrCreateRecentConversation to see how it’s done withing botpress-sources.