Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Save Salesforce attachments to Sharepoint

Hello good people,

I am new to Power Automate and Salesforce lightning. Currently, I'm working on Salesforce to Sharepoint integration. In Salesforce, If a user uploads files in the Notes & Attachment section of any Opportunity item, I have to create a folder in Sharepoint and save the uploaded file there.


My plan was to trigger a flow whenever a file gets uploaded and retrieve the file and opportunity id for further work. So I created a flow and triggered it when a content document object is created.


Although the Content Document object contains file information like Name, Size and FileExtension, I couldn't find the file content to save it to the Sharepoint folder. I also looked into the Content Versions and Content Document Link but the file content isn't available there.

Am I missing something? Can someone guide me on where to find the file content? Is there any other way to save the attachment files from Salesforce Lightning to Sharepoint?


Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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