cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wiredupjax
Level: Powered On

Email a file using flow - prompt for email?

USE CASE: I am using Sharepoint to store our client's contracts. They will often want a copy email to the later. We do not store their email address on files.

 

SOLUTION: implement a FLOW by selecting the file, choosing the FLOW button drop down and executing the "Send Client Contract" flow.  

 

QUESTION: how do I prompt the end user to enter the email address for the recipient?

Thanks, Jason

1 ACCEPTED SOLUTION

Accepted Solutions
Super User
Super User

Re: Email a file using flow - prompt for email?

@wiredupjax:

 

It sounds as though you want to use a For A Selected Item trigger. 

To add a user prompt, click on "Add Input" on the For a Selected Item action.

Add a Text input and not an email.  If you select email, only users within your organization will validate.

The default prompt for a text input is Input but you can rename.

Reference the Input as the email address (select it from Dynamic properties).

 

See my example below.

 

EmailPrompt.jpg

 

If this soves your issue, please mark your question as solved.

 

If not, please provide additional detail as to why this solution will not work for you.

 

Scott

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

Scott

View solution in original post

6 REPLIES 6
Super User
Super User

Re: Email a file using flow - prompt for email?

@wiredupjax:

 

It sounds as though you want to use a For A Selected Item trigger. 

To add a user prompt, click on "Add Input" on the For a Selected Item action.

Add a Text input and not an email.  If you select email, only users within your organization will validate.

The default prompt for a text input is Input but you can rename.

Reference the Input as the email address (select it from Dynamic properties).

 

See my example below.

 

EmailPrompt.jpg

 

If this soves your issue, please mark your question as solved.

 

If not, please provide additional detail as to why this solution will not work for you.

 

Scott

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

Scott

View solution in original post

wiredup
Level: Powered On

Re: Email a file using flow - prompt for email?

This works; however when I try to attach a file, I'm not seeing the usual metadata, content, etc.  Can you tell me how to pull that data in? Sharepoint - Get File Metadata w/ ID maybe?

Community Support Team
Community Support Team

Re: Email a file using flow - prompt for email?

Hi @wiredup,

 

Do you want to attach the items attachment in the send an email action?

 

If you want to attach the items attachment in the send an email action, you could refer to screenshot below to create the flow:

Capture.PNG

 

Best regards,

Alice

wiredupjax
Level: Powered On

Re: Email a file using flow - prompt for email?

I figured it out -- I was confused because SMTP connector asks for different kinds of attachment fields. I played with it until I got it to work.

 

Thank you!

 


screenshot.pngUsing external SMTP

Anonymous
Not applicable

Re: Email a file using flow - prompt for email?

I'm not seeing "For Selected Item" as a SharePoint trigger inf Flow, has it been removed? See screen shot of flow trigger iptions below...

 

Capture.JPG

abracken
Level: Powered On

Re: Email a file using flow - prompt for email?

You just answered a question I've been working on for days now--thanks so much!

 

I am someone who doesn't have development/programming/code knowledge, and it can take forever to figure out what questions to ask, let alone figure out the solution. This is so very much appreciated.

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,352)