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 / How to get the ID from...
Power Automate
Answered

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

(0) ShareShare
ReportReport
Posted on by 1,066

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

Categories:
I have the same question (0)
  • Srini007 Profile Picture
    3,463 Super User 2026 Season 1 on at
    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
     
  • Verified answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
    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
     

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
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard