No video

How to add image to email in Power Automate "Send an email (V2)"

  Рет қаралды 38,913

Alireza Aliabadi

Alireza Aliabadi

Күн бұрын

Пікірлер: 89
@AlirezaAliabadi
@AlirezaAliabadi 2 жыл бұрын
In this video I store image directly inside Flow. There are a few videos on KZfaq that show you how to add image to Power Automate e-mail, but all of them ask you to upload your image to SharePoint, OneDrive or some other storage. Let me know what you think 🙂
@iyengar007
@iyengar007 2 жыл бұрын
You Sir, God send. Congrats on the 8K subscribers. Thank you for the code. You are kind to share it with fans. And Sir, the session was as good as "A sip of tea and biscuits while watching the rain with smell of wet soil". All to my liking.
@AlirezaAliabadi
@AlirezaAliabadi 2 жыл бұрын
@@iyengar007 oh my god 🙏 this comment has nice touch of poetry 😊 Thank you. I am glad you liked it.
@DadBiker13
@DadBiker13 2 жыл бұрын
Thank you for the video Ali ! I use power automate on my work laptop where I share a lot of images on the body of the email. I have the images saved in one drive and I have successfully been able to send it via power automate. Just a small difficulty that I face, I don’t know how to centre align the image. All the images I have been able to send are left aligned. Please let me know if there is anything that I can do.
@ECHohem
@ECHohem 10 ай бұрын
Despues de muchos videos de youtube intentando poner una imagen en el cuerpo apuntando desde una web o onedrive. Al fin pude llegar a este video con la solucion definitiva. Muchas gracias Alireza!! After many KZfaq videos trying to put an image on the body pointing from a website or OneDrive. I was finally able to get to this video with the definitive solution. Thank you very much Alireza!!
@MikeR-tz7oy
@MikeR-tz7oy 7 ай бұрын
Thank you Alireza. This method is extremely useful if you cannot use a saved image (due to limited access) and cannot create a multi-part message (not possible via Send an email (V2)).
@Argentinian
@Argentinian Ай бұрын
Great work, thanks!
@sambaker81
@sambaker81 2 ай бұрын
Thanks so much! I don't HTML at all and was able to follow along and implement in my own flow.
@anthonyleduc
@anthonyleduc Жыл бұрын
Wow. Very simple and brilliant
@laszlogyor6628
@laszlogyor6628 2 ай бұрын
Great tutorial. Thank you.👍
@justerick_9
@justerick_9 Жыл бұрын
i am seeing it when you already have 12.6 K subscribers... growing more...good luck :)
@victoraguiar1660
@victoraguiar1660 Жыл бұрын
Thanks a lot for sharing this. Believe it or not, this is the third time doing it and I never get it and have to come back to your videos.
@ivanm.9748
@ivanm.9748 Жыл бұрын
Thank you so much! That helped me a lot! Greetings from Brazil
@pierocardenasbenites8930
@pierocardenasbenites8930 5 ай бұрын
love you Alireza, thank you so much
@Worrelpa
@Worrelpa 2 жыл бұрын
Hi Alireza, great info. Just sharing some of my experience with constructing email with Powerautomate Email and images are so tricky. The base64 encoded image options never worked for me with outlook desktop. Works fine with outlook for the web and other web. Asked email clients such as gmail. Hoping Microsoft work this out with the new outlook one they are working on to get it to web standards. Only reliable way I have found is hosting the images in a publicly available site like the company internet site. As for the emailV2 action it has so many bugs in it. What I ended up doing was constructing the html with a free online editor. Then dropping it into a compose action. Which can be useful for repetitive sections of emails like signature, legal disclaimers and image branding. The output I just drop into the send email V2 action. It just works that way no strange issues when that action switches between its rich text editor and html mode. One of the worst parts about this is that you cannot just create a signature or template in outlook online and have Powerautomate use that every time when sending you emails. That would be so much easier. Thanks again.
@AlirezaAliabadi
@AlirezaAliabadi 2 жыл бұрын
I am sure you noticed I never switched out of code view in email body 😉 The text editor has lots of issues in Power Automate UI, but I noticed we can minimize the issues by putting HTML elements in variables and minimizing the complexity of tags in the email body. To be honest, I tried to shy away from Send an email (V2) bugs and workarounds. That can be a separate video by itself and I should probably do that. Typically Microsoft reacts quickly when we public shame their imperfections in a KZfaq video 🤣 I have one of those for next week, but not on sending e-mail.
@mkavo
@mkavo 2 жыл бұрын
Hi Phil - I have same issue with the image not rendering in Desktop Outlook but fine in Web, I have tried Alireza's way and other youtube video ways but still not working. Do you know of a video that may help me fix? Cheers!
@Worrelpa
@Worrelpa 2 жыл бұрын
@@mkavo only way I could do it was host the images on the internet. Then link to them from there. That works in all. You still have to press the download button to view them in the desktop client but it works.. Eventually the outlook desktop client will be replaced with a web compatible one. Called outlook One It is a work in progress. Though I wouldn't expect to see it being mainstream for a few years. As the current version of it has numerous limitations. Though it is only on preview.
@mkavo
@mkavo 2 жыл бұрын
@@Worrelpa One way I tried was have the image in Site Assets folder in the SharePoint site and use Get file action, then Compose with a dataUri function then put this in Concat() in a variable to put in the email! , Doesn't work !! Am i using the right functions?!
@Worrelpa
@Worrelpa 2 жыл бұрын
@@mkavo the files need to be in a location with anonymous access. So no security Infront of the files or login promos so an anonymous link from SharePoint for each file should work
@RaviShankar-ou1ly
@RaviShankar-ou1ly Жыл бұрын
Awesome Alireza ! your video is very helpful. Thank you!!
@clacby
@clacby 10 ай бұрын
Wonderful trick! Thanks so much
@akshaynm
@akshaynm Жыл бұрын
Hello Ali, I was wondering on how we can add image over an image using PowerAutomate. Best if you can teach that technique too. Many Thanks!!
@akshaynm
@akshaynm 2 жыл бұрын
I was looking for the same thing Ali!! 🙂 Thanks a ton... !!! 😊😊😊
@namayoki
@namayoki Жыл бұрын
Excellent! Thank you for sharing.
@user-dh8jh7zy1g
@user-dh8jh7zy1g 3 ай бұрын
Hello Ali, This is really awesome. I used the exact flow you mentioned in the video and encoded the image, then added it to the email body. However, the image is still not displaying in the email. Could you please help?
@user-su4tb6xu5l
@user-su4tb6xu5l Жыл бұрын
well noted! very easy to understand. thanx.
@MatthewLCarter
@MatthewLCarter 2 жыл бұрын
Thank you for this video Alireza, do you know (being greedy) if there is a way to have text overlay the CEO image? I have a request to make it like a postcard with the CEO saying "Great Job !"
@shevan613
@shevan613 Жыл бұрын
Works really well, thank you!
@ajlong404
@ajlong404 2 жыл бұрын
Very well done! Very well presented! Thank you!
@alakshminagasri3011
@alakshminagasri3011 2 жыл бұрын
Your videos are awesome👏, I am following your udemy courses also. Really very thanks for your videos.
@iamdeepshekhar
@iamdeepshekhar 5 ай бұрын
I came across this amazing video today. I also want to enroll to your Power Automate course, how can I avail this coupon?
@cosmincirnu1036
@cosmincirnu1036 Жыл бұрын
Hi, how can be resized in mail output at 50% for example? on my situation no matter what size i put in variable the picture is same on email. Thanks!
@ReginaldNdidi
@ReginaldNdidi 11 ай бұрын
Same issue here. I didnt need to use the method in the video to get the image to appear. I simply added the image in the html code the traditional way. However it comes up way too large in the email no matter what i do. Did you find a solution??
@alejandrovr2000
@alejandrovr2000 Жыл бұрын
Thanks it helped me a lot! :)
@pierrickdefossez3157
@pierrickdefossez3157 2 жыл бұрын
Very useful sir, thanks! I was wondering if the encoding process (jpg>txt) could be added to the flow? This way, no matter the picture you are targetting on a SP library or Onedrive, the flow would do the job for you. If you can encode a targetted file, then the variable you are using in the email would be the string coming from this embed encoding process.
@AlirezaAliabadi
@AlirezaAliabadi 2 жыл бұрын
When you use "get file content" or "Get Attachment" actions, the content that you get is already encoded string. So that is much easier than what we did. I didn't go there because there are a few good videos on KZfaq that explain that approach.
@pierrickdefossez3157
@pierrickdefossez3157 2 жыл бұрын
@@AlirezaAliabadi thank you! I just tested but the result is the same error you got in your two first attempts : the image doesn't show up but there is a broken icon instead. This time, I don't know if notepad can solve the problem
@Poryotis
@Poryotis Жыл бұрын
@@AlirezaAliabadi Indeed! However, is there still another way if you have an image that's not stored in SharePoint or OneDrive but still in MS 365 somewhere? For instance the thumbnails SharePoint creates for an image field? They are typically not stored in any location but generated. Want to be able to encode those.
@undiaconsusy7322
@undiaconsusy7322 Жыл бұрын
@@pierrickdefossez3157 @Alireza Aliabadi me pasa lo mismo solo sale icono roto con una X
@kuroilotus
@kuroilotus 4 ай бұрын
Hello Alireza, I would like to start by telling you that this was a very educative and fun video to watch! I would like also to ask if you would know the solution of my problem here. What if the image that you want to add to your flow and then to your e-mail was added by the user when it complete a form for exemple. How would you make that turn into an image in the email sent by the user created by the user? Thanks!
@kuroilotus
@kuroilotus 4 ай бұрын
@AlirezaAliabadi I have been working on that problem and I have not found any solution yet.
@tajoumaru503
@tajoumaru503 2 жыл бұрын
Thanks for the useful tips on this. How about using PA to embed multiple images uploaded to a MS Form in an email?
@tajoumaru503
@tajoumaru503 7 ай бұрын
Thanks for the video. Unfortunately, Gmail and some other web-based email clients don't like base64-encoded images, so those don't display in emails. Currently investigating a solution in which the image file is attached to the email and then embedded from the attachment, which according to many would circumvent that problem. Power Automate doesn't make this easy!
@bc67
@bc67 4 ай бұрын
This is brilliant. Thank you! My emails are coming across with the image duplicated though. Have you seen this?
@AlirezaAliabadi
@AlirezaAliabadi 4 ай бұрын
Most probably this is the issue kzfaq.info/get/bejne/euB8prxqvNy2nqs.html
@bc67
@bc67 4 ай бұрын
@@AlirezaAliabadi For some reason, when I pasted the text in the Value section of the Initialize variable action, it was duplicating what I pasted!
@AlirezaAliabadi
@AlirezaAliabadi 4 ай бұрын
@@bc67 Well, 2+2 is 4, but sometimes 5. Keep it as general rule when working with Power Platform.
@sweatshoes26
@sweatshoes26 Жыл бұрын
This was excellent. How would you embed a second image within the same email?
@jennylin6015
@jennylin6015 Жыл бұрын
Very wonderful video and give me more and more inspiration. I have a question that If I want to insert multiple pictures in E mail and I don't know how many pictures , because these were all uploaded by others to sharepoint list, that's are variable. How could I do?
@Gustavo-uc9rr
@Gustavo-uc9rr Жыл бұрын
Hi Jenny, it depends on how you wanna trigger this flow. Is it triggered everytime someone uploads an image? If your answer is yes, you can easily use Sharepoint "Get Item" action so it will allow you to dinamically insert the base64 encoded image into the html img tag since this action will provide you with a dynamic variable containing the image content.
@eliasvargas4948
@eliasvargas4948 3 ай бұрын
Hi, I hope you help me, I am sending an image from Power Apps in base64. This codification has the format required to add to body of email, but when I send an email, the image is cutted, just can see it a line of the image.
@WasanthaMendries
@WasanthaMendries Жыл бұрын
We highly appreciate if you can explain how to add two coloum images in share point list to power automate email sending.
@barunroyghatak4380
@barunroyghatak4380 2 жыл бұрын
Nice video Ali 👍
@ricbarri
@ricbarri 11 ай бұрын
Excellent
@revaya15
@revaya15 Жыл бұрын
hey thank you for the video! for me it worked but i cant see the picture, it show a little box with an X inside. do you have any idea what can i do?
@LauraLuisaRosenberg
@LauraLuisaRosenberg 3 ай бұрын
Is it also possible to download embedded images in a outlook mail via power automate. I would like to save the embedded images from one email an place them in another email during the flow.
@Gustavo-uc9rr
@Gustavo-uc9rr Жыл бұрын
Hi Alireza, thank you so much for the explanation.. The only problem in the way you add image to the email body is that it doesn't work for Gmail recipients, it works fine for those receivers who use outlook (web or appp) but if I need to send an e-mail to some Gmail user it doesn't. I'd appreciate if you gimme some hint on how to send an email message containing an image in the body (without storing it on Sharepoint 'cause my organization's Sharepoint is private). Thanks again!
@AlirezaAliabadi
@AlirezaAliabadi Жыл бұрын
You are asking the wrong person. I don't even have Gmail account 🙂
@ammarasyraf6636
@ammarasyraf6636 Жыл бұрын
hi have you get any solution for this . im in the same problem with you
@Gustavo-uc9rr
@Gustavo-uc9rr Жыл бұрын
@@ammarasyraf6636 are you going to use only one image for every email or it is going to be dynamically defined (each email will have its own image) ?
@Vishal-cj8un
@Vishal-cj8un Жыл бұрын
​@@ammarasyraf6636kzfaq.info/get/bejne/nZqFdrmrvZqwko0.htmlsi=aQSA34A5is5Y-Ibq
@paulavictoriaca
@paulavictoriaca 2 ай бұрын
Hi! How can i go from code view to normal view? Thanks!
@muhammadzahranramadhan5799
@muhammadzahranramadhan5799 10 ай бұрын
Hello sir i have a question for this flow. I have successfully created flow just like you, sent an email with embeded photos in email body. But i have this trouble that i dont know how to solve it. If i sent the email to a person who look at the email with outlook, then the embedded image is shown. If the person look at the email with gmail, then the embedded image is missing (they cant see it). Any idea how to solve this problem? Thank you
@AlirezaAliabadi
@AlirezaAliabadi 10 ай бұрын
Sorry, but I don't even have a Gmail account. I have no clue.
@toym3n
@toym3n 11 ай бұрын
Muy buen video, pero de power automante cuando pones que lo envié a un correo GMAIL no se ve la imgen, ¿sabes porque pasa?
@rishiagrawal9613
@rishiagrawal9613 Жыл бұрын
Fantastic
@almostatheist1337
@almostatheist1337 2 жыл бұрын
Hi Alireza, thank you very much for the video. I've followed each step, but I'm getting a "maximum request length exceeded" error when trying to save. Any ideas how I can fix this? I haven't been able to find a solution on Google. Thanks in advance.
@hasanelabdullah125
@hasanelabdullah125 2 жыл бұрын
Hi ,I have a question, I am using sharepoint list with about 900 Items.. I made a flow to send an automatic Email if some criteria met after running the flow I don't get any error but no email was sent and I keep getting this info : "ActionBranchingConditionNotSatisfied" what does that mean and how I can get rid of it. thank you very much
@rehaayalp6707
@rehaayalp6707 2 жыл бұрын
Maybe some one may have an idea, By the way thanks for this post. This worked for me on outlook desktop. However when opening email under browser (any browser), image shows up as text. If I resend the same copy of the email from outlook desktop email and check under browser for the resend it is OK? any ideas?
@hi_vishy
@hi_vishy Жыл бұрын
I want to add recipient's profile pic in the mail body as well but couldn't do. I was able to insert the image though.
@ShariqHusain80
@ShariqHusain80 Жыл бұрын
not working for the file size of 500kb
@sunnywaje1810
@sunnywaje1810 Жыл бұрын
I want to resend the mail which I have received but while resending I want my png attachment to be pasted on the body mail and this task is done to be automatically whenever I receive mail.
@tharunthaduri8865
@tharunthaduri8865 Жыл бұрын
Thanks, it's working but the image isn't showing in Gmail it's showing only in Outlook.
@Vishal-cj8un
@Vishal-cj8un Жыл бұрын
Did you find any solution?
@niwo8
@niwo8 Жыл бұрын
This is great! However if I send an email to someone outside my O365 tenant the file does not come across. Any reasons why?
@Vishal-cj8un
@Vishal-cj8un Жыл бұрын
I guess that because other email Clients don't support base 64 encoded images.
@Vishal-cj8un
@Vishal-cj8un Жыл бұрын
kzfaq.info/get/bejne/nZqFdrmrvZqwko0.htmlsi=aQSA34A5is5Y-Ibq
@smithfrank2224
@smithfrank2224 Жыл бұрын
Yes
@learningeachday
@learningeachday 3 ай бұрын
When I open commandprompt, it autofills the line with "C: \Users\my.name>". I've tried every which way to enter the file path, but I think that little caret doohickey at the end is throwing the whole thing off. I have no idea how to escape the autofill, which means I'm stuck at almost square one of this solution. :( Anyone know how to bypass this to get to the same blank line that Alireza has?
@AlirezaAliabadi
@AlirezaAliabadi 3 ай бұрын
Type below line and press Enter C: \Users\my.name>CD \
@orhanozturk1183
@orhanozturk1183 2 жыл бұрын
Hi, How do I add an email my signature (with a logo+text) to the email sent?
@Gustavo-uc9rr
@Gustavo-uc9rr Жыл бұрын
Is it a html signature?
@MegaMpbc
@MegaMpbc Жыл бұрын
how do i insert gif?
@Vishal-cj8un
@Vishal-cj8un Жыл бұрын
Lol you are asking too much 😂 I struggled a lot to add images only
@yassinechmangui4054
@yassinechmangui4054 2 жыл бұрын
i tested but i have an error msg :( : C:\>Certutil -encode test.jpg test.txt DecodeFile returned The system cannot find the file specified. 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: -encode command FAILED: 0x80070002 (WIN32: 2 ERROR_FILE_NOT_FOUND) CertUtil: The system cannot find the file specified.
@niwo8
@niwo8 Жыл бұрын
Is the test.jpg file sitting in the root of c:\ ? Change your directory to where the file sits. e.g c:\users\yourname\desktop
How to use Power Automate Get Files (Properties only)
22:56
Alireza Aliabadi
Рет қаралды 35 М.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 1,8 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 50 МЛН
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 15 МЛН
艾莎撒娇得到王子的原谅#艾莎
00:24
在逃的公主
Рет қаралды 54 МЛН
How to parse complex JSON in power automate
20:43
Alireza Aliabadi
Рет қаралды 79 М.
Why is HTML body messed up in Power Automate send email v2 ?
12:14
Alireza Aliabadi
Рет қаралды 10 М.
How to Send an Email with Embedded Image in Power Automate
7:27
Pragmatic Works
Рет қаралды 31 М.
Get Picture From SharePoint Image Column Using Power Automate
11:45
Clavin Fernandes
Рет қаралды 8 М.
How to add image to email in Power Automate "Send an email (V2)"
5:40
Power Apps Images to Email and PDF
17:51
Shane Young
Рет қаралды 29 М.
Outlook Emails in Power Automate Desktop - Full Tutorial
33:10
Anders Jensen
Рет қаралды 45 М.
Email or save Excel images with Power Automate | Excel Off The Grid
17:00
Excel Off The Grid
Рет қаралды 7 М.
How to send multiple list items in ONE email using Microsoft Flow
8:12
Alireza Aliabadi
Рет қаралды 42 М.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 1,8 МЛН