Please guide me how can I use the OData.Community.Display.V1.FormattedValue in the compose field to generate the mail successfully.

Hi,
Thanks for sharing the details. When using OData.Community.Display.V1.FormattedValue in a Power Automate flow to format values for email output, it's important to ensure that the syntax and data structure are correctly handled.
Here are a few suggestions:
FormattedValue is typically a string, but if you're using it in a filter or condition that expects an array, you’ll need to wrap it appropriately or adjust the logic to compare strings.equals() condition, make sure the path to the value is correct. You might try:
equals(triggerOutputs()?['body']?['msp_pluginrtype@OData.Community.Display.V1.FormattedValue'], 'ExpectedValue')
outputs('Get_Plugin_Record') if referencing a previous step.Compose action to output the full body of the trigger or the plugin record step. This will help confirm the exact structure and whether the formatted value is present.Please verify if this response was helpful.
Thanks and best regards,\
Daniele\
Note: This response was prepared with support from Copilot to ensure clarity and completeness.