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 Apps
Unanswered

Pass JSON to Flows

(0) ShareShare
ReportReport
Posted on by 8

Dear all, 

 

I know there are already a few topics on this forum discussing my issue.  Neverthless, i can't get things working.  So i would really appreciate if anyone could help me.

1. I've created a button where JSON is created 

 

   Capture1.JPG

 

2. I've created a flow that msut use the JSON structure

 

Capture2.JPG 

 

3.  When i add a button an link the flow action, it requires a parameter, which is ok
Capture3.JPG

4 When i add the parameter (which i assume lust be the JSON file), the system keeps me telling that a record is expected.

Capture4.JPG

 

Capture5.JPG

 

Who has a suggestion for me how to pass the JSON file to flows ? 

 

Kind regards and very appreciated

 

STeve

Categories:
  • Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    If the schema is always going to be the same then pass it as a string and use a ParseJson action in Flow to unpack it back to a JSON array.  You can pass a full collection just by putting it inside JSON().  But I think you need a Parse JSON before you try to use the json you passed.

    I have a collection called colAutoMileage which I pass to Flow using 

    'PowerApp->Initializevariable'.Run(JSON(colAutoMileage))
    

    Inside my PowerApp I use a ParseJson that I have pasted a sample payload in to generate the schema. I would suggest using the default JSON schema rather than specifying IndentFour. 

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 232 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 202 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard