cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

File Upload for Forms

Hi, I am able to attach a file to the forms but how do I make the flow to automatically send the file to my other members? As the file will be stored in my OneDrive folder. I need the file to be attached together with my Start and wait for an approval email

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @Anonymous ,

 

I have answered your problem in your another post.

 

Please modify the Value in the "Append to array variable" action as my screenshot below:

1.png

 

{
"content":@{body('Get_file_content_using_path')?['$content']},
"name":@{items('Apply_to_each')?['Name']}
}

 

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

13 REPLIES 13
abm
Super User
Super User

Hi @Anonymous 

 

Please see my blog

 

https://mydevexperience.wordpress.com/2019/09/08/microsoft-flow-onedrive-send-all-files-as-attachment-by-email/

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
manuelstgomes
Community Champion
Community Champion

Hi @Anonymous 

 

I would recommend you sending an shared link to the file so that everyone can access. No need to send the full file.

 

To do this just do the following:

 

Create the share link

small-Screenshot_2019-12-09_at_09_23_10.jpgsmall-Screenshot_2019-12-09_at_09_23_19.jpg

 

Put the link in the Approval

small-Screenshot_2019-12-09_at_09_25_24.jpg

 

Makes sense?

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Cheers
Manuel

Anonymous
Not applicable

 

Hi @Anonymous ,

 

You shouldn't add the File Content dynamic content directly as the value of ContentBytes.

Please refer to my screenshot below:

1.png

The expression for the ContentBytes in the Array should as below:

body('Get_file_content_using_path')?['$content']

 

And your expression for "Get file content using path 2" action should as below:

body('Get_file_content_using_path_2')?['$content']

 

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Hi @v-alzhan-msft 

 

Flow still failed

Hi @Anonymous ,

 

If the flow is failed, please share the screenshot of the run history of the flow and please check if you have any wrong in the flow.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

 
Anonymous
Not applicable

 

Hi @Anonymous ,

 

Could you please share a screenshot of your current flow?

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

 

Hi @Anonymous ,

 

I have answered your problem in your another post.

 

Please modify the Value in the "Append to array variable" action as my screenshot below:

1.png

 

{
"content":@{body('Get_file_content_using_path')?['$content']},
"name":@{items('Apply_to_each')?['Name']}
}

 

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

 

Hi @Anonymous ,

 

If your previous problem has been solved, please go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

And if you have another question, you could create a new post so we could better and quicker to deal the new problem.

 

Best regards,

Alice       

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (5,298)