I realize that the copilot chatbot has a default system variable for retrieving the last message sent through System.Activity.LastMessage, but I am looking for all previous messages from both the user and bot. On Topic Escalation, I would like to send the chatbot's entire conversation history with the user to Zendesk API to create a support ticket. How would I accomplish this?
There are two documented patterns that would allow you to do that:
Manage a global variable: Solved: Re: Integrate a PVA chatbot with Azure OpenAI Chat... - Power Platform Community (microsoft....
Access the transcript using Directline: Solved: I want to retrieve user bot conversations using di... - Power Platform Community (microsoft....
im using the second option. i see in the last step he mentions using a PowerFX function to isolate the messages. What would this function look like? First time hearing of this language and havent had much luck getting it to work. I wan to create a string similar to how is adaptive card looks. but i want it to be a string that id be sending as a body in my zendesk api call
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Romain The Low-Code... 265 Super User 2025 Season 2
Michael E. Gernaey 257 Super User 2025 Season 2
Sam_Fawzi 84 Super User 2025 Season 2