Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

How do i make a proper json for the below scenario?

(0) ShareShare
ReportReport
Posted on by 392

Hi, Check out this image

Jupyter123_0-1697878483300.png

In Body, I have a post json, i will send request 
But question and email values are extracted from power virtual agents chatbot.

Jupyter123_1-1697878654658.png

 


sometimes the user types question in new line which makes a problem here
"question" : "how to bake a 
cake",
"email" : "Xxx@ss.com"


the above one is not a valid json, how do i them a proper json? and then send request?

  • Jupyter123 Profile Picture
    Jupyter123 392 on at
    Re: How do i make a proper json for the below scenario?

    @EmadBeshai hey, this wont work for my case, i am not composing any json just directly extracting output from body 

  • EmadBeshai Profile Picture
    EmadBeshai 806 on at
    Re: How do i make a proper json for the below scenario?

    Hi @Jupyter123 ,

     

    Similar issue was fixed at the below link , please check and let me know if you need more assistance.

    Solved: Remove carriage return (line break) \r\n from stri... - Power Platform Community (microsoft.com)

     

    If this post helps you with your problem, please mark your as Accepted Solution.
    If you like my response, please give it a Thumbs Up.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard