Good day,
I'm working on a flow that generates an excel report based off an email from a user. I'm able to capture majority of the information I need but am stuck on populating a column based off a condition being met.
Tried working on the expression but it says invalid. Not 100% sure what I'm missing as it seems like a fairly straight forward condition. I've listed the expression below that I'm trying to make valid any help would be much appreciated.
if(triggerOutputs()?['body/body']contains("slower"),"downtrending","uptrending")
basically looking to check the body of received email for the word "slower". If it contains "slower" populate "downtrending" else "uptrending" if false.
Screenshot below for reference: