cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

email an onedrive file that matches a Form field

Hi everyone, sry for my english. Actually im very exciting about learning the many process that I can automate with Power Automate.

 

Now im trying so hard to solve this problem:

 

I have a Form created. In this form there is a field named "Company's name". In the other hand, I've created a onedrive folder and there are many files. I am trying to retrieve the file that has the same name as the "Company's name" field and once the file is retrieved, then send the file attached by e-mail (outlook).

 

Is this possible?

 

Thanks in advance

2 REPLIES 2
Highlighted
Resolver I
Resolver I

Hey @JamesAR1988 

 

Think your problem has been asked before

 

https://powerusers.microsoft.com/t5/Building-Flows/Find-files-in-folder/td-p/113605

 

Basically, use the Find files in Folder action to do your search.

 

Next, take a look at this sample flow

 

https://unitedkingdom.flow.microsoft.com/en-us/galleries/public/templates/223e2fb0d67411e6bff5f31e79...

 

which shows a file in OneDrive via email

 

If my reply helped, consider marking it as answered. Thanks for your time in sharing your issues and helping the community

Highlighted

Hi LinkeD365, thanks for your answer.

 

I've tried these solutions but don't know how to connect both.

 

For example: Using this action: https://powerusers.microsoft.com/t5/Building-Flows/Find-files-in-folder/td-p/113605

I can find the file using as a query the response obtained from a specific field of my Form, but later... how can i recover the content of this file and send it by email? If hay use this trigger https://unitedkingdom.flow.microsoft.com/en-us/galleries/public/templates/223e2fb0d67411e6bff5f31e79... instead of an another action, my flow doesn't work (it appears a timeout message)

 

So, my question is.. How do i combine the Action (Find Files) and then the Trigger (When File is created) in order to achieve send the file by e-mail?

 

By the way, my very first Trigger (Microsoft Form type) is: "When a new response is submitted -> Get response details"

 

Thanks in advance!!!  

 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Kudoed Authors
Users online (8,043)