How to Use Power Automate Send an Email (V2) Action?

If you are new to Power Automate, you should learn about the Power Automate send an email (V2) flow action, which is very important to all Power Platform developers.

In this tutorial, I have explained how to use Power Automate Send an email (V2) action, how to format the Send an email in flow, and more topics below:

  • How to use Send an email (V2) action to send notifications to multiple recipients
  • Working with Power Automate Send an email (V2) hyperlink

Send an Email (V2) in Power Automate

In Power Automate, we can use the send an email (V2) action to send email notifications to users. Through the Send an email(V2) flow action, a user can send emails from web-based applications like Outlook.

How to Use Power Automate Send an email (V2) [Using SharePoint]

I will explain using a SharePoint list to use the ‘Send an email (V2) flow action in Power Automate.

Here, we will create an ‘Automated cloud flow,’ i.e., when an item is created in the SharePoint list, it will notify the person we specify in the email.

For this, I have created a SharePoint list named ‘Course Enrollment’ with different types of columns like :

Column Name Data Type
Enrollment CourseIt is a Single line of text – Title Column
Full NameSingle line of text
Date of EnrollingDate and time Column
Course DeliveryChoice Column
Course ManagerA person or Group Column
How to use Power Automate - Send an email(V2) flow action

Now, we will see how to achieve this example that is mentioned above by creating a flow.

  • Sign in to your Power Automate using Microsoft credentials.
  • Click on + Create -> Select Automated Cloud flow on the Power Automate page.
Configure unique document ids for SharePoint 2016 document library
  • Next, provide the below details:
    • Flow name: Enter a name for the flow.
    • Select the trigger ‘When an item is created -> Click on Create.
Power Automate 'send an Email (V2)
  • In the flow studio, select the Site Address and List Name from the drop-down.
Send an Email (V2) example of Power Automate
  • Next, select Send an email(V2) flow action of the Office 365 Outlook connector under Actions in Choose an operation.
Send an Email (V2) Action of Power Automate
  • Now, send an email(V2)) flow action has been added to the flow studio as shown image below.
Power Automate Send and email(V2) flow action

Power Automate Send an email (v2) Formatting

Here are a few formatting options for sending an email (v2) flow action in Power Automate.

To: Specify an email address to whom the email should be sent. A user can provide a person’s email address by entering it manually. It can also be removed from the dynamic, as shown below.

From dynamic mode: Click on Switch to Advanced Mode -> Select Add a dynamic value icon -> Choose email address under dynamic content.

In the ‘To’ section, I have provided the email address as ‘Course Manager Email’ from dynamic content.

power automate send an email v2 formatting
power automate send an email v2 dynamic content
power automate send an email v2 formatting

Subject: In this, we have to specify the subject of the mail to which it will be related. The subject is more like a ‘Title’ to the email where it defines the email’s purpose.

In the subject, we can also add dynamic values that will be retrieved from the SharePoint list.

Power Automate 'Send an email(V2)' flow action

Body: It represents detailed information displayed in the user’s email. The SharePoint list column information can be retrieved from the dynamic content values in the body parameter, or it can also be entered manually.

Here, I took some values from dynamic and manual content. In the same way, take dynamic values as mentioned above.

power automate send an email v2
Hello @{triggerOutputs()?['body/CourseManager/DisplayName']},
Hope you are doing well!
This email regarding a new enrollment to the @{triggerOutputs()?['body/Title']} course.
Below are some of the details about enrollment:

Full Name - @{triggerOutputs()?['body/FullName']}
Date of Enrolling - @{triggerOutputs()?['body/DateofEnrolling']}
Course Delivery -  @{triggerOutputs()?['body/CourseDelivery/Value']}

Thanks and Regards
Management Team

From (Send as): Here, a user can enter an email address on behalf of someone. In simple terms, it is a ‘Send as’ field. The recipient will receive an email from the email ID that we entered in the field From(send as).

CC: A user can send a copy of the email content to recipients where one recipient can see another. We can give email addresses through dynamic content.

BCC: The difference between CC and BCC is the recipients can’t see one another who has received the email.

Attachments: In this parameter, we can provide a link to the item and the Attachment name from the dynamic content.

Properties of Send an Email (V2) action in Power Automate
  • Once it is done, click on Save -> Click on the Test icon at the top right of the flow as shown in the screenshot below:
How to use Parameters of Send an email (V2)action of Power Automate
  • At this point, add a new item to the SharePoint list. When the flow runs successfully, it will email the course manager with the course details.
  • The image below represents an email received with the details mentioned inside the flow.
Send an email(V2) - Power Automate Flow Action

This is all about the example of sending an email (V2) flow action and the parameters of sending an email(V2) in Power Automate.

Power Automate Send an email(V2) to Multiple Recipients

Here, I will explain how to send one email to multiple users by sending an email(v2) of Outlook inside a Power Automate flow.

Recently, I was working on a SharePoint list. The client required that we create a Power Automate flow to send an email to multiple recipients using a SharePoint list.

For that, I have created a SharePoint list named Course Enrollment with different columns, as presented in the table.

Column NameDatatype
Enrollment CourseIt is a single line of text – Title column
Full NameSingle line of text
Date of EnrollingDate and Time column
Course ManagerPerson or Group column
Course DeliveryChoice column
SharePoint developer training course

In this SharePoint list, ‘Course Manager’ is a person or group field, where I have enabled the toggle option of ‘Allow multiple selections’.

  • Click on column header -> Column settings -> Select Edit -> Click on More options -> Toggle Allow multiple selections.
How to send emails to multiple recipients from a SharePoint list

Follow the below-mentioned steps to create a Power Automate flow.

1. Navigate to https://make.powerautomate.com and click on +Create -> Select “Automated cloud flow” -> Provide flow name, choose a trigger ”When an item is created” -> Click on Create.

  • Site Address: Select a site name from the drop-down.
  • List Name: Choose a SharePoint list from the drop-down.
SharePoint Framework (SPFx) Training Course

2. Then, add an ‘Initialize variable’ flow action and set the details like Name and Type for a variable.

Power automate Send an email to multiple users with dynamic content

3. Next, add the ‘Append to string variable’ flow action and set the below details.

  • Name: Select the name from the drop-down.
  • Value: Take the value as an email from dynamic content. Add a semicolon after the dynamic content (;) as shown below.
@{items('Apply_to_each')?['Email']};
Power Automate flow to Send an email to multiple users

After selecting a value from dynamic content, Apply to each loop will be added automatically.

4. Finally, add a ‘Send an email(V2) flow action out of loop. Set the parameters as below:

  • To: Take the output of variables from the dynamic content as below.
  • Subject: Provide a ‘Title’ for the email.
  • Body: Enter a detailed description of the email here.
Power Automate Send one email to multiple addresses

5. Now, it’s time to save and test the flow. Click on Save. Test the flow Manually.

Power Automate Send one email to multiple addresses in a flow

6. At this point, add an item to the SharePoint list, taking multiple users in the person or group field.

Adding multiple addresses in the send an email(v2) flow action

7. If there are no errors, the flow runs successfully and sends an email to multiple users, as shown below.

Power Automate Sending an email to multiple people
Power Automate send email to multiple values of people picker field in SharePoint
Adding multiple users in send an email (v2) of Power Automate

This is how to send emails to multiple recipients from the SharePoint list people picker column using a Power Automate flow.

Power Automate Send an email (V2) hyperlink

Now, I will show you how to add a hyperlink with LinktoItem to the body of an email sent using Send an email(v2) inside a Power Automate flow.

I will connect the SharePoint list below, ‘Course Enrollment’, which has different columns, to the Power Automate flow.

Add a Link to item in Power Automate send an email(v2) flow action

A SharePoint list with different columns and datatypes:

Column NameDatatype
Enrollment CourseIt is a single line of text – Title column
Full NameSingle line of text
Date of EnrollingDate and Time column
Course ManagerPerson or Group column
Course DeliveryChoice column

Follow the steps below to add a ‘Link to item’ in the body parameter of an Outlook email in Power Automate.

1. Create a Power Automate ‘Automated cloud flow’, ‘Instant cloud flow’, or ‘Scheduled cloud flow’. I have created an Automated cloud flow.

  • Open a Power Automate home page, click on +Create -> Select “Automated cloud flow” -> Provide flow name, choose a trigger ” When an item is created ” -> Click on Create. Add Site Address and List Name.
How to add Hyperlink in Send an email(V2) Power Automate

2. In the next step, add the ‘Send an email(V2) flow action and set the below parameters like To, Subject, and Body.

To: @{triggerOutputs()?['body/CourseManager/Email']}
Subject: New Enrollment for Course on '@{triggerOutputs()?['body/Title']}'.
Body: Hello @{triggerOutputs()?['body/CourseManager/DisplayName']},
Hope you are doing well!
This email regarding a new enrollment to the @{triggerOutputs()?['body/Title']} course.

Below are some of the details about enrollment:
Full Name - @{triggerOutputs()?['body/FullName']}
Date of Enrolling - @{triggerOutputs()?['body/DateofEnrolling']}
Course Delivery -  @{triggerOutputs()?['body/CourseDelivery/Value']}
Thanks and Regards
Course Management Team
Add hyperlink in send an email(v2) flow

3. In the Body section, Click on the Code View icon.

Send Email V2 hyperlink with Link to item

Now, I will add an item link in the email body so that whenever a user clicks on the clickable link, it will navigate to the created item and display all the information regarding the created item.

4. To add hyperlinks to an email’s body, place the code below. Select the Linktoitem from the dynamic content.

To view details of the course:  <a href='@{triggerOutputs()?['body/{Link}']}'>Click Here</a>

Replace the ‘Linktoitem’ in between the single quotation with your link. You can also replace the ‘Click Here’ text with whatever you would like to put as a clickable link.

How to create a hyperlink in Send email(V2) of Power Automate flow

5. Now, It’s time to save and test the flow. Click on Save and Test it Manually.

Power Automate flow add a hyperlink in email v2

6. The below-displayed image shows the email received with the (Click Here) link.

Adding links to send an email(v2) Power Automate

7. When a user clicks on that link, it will show the item’s details as below.

Power Automate how to add a hyperlinks in Send an email V2

This is how to add a dynamic link to the email body of a Send an email(V2) flow action of Power Automate.

Conclusion

I hope you got an idea of Power Automate sending an email (V2) flow action and the parameters of sending an email(V2). I have also covered the following:

  • Power Automate Send an email (V2) action formatting
  • Send an email (V2) action to send notifications to multiple recipients
  • Working with Power Automate Send an email (V2) hyperlink

You may also like:

>

Build a High-Performance Project Management Site in SharePoint Online

User registration Power Apps canvas app

DOWNLOAD USER REGISTRATION POWER APPS CANVAS APP

Download a fully functional Power Apps Canvas App (with Power Automate): User Registration App

Power Platform Tutorial FREE PDF Download

FREE Power Platform Tutorial PDF

Download 135 Pages FREE PDF on Microsoft Power Platform Tutorial. Learn Now…