cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
IMAX99
Helper I
Helper I

email a selected user

I know this should be possible but cannot find it anywhere.

I have a flow which is trigered by a user in SharePoint and sends out a couple of emails, nothing speacial about the emails.

Within the flow I would like to have the user who triggered the email be able to select a user and the flow email the selected user (I can't rely on user's manager as this is not always aprop).

1 ACCEPTED SOLUTION

Accepted Solutions
IMAX99
Helper I
Helper I

I found the solution I was looking for by accident. It's not obvious so I though I'd add some screens.

selected item', just under the advanced options is 'Add an input' and from here I was able to select the email option and a message to the user. When the user starts the flow they are promted for an email address and this can be used later in the flow to direct emails to the selected recipient.

Using 'For Flow selected item -1.PNGFlow selected item -2.PNG

@RobElliott  @v-yamao-msft  Thanks for your replies.

 

View solution in original post

7 REPLIES 7
RobElliott
Super User
Super User

Hi @IMAX99 as the user is starting this from SharePoint, the way I would probably do this is to have a custom SharePoint form in PowerApps where the user can select the recipient of the email. If the recipients are all within your organization then the user could start to type the recipient's name and it would come up from Delve. If the recipients are are external or a mixture then you'd need a separate list to lookup against. Then on submitting the form that would trigger the flow and send the email to the selected recipient. Get back to me if you need more detail.

Rob
Los Gallardos

Hi @RobElliott that sounds like a possible solution although I'm not sure if I'll be able to use it for two reasons...

Firstly, my flow is to resolve a document control issue, so the flow is running on a selected document, emailing out to a few users and copying the document to another library.

The other issue I might have is that our IS dept have yet to clarify if as an organisation we'll be able to use PowerApps or if it'll be locked down (very frustrating).

I'm really surprised there's not a way to handle this in Flow as I seem to recall seeing something similar in the standard approvals flow whereby a user can select another Office 365 user to send the email to. BTW, they're only ever going to be internal contacts.

RobElliott
Super User
Super User

An approval can be re-assigned but that is specific to approvals. I don't know of a way to select a recipient within Flow itself when the flow starts. What you could do is to have a column in your SharePoint list for the recipient that the user either types the email address in or selects it from a list and then you use that column in the To box in the flow.

Rob
Los Gallardos

Nice Solution it Helpful Thanks Ceo Talkbaze

Hi @IMAX99 ,

 

From your description, it seems that your flow is triggered by For a selected file.

 

If you want the user who triggers the flow to be able to select a user, please consider adding a Person or group column in the library so that the user could select the user and send an email to the selected user from the library.

 

The flow could be configured likes below.

2.PNG

 

Best regards,

Mabel

 

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

I suppose that's a possible way of handling it. This would involve having a list of users to populate the column and said list would obviously need to be maintained as staff left/joined. I was hoping for something a little slicker and less onerous but you're right, I could go with this.

IMAX99
Helper I
Helper I

I found the solution I was looking for by accident. It's not obvious so I though I'd add some screens.

selected item', just under the advanced options is 'Add an input' and from here I was able to select the email option and a message to the user. When the user starts the flow they are promted for an email address and this can be used later in the flow to direct emails to the selected recipient.

Using 'For Flow selected item -1.PNGFlow selected item -2.PNG

@RobElliott  @v-yamao-msft  Thanks for your replies.

 

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (58,984)