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 / Map & split JSON (into...
Power Automate
Answered

Map & split JSON (into D365FO)

(0) ShareShare
ReportReport
Posted on by 34

Hi Experts!

 

Disclaimer, as the names states, I'm enthusiastic but quite new to Power Automate.

 

I'm trying to import the following JSON into D365FO:

www.floatrates.com/daily/dkk.json

 

Though, I am having a tough time mapping the data correct. I have no problems in parsing the JSON in the Schema:

PowerA_rookie_0-1645012780078.png

 

But from there on and onwards, I guess I need to split the currencies into separate lines since it's still in one big string. At least, that is what I understand, cause whether I try to compose the output of i.e. USD, I do not get to map and create the records as the right currency.

PowerA_rookie_1-1645013234976.png

I've tried to use the split function as well, where I split the Output at every '},', but without luck. I'm not a developer, so if you know how I can split this JSON correctly, please let me know!

 

Best regards,

PowerA_rookie

Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    12,109 Super User 2026 Season 1 on at

    Here is one way to reference the properties of each currency.

     

    Snag_2456bc0.png

    I want the currency info for the following: USD and GBP

    Snag_245c0c5.png

    Snag_2460c93.png

    This is the Schema for the Parse JSON action:

    {
     "type": "object",
     "properties": {
     "code": {
     "type": "string"
     },
     "alphaCode": {
     "type": "string"
     },
     "numericCode": {
     "type": "string"
     },
     "name": {
     "type": "string"
     },
     "rate": {
     "type": "number"
     },
     "date": {
     "type": "string"
     },
     "inverseRate": {
     "type": "number"
     }
     }
    }

    The Schema for the Parse JSON action was generated using the following sample data:

    {
     "code": "USD",
     "alphaCode": "USD",
     "numericCode": "840",
     "name": "U.S. Dollar",
     "rate": 0.15263770234795,
     "date": "Wed, 16 Feb 2022 11:55:01 GMT",
     "inverseRate": 6.5514613009597
    }

     

    Sample runtime output for two currencies:

    Snag_24baed6.png

    Hope this helps.


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as Solved.
    If you like my response, please give it a Thumbs Up.

  • PowerA_rookie Profile Picture
    34 on at

    Thank you for the detailed reply.

    I got the reply and result I wanted and my flow seems to be working correctly.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard