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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / parsing generic key va...
Power Automate
Unanswered

parsing generic key value pairs

(0) ShareShare
ReportReport
Posted on by 4

I have  some data pushed to Flow as an HTTP request received in the format below:

I've tried various json parse, compose, select and conditional workflow options.

However I can't find an efficient way to get each subitems keys and values into a variable structure so that I can send this to a stored procedure. This is just multiple fields for one record update. Can anyone help? 

 

{
"$content-type": "application/x-www-form-urlencoded",
"$content": "sdsdfsdfsdfsdf",
"$formdata": [
{
"key": "type",
"value": "update"
},
{
"key": "date_time",
"value": "2018-12-03T15:00:47-06:00"
},
{
"key": "initiated_from",
"value": "admin"
},
{
"key": "initiated_by",
"value": "admin"
},
{
"key": "list",
"value": "0"
},
{
"key": "contact[id]",
"value": "3870"
},
{
"key": "contact[email]",
"value": "x@x.com"
},
{
"key": "contact[first_name]",
"value": "xxx"
},
{
"key": "contact[last_name]",
"value": "xxx"
},
{
"key": "contact[phone]",
"value": ""
},
{
"key": "contact[ip]",
"value": "127.0.0.1"
},
{
"key": "contact[tags]",
"value": "test1,test2,test3"
},
{
"key": "contact[fields][14]",
"value": "2018-11-30"
},
{
"key": "contact[fields][17]",
"value": "85"
},
{
"key": "contact[fields][18]",
"value": "1481526"
},
{
"key": "contact[fields][7]",
"value": "sdfaswasf"
},
{
"key": "contact[orgname]",
"value": "asdgawfa"
},
{
"key": "orgname",
"value": "asfasdf"
}
]
}

Categories:
I have the same question (0)
  • tfhegdbn Profile Picture
    149 on at

    Hi @phil4mat,

     

    I have tried a lot on my side, it seems that "$content-type": "application/x-www-form-urlencoded" affects the entire process.
    Without this, it is easy to get the value you want by traversing.
  • yairxx Profile Picture
    16 on at

    hey

    i have the same problem

    what i need to do to fix it?

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @phil4mat,

     

    Is your problem solved? If not, please refer to a similar Thread:

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Problem-with-Parsing-formdata/m-p/198580#M4212

     

    Best Regards,

    Barry

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard