Power Apps:
- A form with pen input.
PenInput.Update: PenVar
Set( PenVar, JSON( PenInput1.Image,JSONFormat.IncludeBinaryData ) );
F12AcknowledgementLetterTriggerFlow.Run();
Power Automate:

Signature Expression: base64ToBinary(triggerBody()['PopulateaMicrosoftWordtemplate_Signature'])
Error: Action 'Populate_a_Microsoft_Word_template' failed
Error Details: Unable to process template language expressions in action 'Populate_a_Microsoft_Word_template' inputs at line '0' and column '0': 'The template language expression 'base64ToBinary(triggerBody()['PopulateaMicrosoftWordtemplate_Signature'])' cannot be evaluated because property 'PopulateaMicrosoftWordtemplate_Signature' cannot be selected. Please see https://aka.ms/logicexpressions for usage details.'.
I need to include image in a Word template. But, I keep on having the same error also for another expression in Signature:
dataUriToBinary(triggerBody()['PopulateaMicrosoftWordtemplate_Signature'])
replace(triggerBody()['PopulateaMicrosoftWordtemplate_Signature'], '""', '')
Or, if I add a substitute formula in flow run functions, like this:
F12AcknowledgementLetterTriggerFlow.Run(Substitute(JSON(PenInput1.Image, JSONFormat.IncludeBinaryData), """", ""));
got an error: Invalid number of arguments: Received 1, Expected 0.
Please help me on this, thank you!