Power Apps - Send an email with Power Apps and Outlook Tutorial

Unlock the power of low-code with our video, "Send an Email with Power Apps and Outlook." Learn how to effortlessly automate personalized emails using the Office 365 Outlook connector, perfect for professional settings. Discover the step-by-step process to connect, create an interface, and send emails seamlessly. Harness advanced automation today!

  • 05:08
  • 0 views
00:00:04
you will learn how to automatically send
00:00:06
a personalized email from a Power App's application
00:00:09
using the Outlook connector,
00:00:11
all without any external code.
00:00:14
The first step is to connect your Power App's application
00:00:17
to the Microsoft messaging service.
00:00:20
To do this,
00:00:21
open the data menu and click on Add Data Source.
00:00:25
Once the window appears,
00:00:26
simply type Outlook in the search field.
00:00:29
You will then see two different connectors.
00:00:31
The first one called Outlook.com,
00:00:34
is intended for personal accounts such as those using Hotmail.com,
00:00:39
Outlook.com,
00:00:41
or Live.com addresses.
00:00:43
It works,
00:00:44
but it is less suitable for professional use and may be deprecated in the future.
00:00:50
The second one titled Office 365 Outlook
00:00:54
is the one to prioritize.
00:00:56
It is designed for professional and educational environments,
00:01:00
that is,
00:01:00
accounts linked to Microsoft 365.
00:01:04
This is the connector we will use because it is fully supported
00:01:07
in power apps to send emails in a secure and seamless way.
00:01:12
Once the Outlook connector is connected,
00:01:14
you can proceed to create the interface.
00:01:17
The objective here is to allow the user to input 3 essential pieces of information,
00:01:22
the recipient's email address,
00:01:24
the subject of the message,
00:01:26
and the body of the message.
00:01:29
Start by inserting a simple text input field
00:01:32
and rename it to text input.
00:01:35
This field will be used to enter the recipient's email address,
00:01:39
then copy this field to create a second text
00:01:42
input field intended for the subject of the email.
00:01:46
Rename it subject text.
00:01:50
Finally create a third field,
00:01:52
this time multi-line,
00:01:54
to enter the body of the message.
00:01:56
This field will be renamed body text.
00:02:01
To finalize the interface,
00:02:02
insert a button
00:02:03
and change its text to send.
00:02:08
You can also rename it to send button to
00:02:11
identify it more easily in the upcoming formula.
00:02:14
This button will be used to trigger the email sending.
00:02:19
With the interface ready,
00:02:20
now select the send button.
00:02:22
Then go to the on select property.
00:02:24
This is where you will insert the formula that will send the email.
00:02:28
The basic formula is as follows.
00:02:32
Let's take the time to understand this formula.
00:02:35
First,
00:02:36
Office 365 Outlook Send Email V2
00:02:40
is the name of the action provided by the Outlook connector.
00:02:43
The keyword send Email V2 means send an email version 2.
00:02:49
This is the most recent and complete version of this action.
00:02:53
Then this function takes 3 arguments.
00:02:55
The first argument is text input.text,
00:02:59
which corresponds to the content entered in the recipient field.
00:03:02
The text part allows retrieving the text type by the user.
00:03:06
The second argument,
00:03:08
subject text.text,
00:03:10
retrieves the subject entered in the 2nd text field.
00:03:15
The third argument,
00:03:16
body text.
00:03:17
HML texts,
00:03:18
retrieves the message body entered in the multi-line field.
00:03:22
These 3 pieces of information are sufficient to send a simple email.
00:03:27
If you want to add a copy to another address,
00:03:30
you can enhance the formula by adding an object between curly braces
00:03:34
with a CC parameter.
00:03:36
Here is an example.
00:03:38
This 4th parameter is optional.
00:03:41
It allows sending a copy of the email to another address.
00:03:45
Here,
00:03:46
example at email.com.
00:03:48
You can also add other options within the same block,
00:03:52
such as BCC importance,
00:03:55
priority,
00:03:56
or even attachments.
00:03:58
However,
00:03:59
for this tutorial,
00:04:00
we will focus only on the essential elements.
00:04:05
It is time to test your application.
00:04:07
Click on the preview button to launch the application in test mode.
00:04:11
In the recipient field,
00:04:13
enter a valid email address.
00:04:15
In the subject field,
00:04:16
type in a short text,
00:04:18
for example,
00:04:19
test email,
00:04:20
and in the message field,
00:04:22
enter any content.
00:04:24
Once the fields are filled in,
00:04:26
click on the send button.
00:04:28
Power Apps then uses the Outlook connector to send the email.
00:04:33
Open your inbox to verify.
00:04:35
You should see an email appear with the subject and content you entered.
00:04:39
If you provided a CC field,
00:04:42
the copy will also have been sent to the indicated address.
00:04:45
You have just created a Power Apps application capable
00:04:48
of sending a personalized email using the Office 365
00:04:52
Outlook connector.
00:04:54
Although simple to implement,
00:04:55
this functionality is extremely powerful.
00:04:58
It allows you to add automatic notifications,
00:05:01
read receipts,
00:05:02
or even reports sent by email to your applications.

No elements match your search in this video....
Do another search or back to content !

 

Mandarine AI: WHAT YOU SHOULD KNOW

Reminder

Show