web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Get Chat Bot Session I...
Copilot Studio
Unanswered

Get Chat Bot Session ID to Respond to chat within a flow

(0) ShareShare
ReportReport
Posted on by 14

Is it possible to respond back to the same chat session within a flow process? I am trying to help user locate info and it requires them to select options based on query of our SharePoint data/files. I couldn't find a way to return a selectable options list back to user at end of flow (which would have sufficed), so am using the teams post a choice of options as bot... unfortunately, this creates two chat sessions, which seems a bit awkward. 

 

Is it possible for me to get the ID of the primary chat session to respond back during the flow process so user can make a selection and then continue?

I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at

    Hello @BenjaminDoyle 

     

    Could you share a screenshot of your flow?

    You’re using the Power Virtual agents trigger? You should be able to use the return action and be able to pass values back into PVA

  • BenjaminDoyle Profile Picture
    14 on at

    Yes, I am able to return values back using the closing action "Return Value(s) to PVA." However, the issue is 

    1. This action does not support "options list" [array] as a return value (which i would need to allow user to make a dynamic selection based on Flow query result as a next step of PVA), so
    2. I am using a Teams connector action to send those choices before flow ends. However, this action creates a secondary chat session/scenario.

    so if i am correct that i cannot return a selectable options list as value to PVA (where user would then trigger a second flow based on choice), can i at least "get" the current chat bot chat session ID so that when using the teams connector, i can have it reply to same chat session rather than a parallel one?

     

    BenjaminDoyle_0-1603214793866.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 205 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard