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 / Using Automate with Sh...
Power Automate
Answered

Using Automate with SharePoint

(0) ShareShare
ReportReport
Posted on by 11

I need some advice on how to get started here and would really appreciate some pointers. Specifically on how to work with SharePoint using Power Automate when it's an Instant Flow.

I have a SharePoint list upon which I've created a PowerApps Canvas App. I also have an Instant Flow ready called MyFlow that just initialises a variable and does nothing else. I can trigger my Flow by using the below function on a button:

 

'MyFlow'.Run(Page.LastSubmit.ID)

 


The Flow is triggered successfully (using a simple Initialize variable action that doesn't really do anything) and from my understanding I have passed the ID of the current item to the Flow, correct?

Method 1: Get Item (singular)

Now in my Flow I want to using the Get Item action (singular) to take values from the current item e.g. I have a field called Status. To configure this Get Item action I expect to configure it by adding my site and list then configuring the Id field to Ask in PowerApps as follows:
1.PNG

However when I save this and trigger the flow from my PowerApps button I get this message:

 

MyFlow.Run failed: The method 'Run' has an invalid value for parameter 'Getitem_Id'

 


Method 2: Get Items (multiple)

If I use Get Items I will need to use filtering as there's a limit of 5000 items so filter the query using the Ask in PowerApps as follows:
2.PNG

Again I get the error:

 

MyFlow.Run failed: The method 'Run' has an invalid value for parameter 'Getitem_Id'

 


Ultimately I want my flow to be able to get values from the current item. But I'm obviously not passing the ID correctly. I've spent so much time trying to find an answer and would really appreciate some help, advice or pointers. Many thanks!

Categories:
  • DamoBird365 Profile Picture
    8,942 Microsoft Employee on at

    Hi @Jubei 

     

    You are literally trying to pass the ID of the Item.  If you navigate to your list you can view the ID column (might need to add it to current view).

     

    DamoBird365_0-1614710515463.png

    Get Items is expecting a List Item ID

    DamoBird365_2-1614710681584.png

     

     

    You'll need to establish what is being received by the PowerApp trigger by looking at the history.

     

    It might be an idea to stick a compose action in after the PowerApps trigger (just temporarily) to see what GetItem_Id looks like and then hopefully you can work out what data you are passing to the Flow and why the get item is failing.

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
    Cheers,
    Damien


    P.S. take a look at my new blog here

  • Jubei Profile Picture
    11 on at

    @DamoBird365 wrote:

    It might be an idea to stick a compose action in after the PowerApps trigger (just temporarily) to see what GetItem_Id looks like and then hopefully you can work out what data you are passing to the Flow and why the get item is failing.

    I added the Compose action with the Ask in PowerApps expression and it comes up blank meaning I'm not passing the ID across.

     

    1.png

     

    2.png

     

    My PowerApps function to trigger the flow looks like this:

     

    MyFlow.Run(Page.LastSubmit.ID)

     

     

    I thought by using LastSubmit.ID that I would be sending the current item ID to the Flow.

  • Verified answer
    DamoBird365 Profile Picture
    8,942 Microsoft Employee on at
  • Jubei Profile Picture
    11 on at

    @DamoBird365 wrote:

    It might be an idea to stick a compose action in after the PowerApps trigger (just temporarily) to see what GetItem_Id looks like and then hopefully you can work out what data you are passing to the Flow and why the get item is failing.


    Thanks for your help with this. Using the Compose item to provide telemetry will help me troubleshoot going forward.

     

    In my case I set the form the New and allowed the ID to feed into the Flow.

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 245 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 233 Super User 2026 Season 2

#3
Valantis Profile Picture

Valantis 136 Super User 2026 Season 2

Last 30 days Overall leaderboard