Skip to main content
Community site session details

Community site session details

Session Id : 7JOUaeb39mE0vXyrPraMnX
Power Apps - Connector Development
Answered

Custom connector Vs Power Automate Flow

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2021 14:18:34 by 69

Hello,

 

There is an API which I use with a Power Apps application. I authenticate (via basic authentication), retrieve an access token which expires every hour, which then needs to be passed as the bearer token in the authorization header in all subsequent requests (usual OAuth 2.0 cycle).

 

I have created two ways to access the API (for comparison purposes):

I have been able to call the API by using a Power Automate flow which is triggered from the Power Apps application.

I have also created a custom connector, which I use within my Power Apps app, to call the API .

Both methods enable me to make the same API requests.

 

Given the authentication scenario explained above, I often have to make one call to the API to authenticate/refresh the token and another call to request some data. I either do this by executing a child flow from my main Power Automate flow or, if I use the custom connector, I invoke two custom connector actions from within the app.

 

Bearing this in mind, is there any best practice which would recommend the use of one method over the other (custom connector or Power Automate flow)? Also, in terms of performance, is one method advised over the other one?

 

Thanks in advance,

Guillaume. 

  • GuimauveG Profile Picture
    69 on 14 Jul 2021 at 11:10:47
    Re: Custom connector Vs Power Automate Flow

    Thanks for taking the time to respond. I will follow your advice and we will assess which method works best for our use cases. 

     

    Thanks,
    Guillaume.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Featured topics