I am using AI Builder to create a Power Automate flow that updates file properties with metadata identified by the AI model within the document. I have some boolean (checkbox) fields that I want to return with different values based on whether the field is 'null' (that information does not exist in document), 'true' (checkbox is checked), or 'false' (checkbox is not checked). Is it possible to write an expression that returns A for a null value, B for a true value, and C for a false value of the field?
I am referring to this solution but with the added wrench of the variable being based on an AI extraction field: https://powerusers.microsoft.com/t5/General-Power-Automate/If-null-return-value-If-not-null-return-formatdatetime/td-p/351183
I think I need to initialize and then set a variable but I am not sure how to define the variable. I'm also referring to this solution: https://powerusers.microsoft.com/t5/Building-Flows/Use-If-Expression-to-Evaluate-a-Variable/td-p/580298