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 / When I flag an email, ...
Power Automate
Answered

When I flag an email, check if Conversation Id is already written in an excel table. If not, write it

(0) ShareShare
ReportReport
Posted on by 27

Hi all! 

Im trying to run a simple workflow in which I have an excel table with a column named ¨ConversationID¨, which has unique values. When I flag an email, the flow checks if the conversation ID is already inside my excel table, if not, write it. However im having trouble defining the condition. I tried using 

 

length(outputs('Get_items')?['body/value']) equal to 0 
equals(length(body('Get_items')?['value']), 1) 0 (the ID does not exist), or 1 (the ID exists)
 
However I run into this error message:
Flow save failed with code 'InvalidTemplate' and message 'The template validation failed: 'The action(s) 'Get_items' referenced by 'inputs' in action 'Condition_2' are not defined in the template
 
 (sorry for bothering you guys!)
Categories:
I have the same question (0)
  • Verified answer
    Pstork1 Profile Picture
    69,657 Most Valuable Professional on at

    You are referencing Get_Items which is SharePoint.  You should be using

    ength(outputs('List_rows_present_in_a_table')?['body/value']) equal to 0 
  • MCeron98 Profile Picture
    27 on at

     

    Many thanks!

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 253 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 172 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 134 Super User 2026 Season 2

Last 30 days Overall leaderboard