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_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

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