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 / Microsoft Flow using b...
Power Automate
Unanswered

Microsoft Flow using both SharePoint and Excel

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Good afternoon,

 

I am trying to create a flow that takes data from Microsoft Excel, determines whether this data needs to be created as a new SharePoint item, or if it already exists in SharePoint, and just needs to be updated, before finally sending a confirmation email when finished.

 

It is not the most complicated flow in the world, but for some reason, each time I try to test the workflow, I receive a "input array is empty" message and the flow stops.  Any thoughts as to what I am forgetting to include or where I am going wrong?

 

I have included a screenshot of what I have thus far, plus another screenshot showing what happens whenever I try to run the flow and receive the "input array is empty" message.  To determine whether or not a new SharePoint item is needed, I took a common field from Excel and SharePoint and simply asked the system to look for a match.  This flow seemed so easy at first, but I am completely stumped.  Any help would be greatly appreciated!!Picture2.pngPicture1.png

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

    Hi @Anonymous,

     

    Could you provide the details of your SharePoint list, is it initially an empty list?

    The reason I want to see this issue is that there is no item in the SharePoint list.

    If you want to use the Value of Get items in Apply_to_each, please make sure there is at least one item in the SharePoint List.

    You could manually add an item to the list in advance, and then delete it after adding a new item.

    Please take a try and let me know if issue still exists.

     

    Best Regards,

    Barry

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    It was originally an empty list... and as soon as I added a test item to the SharePoint List, Flow realizes that the condition is not empty and completes the rest of the actions.  However, now whenever I run this flow, I see a lot of duplicate items...  Does this have something to do with the "Apply to Each" condition?  And how could I get rid of the Apply to Each to ensure that this flow is only runs once?

     

    Thanks for your help and quick reply!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 820

#3
Haque Profile Picture

Haque 505

Last 30 days Overall leaderboard