web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting Sharepoint ...
Power Automate
Unanswered

Connecting Sharepoint folder to SQL database using flow

(0) ShareShare
ReportReport
Posted on by

Hey there,

I'm currently attempting to automate the movement of new files that'll be continuously added to a Sharepoint folder into SQL database using flow.

 

It seems you need the specific file name to use the "Get Rows" and "Get Worksheets" Excel steps in order to then get dynamic options for the "Insert Row" SQL step.  This is a problem for me since I need to automate the movement of new files which have yet to be added to the folder and thus haven't been named or had their format established yet.  If I try to extract the contents of the folder, all I get is a list of file names as a dynamic option rather than the contents of the files themselves.

Converting to a CSV file poses similar problems and the SQL step won't recognize the rows.

 

I'd prefer to use flow as the automation tool since I'm interested in exploring it, but if you guys have simpler suggestions to automate the interaction between Sharepoint folders and SQL I'd appreciate those as well.

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Do you mean that you have obtained the properties of the file in the specified folder, but can't get the file content?

    Could you share the current configuration of Flow?

     

    If you use When a file is created as a trigger and you can get the file name, you could then use Get file content action to get the file content, Like:

    47.PNG

    If you use List folder to get the files in specified folder, you could still use Get file content action to get the file contents, as below:

    46.PNG

    Please take a try.

     

    Best Regards,

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 273 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 135 Most Valuable Professional

Last 30 days Overall leaderboard