Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Confirmation once CSV is downloaded in OneDrive



I want to create an alert window or something similar show that once CSV is downloaded in OneDrive (using a Power Apps button) has failed or succeeded.


Could you share any idea for this ?




Best regards


Super User
Super User

Yes, here are the basic steps for a visual alert and there are lots of ways to do this:

  1. Assign the return value of your file download flow to a context variable: UpdateContext({varFileSuccess:  MyFlowName.Run()});
  2. Create a label with your desired alert message and include a button you'll use to acknowledge the alert
  3. varFileSuccess.StatusCode should contain the value "200" for a successful run of the flow that created the CSV file, so use it in the Visible property of the new label and button to toggle their visibility with the condition: varFileStatus.StatusCode = "200"
  4. In the OnSelect property of your new button to acknowledge the alert, put the following code to clear the new variable: UpdateContext({varFileStatus: Blank()})

Hope that helps,


Help the community help more users by choosing to "Accept as Solution" if this post met your needs. If you liked the post and want to show some appreciation, please give it a Thumbs Up.

Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (1,640)