I am currently building a power app to upload receipts for a company credit card into a teams folder. Here are my wishes for the app
1. Each employee has their own folder - is there a way to choose which folder the attachment goes to?
2. I have figured out the patch function for everything BUT the attachment.
3. I also wrote a power automate function that WILL do everything I need, including renaming the file into the correct format.
4. I am not sure if there's a way to use the power automate function with the data from the fields in the app.
Here's what I have so far:

With the patch function on the button
Patch(PCardFolder, Defaults(PCardFolder)
{ Title:"Default",
Employee_Name:EmNameInput.Text,
Vendor:VendorNameInput.Text,
Purchase_Date:Value(DatePicker1.SelectedDate),
Purchase_Amount:Value(PurchaseAmountInput.Text),
Attachment:Value(FileAttachment.updates)
}
);
PcardFolder.run
Reset(EmNameInput);
Reset(VendorNameInput);
Reset(PurchaseAmountInput);
Reset(DatePicker1);
Reset(FileAttachment);
Navigate(Confirm)
and here's what I have for the power automate.

I know I am close - I just need to make it work together.