Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Sending JSON from Power Apps to Flow works in debug, lost with published app

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I built an app that sends a JSON string from Power Apps to Flow, this works great in debug - I can see and manipulate the json with flow.

 

However, once I publish, the published app sends everything except the JSON package. it arrives as [{}] according to flow.

 

The outputs from the "Power Apps" header is

    "body": {
        "Initializevariable_Value""[{}]",
 
Vs when I am in debug, I get a full json string that I can parse and use with Flow. 
 
How can I debug this more? It appears to be Power Apps not sending the string. 
  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Sending JSON from Power Apps to Flow works in debug, lost with published app

    Hi @PeterInWa,

     

    OK, clearcollect will empty all values. If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Best Regards,
    Community Support Team _ Lin Tu

  • Verified answer
    PeterInWa Profile Picture
    Microsoft Employee on at
    Re: Sending JSON from Power Apps to Flow works in debug, lost with published app

    Thank you,

     

    I found I was using 'clearcollect' on load AND on selection - so when I selected items, I cleared the table used to create the JSON package. So once I changed the select to 'collect' the table remained and the contents for the JSON package were intact and able to send to Flow.

  • v-litu-msft Profile Picture
    on at
    Re: Sending JSON from Power Apps to Flow works in debug, lost with published app

    Hi @PeterInWa,

     

    Could you please share your Flow configuration? It seems that you have some issue when you pass json from Power Apps to Flow, there is a blog could tell you how to do it, hope it helps you:

    Send a Collection from Power Apps to Flow (powerobjects.com)

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow