cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MistaahG
New Member

Pass file content with custom connector to Azure Function

Hi all

Can anyone explain me how to pass the content of a SharePoint file (via the get file from sharepoint action) to a custom connector that accepts the content of a file as a input parameter? The file content will be processed in a Azure Function.
How does the swagger definition looks like?

Thanks in advance.

Kind regards
Gianni

2 REPLIES 2
Syndicate_Admin
Administrator
Administrator

Not sure I understand. Why are you using a custom connector for this? Power Automate already has a Get File connector. If you need your function to call Get File, make a Flow with an HTTP trigger. If you need your flow to call your function, make a flow with an HTTP Request Action. I don't see where a custom connector comes into play.

shyamsu
Power Automate
Power Automate

I believe you need to use

"format": "binary",
"type": "string"

 

Also, please take a look at our open source repo where you will find hundreds of connectors and some of these connector implement the feature you are looking for : PowerPlatformConnectors/certified-connectors at master · microsoft/PowerPlatformConnectors · GitHub

 

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Users online (2,213)