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 / 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
    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

Forum hierarchy changes are complete!

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

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard