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
Register for a Free Workshop.png

Register for a Free Workshop

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

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Top Solution Authors
Top Kudoed Authors
Users online (2,250)