Say Goodbye to Manual Emails: Automate and Embed Images with Power Automate

Say Goodbye to Manual Emails: Automate and Embed Images with Power Automate

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

  1. Inform the recipient that they will receive an email or use your own email for testing purposes to ensure everything works as expected.
  2. I am not an expert in Microsoft Power Automate , but I would like to document my journey and new learnings through articles here on LinkedIn. Please feel free to message me if you have any questions so we can collaborate.

#powerautomate

#microsoft

#automation

要查看或添加评论,请登录

Luigi Gabriel Espiritu的更多文章

社区洞察

其他会员也浏览了