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

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
Level: Powered On

Re: email a selected user

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

Re: email a selected 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

IMAX99
Level: Powered On

Re: email a selected user

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.

Super User
Super User

Re: email a selected 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

Downloadhq
Level: Powered On

Re: email a selected user

Nice Solution it Helpful Thanks Ceo Talkbaze

Community Support Team
Community Support Team

Re: email a selected user

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.
IMAX99
Level: Powered On

Re: email a selected user

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
Level: Powered On

Re: email a selected user

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
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 Kudoed Authors (Last 30 Days)
Users online (3,765)