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 / Inserting multiple row...
Power Automate
Unanswered

Inserting multiple rows in SQL Server table

(0) ShareShare
ReportReport
Posted on by 19

Hello All - 

I am trying to insert multiple rows into a sql server table, I see the current action is only capable of inserting one row at a time. Is there a way we can insert multiple rows into the sql server table? Please feel free to throw in any idea.

Thank you.

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @ysharma ,

    There is no action in Power Automate to insert multiple rows into SQL Table, but you can do it by using Apply to each action with the concurrency option set as you need (maximum 50) and inside Apply to each action the SQL - Insert Row (V2) action.

     

    gabibalaban_0-1638428215243.png

    Hope it helps !

  • ysharma Profile Picture
    19 on at

    Hi @gabibalaban ,
    Thank you so much for your response. I tried to put the "Insert row" action with in "Apply to each" and set the concurrency, but I am not sure what array to put here:

    ysharma_0-1638451937301.png

    When I put body from previous step I am getting the below error, and getting the same error when I am putting id from previous table.

    ysharma_1-1638451989948.png

    Thank you again for helping me out.

  • Hvus Profile Picture
    33 on at

    Hi!

    Did you try to use bulk insert instead insert into?  This is the fast method to masive insertion.

    Hope this help.

  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    @ysharma ,

    Based on your screen-shot, for each created item in table 1 an instance of the flow runs and creates a row in table 2. 

    I can't figure it out what multiple rows do you want to insert in the second table. The body property of the trigger SQL - when an item is created is an object (the columns values of the created item) , not an array, so you cannot use Apply_to_each action in this case.

     

  • takolota1 Profile Picture
    4,978 Moderator on at

    Anyone looking to do something similar, you can try this batch SQL CRUD template:

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/SQL-Batch-Create-Read-Update-and-Delete/td-p/1715338

  • Sainadh Profile Picture
    7 on at

    Hello YSharma,

     

    Did you figured it out how to load multiple rows in sql server from Power Automate ?

     

    Thank you

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 67

#2
David_MA Profile Picture

David_MA 64 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard