cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

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
Highlighted
Super User III
Super User III

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
Highlighted
Super User III
Super User III

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

Highlighted
Frequent Visitor

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?

Highlighted
Community Support
Community Support

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

Highlighted
Helper III
Helper III

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!

 


Using external SMTPUsing external SMTP

Highlighted
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

Highlighted
Frequent Visitor

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
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (3,961)