Share feedback, ideas and get community help

Updated last year

Hi there, is there any way to access the sessionId value within the flow?

At a glance

The community member is asking if it is possible to start a chat using an API, save the sessionId in a database, and then make a request in the flow using the sessionId. The comments suggest that the community member may be looking for a specific solution, but it is unclear if there is an explicit answer provided. Some community members question the purpose of using the API endpoint in a bot, and suggest that it is either run on the Web widget or with the API, but not both.

I wish to start a chat using the API, save the sessionId in a DB and then make a request in the flow using the sessionId, is it possible?
V
A
B
4 comments
I think you're looking for this:
Attachment
image.png
is 'UserID' the same variable used here as 'sessionId'?
Attachment
image.png
Why would you like to use that API endpoint in your bot? That does not make sense
It's either you run the bot on the Web widget, or with the API. Not both 😅
Add a reply
Sign up and join the conversation on Discord