Hi all,
I need to pass a simple file from Power Apps to Power Automate, to send it in an email (for using a special sender account)
I have, the form (linked to dataverse table)
I have the call to the flow, the last parameters is the file attached (name and contentbytes)
InventoryMailRFQ.Run(
varRFOItem.RFQID,
varRFOItem.RFQNumber,
varVendor,
LookUp(Inventory_RequestForQuote_Types, Name= DataCardValue107.Selected.Name).Vendor.Email,
"NO_REFERENCE" ,
If(!IsBlank(frmRFQ.LastSubmit.CommentsVendor), frmRFQ.LastSubmit.CommentsVendor, " " ),
{
name: First(DataCardValue255.Attachments).Name,
contentBytes: First(DataCardValue255.Attachments).Value
}
);
And the flow:
How I get errors when I try to complete the Attachments section of the email, I just try to send the name of the file, and this value is empty:
triggerBody()?['file']?['name']
I did not save the form before trigger the flow.
If I test manually the flow, the name of the file works.
Any idea about it?
Thanks in advance.