Hi Bacao,
I thought that Get ID field would work with the File Name - in theory at least.
Basically, I want a flow to trigger to:
- Trigger when a new File is created
- Send the File as Attachment on an Email to the creator
That's the quickiest summary.
But, the whole process isn't that simple.. :
- User submits a PowerApps Form
- The data is stored in Item List on SharePoint
- A MS Flow triggers when a new item is created on the list, it pulls the data and puts it into a Word Doc and save it to a Document Library on SharePoint
- A different Flow triggers when a new File is created on the Document Library
- It'll get the File and send it as an Email attachment to the submitter
Now, since I'm the one that created all Flows, on Step 3, it'll reigster me as the one who created the file as the flow is runned by me. So, what I'm trying to do is Match the File Name with the Item List, get the email address of the submitter to send the email.
Also, I want to ensure that if two people submits the Form at the same time, it doesn't confuse which file to send to which user.
The reason why I don't use When a file is created(properties only) is because it doesn't come with File Content parameter that I need to send the doc