Skip to main content

Notifications

Power Apps - Building Power Apps
Unanswered

Power Apps Workflow- Sharepoint/Teams Message

Posted on by 12
Good Day! I have created a flow in my Canvas App and it works with the button, however I cannot figure out how to insert the current SharePoint record ID into the Workflow. I tested the workflow using a random record id. Below is what I need to dynamically update based on the current record on the form.
 
 
Categories:
  • Suggested answer
    Mark Nanneman Profile Picture
    Mark Nanneman 329 on at
    Power Apps Workflow- Sharepoint/Teams Message
    A couple things, you need to pass the Item ID to the flow from the Power App.  Click "Add an input" on the Power Apps (V2) Trigger.  If you're working off a SharePoint list then probably use number.


    Rename the property key/name and type in a hint/description if you like.
     
    Put your a refrence to your powerapps input in the Get Item action



    Finally, on the Power Apps side, you need to input the sharepoint item id when you call the flow.


    Something like this:



    I'd also like to add, that when I make flows like this I like to include a link to the record in the html.

     
    I hope this helps!
  • Chrisemtpa Profile Picture
    Chrisemtpa 12 on at
    Power Apps Workflow- Sharepoint/Teams Message
    Its just taking the Sharepoint Item, summarizing and sending it to teams. But i can't figure out how to set the Get Item ID in the workflow to ask for the current sharepoint record ID. 
  • BF-06081350-0 Profile Picture
    BF-06081350-0 38 on at
    Power Apps Workflow- Sharepoint/Teams Message
    What is the flow in the app doing? Is it creating a record in SharePoint? If so, it might be better to use the "When an item is created or modified" and use the ID value from that activity as the input for the ID in the "Get item" activity.
  • Chrisemtpa Profile Picture
    Chrisemtpa 12 on at
    Power Apps Workflow- Sharepoint/Teams Message
    Just updated it with a screenshot. 
  • BF-06081350-0 Profile Picture
    BF-06081350-0 38 on at
    Power Apps Workflow- Sharepoint/Teams Message
    What does your flow look like? There is nothing attached to this post.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,591

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard