Say Goodbye to Manual Emails: Automate and Embed Images with Power Automate
Luigi Gabriel Espiritu
HR Technology Leader | Driving People Productivity | Championing Process Excellence | Innovating with Automation | Agile HR Advocate
Still sending out recurring emails or announcements manually?
Stop wasting time! Last week, I published an article on how to automate your email announcements and recurring emails. Check it out here.
But wait, what if your announcement includes an infographic or an image you want to embed?
No worries! I'll show you exactly how it's done. Let's get started!
Step-by-step guide:
1. Create a Trigger Flow
First, create a trigger flow just like last time. (You can visit my previous article for detailed instructions.)
2. Add a New Step
Click "New step" and select "Get file content using path."
3. Set the File Path
Specify the file path and select the image you want to embed in your email.
4. Create a Compose Action
Add another step and select "Compose" action.
5. Input the HTML Code:
In the compose action, input the following code:
<img src='cid:"Insert your photo file name here".jpg' />
For example, if your filename is "Sample.jpg", use
领英推荐
<img src='cid:Sample.jpg' />
6. Send an Email (V2)
Add another action and choose "Send an email (V2)."
7. Configure the Email
In the "Send an email" action, input the recipient's email address (for testing, you can use your own email), input the Subject, and then in the Body of the email, insert the Outputs by clicking the Outputs in the Dynamic Content.
8. Show Advanced Options
Click "Show advanced options."
9. Attach the Image
In the advanced options, input the filename in the Attachment Name field and then insert the Attachment Content.
10. Test Your Flow
Run the flow to ensure it triggers and completes successfully.
11. Check Your Email
After testing, check your email to see if 微软 Power Automate successfully sent the image.
Important Note
#powerautomate
#microsoft
#automation