Hello!
I am working on a word populate flow and I am having issues trying to figure out a formula.
My word gets populated from PowerApps, where I gather a list of names and their signatures
Since the only way I was able to do this was having the list of signature images already saved in my SP documents (they get updated everytime I hit the button with the new signatures). This was working perfectly so far.
My problem is that not always i have the same amount of people signing, so my word gets populated with signatures not needed.
I was trying to write an IF formula
if(empty(triggerBody()['Doc_nomSupervisor']),null,outputs('firma_supervisor')?['body'])
What I tried to say is that if the Name of the Supervisor is empty (comes empty from PowerApps), don't show me any image. But, if there is a name, bring the image from SP List.
Even though the formula is accepted from powerautomate, when I run it, it fails

Can you help me figure it out, please?
Thank you!!