Skip to main content

Notifications

Power Automate - Building Flows
Answered

How to get the ID from a SharePoint list and copy it to another SharePoint list

Posted on by 1,011

Hi,
I have two SharePoint lists: List A and List B.
I have created a Power Automate flow to copy the items from List A to List B when an new item is created.
However, in List B, I want to store the ID from List A.

How can I do that?

Post a question

Gr.P

  • Verified answer
    Robu1 Profile Picture
    Robu1 822 on at
    How to get the ID from a SharePoint list and copy it to another SharePoint list
    Hi   ,
     
    Thank you for choosing Microsoft Community.
     
    To store the ID from List A in List B when copying items using Power Automate, you can follow these steps:
     
    Trigger: When an item is created in List A.
    Get Item: Use the "Get item" action to retrieve the newly created item from List A.
    Create Item: Use the "Create item" action to create a new item in List B. In this action, you can map the fields from List A to List B, including the ID field from List A.
     
    Here's a detailed breakdown:
     
    Trigger: When an item is created in List A.
    Use the "When an item is created" trigger for List A.
    Get Item: Retrieve the newly created item from List A.
    Add the "Get item" action.
    Set the Site Address and List Name to List A.
    Use the ID from the trigger to get the specific item.
    Create Item: Create a new item in List B.
    Add the "Create item" action.
    Set the Site Address and List Name to List B.
     
    Map the fields from List A to List B, including the ID field from List A.
     
    ----------------------------------------------------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and like my suggestion ❤️  Your feedback supports future seekers 🚀
     
     
    Happy to help 
     
    Robu 1
     
  • Srini007 Profile Picture
    Srini007 2,800 on at
    How to get the ID from a SharePoint list and copy it to another SharePoint list
    Hi,
     
    Check below for your reference
     
     
    If I have answered your question, please mark it as the Answered. If you like my response, please give it a Like.
     
    Regards,
    Srini
     

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,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard