Question

I have created a Sharepoint List with a button that triggers Flow.

enter image description here

In this Flow I want to send an email to the person from the column "Zapůjčeno - zo...". The name in this column is the user name of the MS Sharepoint user.

How to solve this? For this example, the username is "Frantisek Dolejsi / IAB" and the email is "frantisek.dolejsi@o****.com

Was it helpful?

Solution

Here is what you can do:

  1. Create a Microsoft flow with trigger set to For a selected item.
  2. Add Send Email action to your flow.
  3. Set To field of email action to your list item field which contains the email address of user. If email address is not directly stored in list then you can fetch it using some action in Office 365 User connector.
  4. Run the flow from list view using column formatting (as you are already doing).

Only catch here is to get the email address of user and it depends on how you store it in your SharePoint list.

If you have stored it in Person or Group column then you can using dynamic content in flow where you will find email address of corresponding field.

Check below references for more information:

  1. Trigger MS Flow On SharePoint List Items Based On Column Formatting
  2. Extracting email address field from Person object
  3. Microsoft Flow - Can it send to email to people included in the Lists Email column for that specific entry?
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top