Тёмный

How to Send Email with Image using Power Automate 

KeaPoint Tech Tips
Подписаться 10 тыс.
Просмотров 50 тыс.
50% 1

In this video you will learn how to embed images in email notification sent via the power automate. You may need to add your company header when sending emails to client or you may wish to embed an image to automated generated emails for your internal staff using power automate.
The Expression string
Please include the angle brackets at the start and end of this string, RU-vid does not allow angle bracket in the description
img src="data:image/jpeg;base64," alt="My Image" /
Support me with your Amazon purchases, click here: amzn.to/3e6ZrSM

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 109   
@charleskearney2086
@charleskearney2086 3 года назад
This is exactly what I needed, it comes out perfectly in the email. Thank you.
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Glad it helped!
@davidcoronado7924
@davidcoronado7924 3 года назад
This was a very good video. A bit fast in the explanations, but with pausing and watching what was done, I was able to do what I needed to do. Thank you. :)
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Glad it helped!
@AssassinUK
@AssassinUK 3 года назад
Thank you!!! You made this easy! This is the best way as you don't need to worry about if the image is viewable based on security or not. Thanks again.
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You're welcome Simeon! I am glad, it was helpful :)
@asadiqbal3171
@asadiqbal3171 2 года назад
Exactly what I have been looking for. Thanks for putting this up here!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You are welcome Asad!
@MrZaxcal
@MrZaxcal 2 года назад
FINALLY, I have found a solution for embedded images in power automate. thank you so much, bro.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Welcome 👍
@alishaajit741
@alishaajit741 3 года назад
This is one of the simplest solutions I've found. Thank you!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Thanks Alisha.
@seanmclarty6764
@seanmclarty6764 2 года назад
Perfect, I was able initialise the variable directly from a Power BI Export To File step. Thank you.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Glad it helped!
@SC-uw9bv
@SC-uw9bv 2 года назад
Worked really well , Thanks !!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You're welcome!
@rizwanshah7789
@rizwanshah7789 3 года назад
Thanks this really great stuff!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Glad you liked it!
@SecretPles
@SecretPles 2 года назад
Thanks that was what i needed.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You are welcome!
@josephdsilva4941
@josephdsilva4941 2 года назад
Very useful, thanks a lot. It made me solve the major issue of mine...
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Glad it helped
@Cappongo
@Cappongo 3 года назад
I love you so much, this works perfect for me!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Glad it helped!
@OsvaldoVb
@OsvaldoVb 3 года назад
Thanks, its work for me, perfectly.
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You're welcome!
@OJParra
@OJParra 2 года назад
Great video!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Glad you liked it
@eleezaliyana1445
@eleezaliyana1445 Год назад
very helpful video. thanks
@KeaPointTechTips
@KeaPointTechTips Год назад
Thanks
@noNumber2Sherlock
@noNumber2Sherlock 2 года назад
Excellent!!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Many thanks!
@navinakumaresan4826
@navinakumaresan4826 3 года назад
Thank you !
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You're welcome!
@willalford3592
@willalford3592 2 года назад
Thank you so much for posting this. I looked through a half dozen articles on how to do this but your method is the first one that worked. Other than changing the extension in the initialize variable action, do you know if anything else would need to be changed to get an animated gif to work?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Thank you very much. I have not tried with animated gif, give it a go. If you still can't get it to work, worth checking the email body html code.
@farouksadiq8544
@farouksadiq8544 2 года назад
This is so seamless. Thanks a lot. I have a question please... I currently have a flow using "Send an email notification (V3)" which sends submitted kobo forms to some selected email addresses. The content been sent basically are text-based. I will want to include images as well. Thus, not just text like, I also want images been submitted on kobo should also be included in the flow. Thanks.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
No worked with kobo form, sorry.
@iammargemcastor1697
@iammargemcastor1697 3 года назад
Great content! very helpful. Just want to know if there's a way to minimize the pictures embedded. it seems that it occupies the whole email area. Thank you!!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You can pass the image width and height in a html style. look for how to add fixed size for html images on internet.
@vkolica
@vkolica 3 года назад
Thanks for sharing! Is there a way how to wrap text around an image with outlook using Power Automate workflow?
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Hi, You are welcome. You can switch to html code mode in email body and use the html divs to wrap text around image.
@techdelasabana
@techdelasabana 3 года назад
Thanks. Do you know if images are rendered in Gmail, Hotmail or Yahoo?
@KeaPointTechTips
@KeaPointTechTips 3 года назад
I have tried on Hotmail and the image renders just fine. You can test it on Gmail or Yahoo.
@ajitheshgupta3017
@ajitheshgupta3017 2 года назад
Is there a way I can increase the resolution of the image? I am trying to add power Bi snippet to an email fetch from one drive
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You can add width and height via html. I don't think you can increase the image resolution.
@sadamshaikh2669
@sadamshaikh2669 3 года назад
How do I create a dynamic path so power automate picks the image latest file from sharepoint and email it automatically? Thanks
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You have make power automate to scan particular folder hosted in SharePoint to obtain first image file. This will give you ai image properties including image path which you can later embed in your email body.
@7ickery
@7ickery 2 года назад
On the 'Initialize Variable' step, I don't have the option to add dynamic content. Do you know what I'm missing?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Try to close and open the flow again.
@adamkordia7713
@adamkordia7713 2 года назад
Good stuff :) Do you know maybe how to get image from message/post posted on Teams channel into email? Basically, the flow I am trying to create is summary of all messages posted last week on channel. Sometimes image/file is added to the post, so I would like to include it into my summary email (as a attachment or into email content). Have a nice day!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Not sure if that is easily achievable with power automate. You can use Graph API to get teams conversation objects and report on them.
@Spat99Momma
@Spat99Momma 2 года назад
Any advice on getting a 2nd image in the same email body? So far it's just sending 2 emails for me :/
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Your flow has an unwanted loop condition. You need to capture both image properties in separate variables and compose one email message outside the loop.
@Quinninator100
@Quinninator100 2 года назад
How do use this method with png files? I've tried changing data:image/jpeg to data:image/png but the email is showing nothing. Any tips? My full tag is "" Thanks!
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Try this example. There are some extra steps needed for it to work with .png images manueltgomes.com/microsoft/embed-image-in-email/
@ganessens
@ganessens 2 года назад
Good Day, I followed your video to the "t", but the images is not appearing on the email body. Are there additional steps on the sharepoint i need to consider?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Not any additional step I am aware of. What error you are getting. Did you inspect the email body html code?
@ganessens
@ganessens 2 года назад
@@KeaPointTechTips I get the error "The linked Image cannot be displayed"
@joyramone1972
@joyramone1972 2 года назад
How can you send variable images, one by record if you have a list?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Yes, you need to implement this logic in teh flow though.
@jlamb62480
@jlamb62480 2 года назад
Great video!!! Can you please tell me how to apply the width and height settings to the image? The image is coming through a little too small. Perhaps I did it incorrectly, but this didn't work for me....
@KeaPointTechTips
@KeaPointTechTips 2 года назад
This should work!
@vaishaligupta3717
@vaishaligupta3717 3 года назад
I have needed this solution for so long, Thanks a bunch!!! However, I have one more use case, where I want to use the image as a background and wanted to add text over it. Is it possible to do, any advice?
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Thank you Vaishali. You can embed html in email body to achieve this. Here is a guide on how you can build html which has image in the background and text on top. I hope this will help you. www.w3schools.com/html/html_images_background.asp
@vaishaligupta3717
@vaishaligupta3717 3 года назад
@@KeaPointTechTips Thanks for this article, Apparently Outlook does not support the "Div" tag with "style". So I wanted to know if there is any other way to add text on the image which ll be sent via power automate flow in email. Basically, it can be considered an addition to what you have shown in the above video. I have a use-case where I want to send Certificates by mail in which where the Certificate template ll be an image and I want to add text over it such as name and details dynamically. Do let me know if you have any suggestions regarding this Thanks in advance!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You can create word template for certificate generation, update the dynamic values of word document using power automate and then create a pdf certificate from word document and email it to the relevant person.
@vaishaligupta3717
@vaishaligupta3717 3 года назад
@@KeaPointTechTips Thanks so much :) However, I want to send an image and not a PDF. Thanks for your time and your videos are great!!
@aatishchaudhary4195
@aatishchaudhary4195 2 года назад
Can you please guide how to add a link also into the same image so when we get an email we can open the link by cliking the image.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You need to add html a href tag around the image in email body for it to be treated link a link.
@linajuliethsaldarriagapere9978
@linajuliethsaldarriagapere9978 3 года назад
Microsoft has a problem regarding sending images, I have tried several ways to do it. In conclusion, the way it "works" allows you to view the image from email on the web and from Outlook on your desktop, but not from the Mail application. Do you know anything about it? Thanks!!
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Hi, The above example works with outlook desktop application.
@vishaltomar6583
@vishaltomar6583 3 года назад
For .gif image what changes needs to be done?
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Nothing really, just update file path and point it to your gif image. I have just tested with gif image and can confirm that same settings are just working fine with .gif type images too. Let me know how it goes.
@seoklee8
@seoklee8 2 года назад
I'm using an image from OneDrive. I failed for the first two times and somehow the 3rd time it works. However, does this method work for png file as well, if I change the data:image/jpeg to data:image/png?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Yes, It should work for .png format as well. I have not tried it but you may give it a go.
@seoklee8
@seoklee8 2 года назад
@@KeaPointTechTips Got it to work with PNG file too
@Quinninator100
@Quinninator100 2 года назад
@@seoklee8 How did you get a .PNG to work? I changed the string text to "data:image/png", but nothing shows up in the email. Thanks
@wederyeleshzena551
@wederyeleshzena551 3 года назад
How do you embed a hyperlink in the email body. I just want the Click here to show only
@KeaPointTechTips
@KeaPointTechTips 3 года назад
You need to go to code mode in email body and use HTML tags to generate clickable link.
@nagaramani7306
@nagaramani7306 2 года назад
Hello, I want to identify if there is any screenshot pasted in the email content which is sent from customers and capture that screenshot along with the email content received and post it into the Azure DevOps as a discussion along with the screenshot received in the email message but not the attachments... Can you please help me out on this
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Sorry, this is a separate solution.
@nagaramani7306
@nagaramani7306 2 года назад
@@KeaPointTechTips can you please share me the video link
@nagaramani7306
@nagaramani7306 2 года назад
I want to get the image from the email content which is sent in the d365 and add that image to DevOps discussion along with the email content, it would be very helpful if you can give me the video link for this
@lakshitjain225
@lakshitjain225 3 года назад
can I adjust image size as well
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Email body in power automate can be edited in html code where you can provide the inline styles for the image.
@joaovitor12full
@joaovitor12full Год назад
it's important to remmember that the size of the image matters, i was trying to load a 1,6MB image (i didn't know hahaha) and it didn't work. After reducing the size, the image loaded perfectly. thanks for the video
@Eddyyc
@Eddyyc 3 года назад
can you add multiple pictures with the same procedure?
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Yes you can, You need to build multiple variables each containing one image and can mention more than one variables in the email body. Give it a go.
@Jeon1003
@Jeon1003 2 года назад
The image is somehow not in my site assets, any idea what is wrong?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Did you uploaded the image there?
@snehalkhandekar908
@snehalkhandekar908 2 года назад
If i want to add dynamic images how should we add
@KeaPointTechTips
@KeaPointTechTips 2 года назад
YO can upload an image to SharePoint library and add it dynamically via flow.
@TrixySu
@TrixySu 2 года назад
The image still doesn't show up for me in the email, whether I get it from a private or public workspace. Any ideas?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Did you inspect the email body in html ?
@TrixySu
@TrixySu 2 года назад
@@KeaPointTechTips I just did exactly what was in the video, didn’t add anything else first except for the image.
@carlw
@carlw 3 года назад
Nope. I get "Request to Azure Resource Manager failed with error: '{"error":{"code":"InvokerConnectionOverrideFailed","message":"Could not find any valid connection for connection reference name 'shared_sharepointonline' in APIM tokens header."}}'."
@KeaPointTechTips
@KeaPointTechTips 3 года назад
Hi Carl, This seems like your flow is corrupted. Use the ‘Save As’ feature to save your corrupt Flow as new Flow, this process should fix the broken connection issue.
@alhelalyhossam
@alhelalyhossam 2 года назад
Can we control the size of the image?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
Yes, using the css you can control image properties.
@burdenking7440
@burdenking7440 2 года назад
Howabout more than 2 images?
@KeaPointTechTips
@KeaPointTechTips 2 года назад
You can add as many images you want using the html code.
@sampson14567
@sampson14567 2 года назад
this does not work for gmail.
@KeaPointTechTips
@KeaPointTechTips 2 года назад
I have not personally tried with gmail. Have you checked the html code of email body in Gmail? it might give you a hint on why the image is not rendering there.
@AngelicaRodriguez-nt9cg
@AngelicaRodriguez-nt9cg 2 года назад
​@@KeaPointTechTips Hi Thank you very much! I try it with gmail and it did not render it. Not sure what to look for in the HTML code.
@fantasyteamshorts6112
@fantasyteamshorts6112 2 года назад
I want to send a mail with an image to multiple people and greeting everyone of them by their first name as Hi "FirstName"
@KeaPointTechTips
@KeaPointTechTips 2 года назад
What will be the source of their name? If the flow has this data, you can add to email body dynamically.
Далее
Tom🍓Jerry 😂 #shorts #achayanarmyfamily
00:14
Просмотров 11 млн
How to Send Recurring Emails in Outlook
7:22
Просмотров 100 тыс.