Notifications
Announcements
Every time i save my changes, the page refreshes and my changes disappear. I guess it doesnt like Topic.Transcript by itself. If i put it within brackets however and with a key (Topic.Transcript as value) then no problems. So it seems to be a type conversion issue between trying to set record variable as json object. How can i convert this variable to json? the schema of the variable is as follow:
I think it's "just" a UI issue. If you peek at the YAML code for the topic, you can see the request body is populated with whatever formula you assigned in the UI, and based on my tests, the call executes successfully.
I think you can raise a case with support regarding the UI - Get Help + Support in Power Platform - Power Platform | Microsoft Learn
Here is the code for my topic:
kind: AdaptiveDialog beginDialog: kind: OnRecognizedIntent id: main intent: triggerQueries: - http actions: - kind: SetVariable id: setVariable_pgxUkP variable: Topic.body value: "={key:\"value\"}" - kind: HttpRequestAction id: syBaJ9 url: https://myurl.com body: kind: JsonRequestContent content: =Topic.body
Hello, @adilei
I am experiencing an issue with passing user input (variable) in the body of an HTTP POST request in CoPilot Studio. Attached are screenshots illustrating the problem.
Could you please help me resolve this issue?
Thank you.
Best regards,Kushagra SharmaVariable (Var1), that i want to pass inside payload
HTTP - Post request body
response
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.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator