cancel
Showing results for 
Search instead for 
Did you mean: 

Distinguish between New & Replies on Yammer

I would love to see the Yammer Flow updated to include a way to recognise if a post on Yammer is a "new" post, or in reply to another post.

 

Currently I'm doing this with advanced conditions to look-up if there's a Reply-to ID, but this isn't the most ideal way to query this information.

Status: New
Comments
Level: Power Up

Can you share your advanced condition? I can't seem to be able to verify if it's a reply or not. Thanks!

 

I would also love to see two different triggers, ex. one for "When a new message is posted" and "When a reply is posted" 

Level: Powered On

Sure! After some googling, I found a code that I repurposed...

 

@equals(coalesce(triggerBody()?['replied_to_id'],'NULL'),'NULL')

 

If yes - this is a new post (as there's no reply to id)

If no - this is a reply

 

Not perfect, but it works, and definitely a good workaround until something is built into Flow!