Announcements
I'm seeking advice on optimizing a Power Apps flow for updating stock quantities on my ecommerce site. Here's the challenge:
I need guidance on architecting this solution more effectively. How can I efficiently process such a large file and update only the relevant SKUs on my site without timing out? Any insights or recommended practices would be greatly appreciated.
Thanks in advance!
My primary suggestion would be to not trigger the flow from Power Apps. If you trigger the flow using a manual button or a recurrence trigger in Power Automate the flow can run for days without timing out. Is there a particular reason you need to trigger it from Power Apps?
I intend to trigger the flow on a schedule (2 AM once a day). When I test the flow by triggering it manually, it really chugs parsing the tab delimited file and then doing a look-up against the SKUs. My thought, based on little experience, is to parse the file and store it in a spreadsheet first then do the SKU lookup. Another thought is to only parse the SKUs I need from the text file. So, I would first grab the SKUs from my ecommerce site and then use those to only parse the SKUs from the FTP file. Not sure if this is possible.
You won't get the timeout issue if you start it at 2:00 AM using a recurrence trigger. The problem is that Power Apps expects a response from the flow within a couple minutes. That is why its timing out. Its a Power Apps issue, not a Power Automate issue. I would switch the trigger first, then we can try to help improve the performance. But I don't think you will ever get it to run fast enough to trigger in Power Apps.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185