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 Apps / Send JSON to Flow afte...
Power Apps
Unanswered

Send JSON to Flow after button click

(0) ShareShare
ReportReport
Posted on by

H,

 

I have the following form created from CDS data source of entity type 'Task'.

 

PowerApp.png

I need to send a JSON object with the field values after users clicks on Submit.

 

I am new to PowerAPs and not sure what the best way to go about doing this.

 

Please help.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,697 Most Valuable Professional on at

    Yes, this is possible.  Build your JSON output as a string in PowerApps.  Make sure you use single quotes rather than double quotes.  Then send that string to Flow as a Parameter.  In Flow you can use a sample of your JSON output to create the schema in a Parse Json action.  Feed the JSON string you get as input into that action and you will have dynamic content for the fields in the JSON output.  For example I built a test using the followin JSON

    {
    'employee': { 
     'name': 'LastName', 
     'salary': 56000, 
     'married': true 
     } 
    }

    I passed that as a string to Flow from a PowerApps button.  Then Parsed it in Flow.  AFter that was done I had access to name, salary, and married as dynamic content in Flow.

     

    The one limitation is that you have to use a fixed JSON schema so that Flow will know how to read the string you pass.

  • Community Power Platform Member Profile Picture
    on at

    Cool let me have a look at this.

     

    Thanks

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard