General questions around API's.
Is it better to use them in powerapps or in powerautomate ?
Any pros/cons. This will include exception handling as well. I have done it in powerautomate in the past and its straight forward.
Thanks
Thank you so much. That was very helpful
Hey @christian12
Using an API in both Power Apps and Power Automate is pretty easy. But definitely as you have also written above API in Power Automate is pretty straightforward. In Power Apps you will have to make a custom connector for this, which is difficult when you do it for the first time, but when you get the method, you will be able to create it easily.
There are not much pros and cons, but I definitely find exception handling much easier in Power Automate. To know more about exception handling in Power Automate you can read my following post:
Rest if you will be using your API at multiple places like a different app or a flow, I would suggest you to make custom connector for your apis. Then you dont have to write hard coded values always, just directly connect the custom connector. There are many ways by which you can make custom connectors. Giving you some good links which you can check out to know more about custom connectors.
https://youtube.com/watch?v=6wqTV4wtPd8
https://www.youtube.com/watch?v=pofGwmooupA
https://www.youtube.com/watch?v=b4aJdQrmTsQ
So, pro of Power Automate:
Pros of Power Apps:
.
Rest, its upto you how you want to use it. 🙂