How to add Text and Image after text in email body throughout the Process and send email at the end

I have a requirement in which , i have to add some text (Customer’s name) and images (their profile data/Screenshot) after text in the body of the mail using Exchange server throughout the process and send email at the end of the process. How can i do this?

Hi @shalu.mittal

U can use HTML for this

U can create a template in notepad in HTML

And for each text and image u can use it

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed::relaxed:

Hi @shalu.mittal

Please check the sample workflow
sample workflow.zip (1.2 MB)

Regards
Nived N
Happy Automation

Thank you @nived
and also if i want to append text and Pictures to the body throughout the process whenever any failure occurs, not sure how many images and text would be present there. Ay idea/hint how to do that

Whenever any failure occures u can store the screenshots in a folder and text as log messages stating the part where the error occured and so the timestamp too

Then loop through each screenshots in the folder and add the tag in text file using append line activity.

add the text file as attachment (if u need)

Hope you got the logic

Regards
Nived N
Happy Automation

1 Like

Yes, got the logic. Thank you :slight_smile:

@NIVED_NAMBIAR . I tried the flow but image is not displayed in the body of mail. Please find screenshot attached.

this is the code. ![image|690x371]
(upload://c59VAvkhEySeYR5s5JuD3nSX6Bf.png)
and this is email body

The automated SAP_Notifications_Report_ has encountered the following issues when completing the process. Please review the items below and take the necessary actions.
<br/


text_toadd



Do not reply to this message. This mailbox is not monitored. Thank you.

I think instead of image path

Store image in some cloud storage like Google drive and provide the url there

It will works perfectly

Regards

Nived N :robot:

Happy Automation :relaxed::relaxed:

@shalu.mittal - Please try as suggested by @NIVED_NAMBIAR … If your organization does not allow to use cloud URLs then please check this post…

This post has the sample xaml too.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.