Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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!)
  • MCeron98 Profile Picture
    27 on at
    Re: When I flag an email, check if Conversation Id is already written in an excel table. If not, write it

     

    Many thanks!

  • Verified answer
    Pstork1 Profile Picture
    66,820 Most Valuable Professional on at
    Re: When I flag an email, check if Conversation Id is already written in an excel table. If not, write it

    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 

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >