Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

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

(0) ShareShare
ReportReport
Posted on by 1,027

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 1,015 Super User 2025 Season 1 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
     
  • SriniK Profile Picture
    SriniK 2,906 Super User 2025 Season 1 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,318 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,111 Most Valuable Professional

Leaderboard