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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Automate data upload from various excel sheets to sql on daily basis

(0) ShareShare
ReportReport
Posted on by 11

I receive data on daily basis in excel sheet to my email

Created a flow to save the files to SharePoint and one drive.

Is it possible create a flow to pick the latest excel file in the folder (SharePoint/OneDrive) and upload the data present in latest excel sheet to existing sql table.

Also the no of rows of data keeps changing. Is it possible to dynamically select the range of rows to eliminate unwanted text present after the data

Eg: Headers (Column Names) of the data are present in A5 and data starts form A6 and no of rows may vary on daily basis.

 and has some unwanted test present in the sheet  below the data leaving two rows gap from data.

My Excel file name format is  "Name_Date_TransactionCode"

Can someone help me how to create a flow 

 

I have the same question (0)
  • v-litu-msft Profile Picture
    on at
    Re: Automate data upload from various excel sheets to sql on daily basis

    Hi @satyakanth,

     

    The part till to "create a flow to pick the latest excel file in the folder (SharePoint/OneDrive) and upload the data present in the latest excel sheet to the existing SQL table" is possible.

    Steps are:

    When an Email arrived>>Store attachments into a SharePoint folder>>Get the identifier of the file>>Get tables of the file>>List rows in present table>>Insert these data into SQL

    Annotation 2020-05-28 132247.jpg

     

    Annotation 2020-05-28 132304.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 659 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 386 Moderator

#3
chiaraalina Profile Picture

chiaraalina 290

Last 30 days Overall leaderboard