I have a Power Automate flow that triggers when an email arrives in a shared inbox. I then have a condition that checks whether the email has been sent from an internal email address. I am having a problem whereby on some runs of the flow, it's successfully checking the value in the "From" dynamic variable. But in other runs, that same "From" variable seems to be empty, or at the very least, it doesn't seem to be able to check the condition.
Successful run:
As you can see from a successful run of the flow, it's taken the sending email, determined that it matches one of our internal email domains, and set the condition as True.
Unsuccessful run:
In the unsuccessful run of the flow, there is no email address showing in the "From" dynamic variable, unlike the first picture. When I check the outputs of the "When an email arrives in a shared mailbox" trigger, however, the body/from value is there in the JSON. It also provides the pop up message as can be seen.
On a separate, but related note, whether the sending email address is internal or external, when it is an unsuccessful run, the condition always sets as true, sending it down our 'Internal Only' path.
Am I missing something here? Any help would be appreciated. If further information or context is required, I can provide it.
Thanks,