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 / Power Automate / Parse x-www-form-urlen...
Power Automate
Unanswered

Parse x-www-form-urlencoded from HTTP POST

(0) ShareShare
ReportReport
Posted on by 14

Hey

I am not the most advanced user but I want to receive an SMS via a HTTP request.
The problem I encounter is that the payload I get from the SMS provider is in x-www-form-urlencoded and not json. So how can I parse the payload to get it in dynamic content to handle into teams?

The flow I have started with:

Fredd_0-1643011964535.png

 

Payload example I get from provider. 
direction=incoming& id=sf8425555e5d8db61dda7a7b3f1b91bdb& from=%2B46706861004&to=%2B46706861020& created=2018-07-13T13%3A57%3A23.741000& message=Hello%20how%20are%20you%3F

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Fredd ,

     

    I did a sample for you.

    vxiaochenmsft_0-1643177096601.png

    vxiaochenmsft_1-1643177104520.png

    split(decodeUriComponent(variables('var')),'&')
    vxiaochenmsft_2-1643177128454.png
    split(items('Apply_to_each'),'=')
    {"@{trim(outputs('Compose_2')[0])}":"@{trim(outputs('Compose_2')[1])}"}
     
    vxiaochenmsft_3-1643177166158.png
     

     

     

    [
     {
     "direction": "incoming"
     },
     {
     "id": "sf8425555e5d8db61dda7a7b3f1b91bdb"
     },
     {
     "from": "+46706861004"
     },
     {
     "to": "+46706861020"
     },
     {
     "created": "2018-07-13T13:57:23.741000"
     },
     {
     "message": "Hello how are you?"
     }
    ]

     

     

    // Besides, If you want to parse the Json, you could use 'Parse JSON' action.

     

    Best Regards,

    Wearsky

     

  • Fredd Profile Picture
    14 on at

    Thanks a lot!

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 > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard