HI
I need to send the image from power app form to power automate flow to create a file in onedrive
The parameters I passed in the flow for run are :
If(
varformmode3 = FormMode.New,
Set(
varImage8,
JSON(
Image2.Image,
JSONFormat.IncludeBinaryData
)
)
);
Set(
TEST_FLOW.Run(Form1.LastSubmit.ID, varImage8)
);
Notify("Your submission has been received.");
NewForm(Form1);
Navigate(
'SAP Thank You')
THE FLOW IS WORKING IN THE FOLLOWING WAY

But the file is not getting saved as an Image in Onedrive , It is getting saved in the following way


Could anyone please help me to save these image in Onedrive
I even tried these :
base64ToBinary(triggerBody()?['file']?['contentBytes']) but showing an error
Any help on this would be much appreciated