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 / check if item exists b...
Power Automate
Answered

check if item exists before adding to list

(0) ShareShare
ReportReport
Posted on by 353

I have a flow that colelcts site pages through the Graph API. 

I'm populating a dataverse list, but would like to check the list to see if an item with the existing id already exists.
how would I do this? 
the dataverse field is webid, and it is populated with 

 

items('Apply_to_each_2')?['id']

 



nick9one1_0-1713893165379.png

 

Categories:
  • Verified answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at

    Hi @nick9one1 

     

    use list rows before add a row action which list rows based on filter query you are providing, so if output of list rows contains rows , it means that already item exists in the list, else no items exists.

    Nived_Nambiar_0-1713902559243.png

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 426

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard