hello folks welcome back in today's video i will show you
how you can add images to the email you are sending via power automated
workflows stay tuned and let's jump into the video
after this short intro
i'm on one of the sharepoint site i have an image here 365 image if i click on
that image you can see the preview of the image
this is the image i want to send in the email body from office 365
portal i'll click on the ellipsis and click power automate
from the left hand menu i will click on create for the demo purpose i'm just
creating an instant workflow so i can trigger it manually i will name
it include images in email and the trigger i will select manually trigger
flow and click create so the first step i
need to add is i need to get the file content the image file content so i can
include that in my email so i will click on next step i will
select get file content using path action of
sharepoint now i need to provide a site address
here we know it's the training site and then i will select the file path to
365 image i've showed you earlier on i'll
click on this folder and select site asset now there is a
image 365 image this is the image i want to send in the email so i will select
that image this step is done next i need to
initialize the variable i will click initialize variable action
i will give this variable a name called image tag and it's a string and the
value i'm going to put this value inside the
value of the variable i will put this code in the
description below so you can grab it from there so i will copy this one
and paste the value here now here i want to add an expression
just before the double quote and after the comma i will come into expression
window click on expression and i will type dot dollar content and
then i will move my cursor just before the dot and
then from the dynamic content i will select the file content so this will
give me output get file content using path body and
then dot content i will click ok now this is added here this step is done
the next step is to send an email i'll search for send an email notification
action i will select that for the demo purpose i will just send it to myself
subject i'll just call it subject in the body i can just use this image tag
directly or if you want to embed it inside an html code you can click on the
code view and embed the image here as well i will
go back to the normal view and just add this image tag
click save now the email notification action is completed
i will quickly test this workflow click on
test i will perform the trigger action test run flow
done now if i navigate to my email look like
the workflow is completed if i go back to my email image test
is there and if i click on show blocked content i will see the image
here this is the web browser i'm using now
i had to enable this blocking me because i'm using this web browser
now if i'm using my normal outlook let me change the email address so i have a
different email address which i'm using on my outlook desktop
application so i'll select this different email
address and click save and now let me test this application
test i will perform the action run flow done so the look live close
completed and i have received an email now you can
see the image is already there so i don't have
to unblock the image it is already there just to wrap up this
video today you have learned how easily you can embed images inside
the email notification you are sending via the power automate workflows
consider subscribing if you're new to the
channel give this video a thumbs up if you found it useful
if you have any question related to power automate or anything related to
office 365 in general post in the comment section below i
review my comment on daily basis i will be happy to answer thank you