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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Insert rows from excel...
Power Automate
Unanswered

Insert rows from excel sheet (not table) to SQL server table

(0) ShareShare
ReportReport
Posted on by 2

Hello folks,

I am newbie in Power Automate Flows and I created a flow that runs every time when a file is created or modified on SharePoint.

This is how it looks and it works fine (picture below), but now I would like to INSERT data from the excel sheet directly to SQL table without "Delay" and "Execute stored procedures" steps. 

 

city_80_0-1651757229866.png

So, my new solution I started as:

city_80_1-1651757681976.png

But I am not able to find a "table name".

If I put it manually, "Sheet1" as my data is stored in Sheet1, I am getting an error

city_80_2-1651757786118.png

So, what would be a solution to insert data from the excel file (Sheet1)  to SQL server table? Data in the excel file looks like:

Sr_NoCountry CodeTEST
8873506171ATAAA
8873509309ATAAA
8873509312ATAAA
8874304362ATAAA
9991907827ATAAA
9991908038ATAAA
9992007941ATAAA
9992007973ATAAA
9992007975ATAAA
9992408796ATAAA
9992408801ATAAA
9992509863ATAAA
9992509876ATAAA
9992803822ATAAA

 

Thank you in advance.

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

    Hi @city_80 ,

     

    Firstly, have you created table in excel sheet?

    The action can only recognize the data in the excel sheet table instead of the data in the excel sheet.

    vxiaochenmsft_0-1652076844885.png

    vxiaochenmsft_1-1652076851651.png

    vxiaochenmsft_2-1652076858446.png

     

    Secondly, if you have created a table in excel ,you could find the table name here.

    vxiaochenmsft_3-1652077340528.png

     

    Finally, you could invoke id parameter from 'create file' action.

    vxiaochenmsft_4-1652077407004.png

     

    Best Regards,

    Wearsky

  • city_80 Profile Picture
    2 on at

    @v-xiaochen-msft Let me try your solution and I will get back with feedback. Thanks for hints.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard