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

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
    11,681 Super User 2025 Season 2 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

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