Power Automate send an email (v2) – How to use

If you are new to Power Automate, then you should know about the Power Automate send an email (v2) flow action. How to use the send an email (v2) flow action to send emails in Power Automate?

In this tutorial, I have explained, with an example, how we can use the send an email (v2) Power Automate flow action to send emails and also how we can customize the email body by using dynamic content.

Send an email (V2) flow action in Power Automate

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

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

Example: Here, we will create an ‘Automated cloud flow’, i.e., when an item is created in the SharePoint list, it will send an email notification to the person whom 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
Power Automate send an email (v2)

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

  • Sign in to your Power Automate through Microsoft credentials.
  • On the Power Automate page, Click on + Create -> Select Automated Cloud flow.
Send an Email (V2) action in Power Automate
  • 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 formatting
  • 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 you can do in the send an email (v2) flow action in Power Automate.

To: Specify an email address to whom the email should be sent. A user can provide the email address of a person by entering manually. It can also be taken out 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

If you want to send an email to multiple recipients, check out Power Automate send an email v2 to multiple recipients.

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. In the body parameter, the SharePoint list column information can be retrieved from the dynamic content values, or else it can also be entered manually.

Here, I was taking some values in dynamic content along with 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 take the email address on behalf of someone. In simple terms, we can say it is a ‘Send as’ field. The recipient will get an email from the email ID that we have 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 along with the Attachment name from the dynamic content.

power automate send an email (v2 dynamic content)
  • 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:
power automate send an email v2 hyperlink
  • 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.
Power Automate send an email (v2)

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 to you how to send one email to multiple users by using send an email(v2) of Outlook inside a Power Automate flow.

Recently, I was working on a SharePoint list, where we got a requirement from the client side to 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
How to send emails to multiple recipients from a SharePoint

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.
Send an email to multiple recipients from the flow with Power Automate

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 in the email body of Send an email(v2) inside a Power Automate flow.

I will connect the below SharePoint list ‘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

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

1. Create a Power Automate ‘Automated cloud flow’ or ‘Instant cloud flow’ or a ‘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 in the body of an email, place the below code. 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 details of that item 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:

  • How to format the body of a Power Automate Send an email (V2) using dynamic content.
  • How to use the people picker column from a SharePoint list to send the email through dynamic content.

You may also like: