StudioX. Creating two different mails

Hello All.
Based on excel report I use, two separate kind of mails are created (two Send Mail blocks are used), bothhas different text.
Each kind of mail contains data from excel file in mail body.
I use the Text body option and it works fine but looks poor.

I tried to use HTML editor but, since I use two Send Mail block, the text from first block overwrites text in the second, and vice-versa.
Then I tried to use word but have no idea how to put the variables / data from excel.

Can you please suggest me a workaround for the HTML or Word solution?

Hello @Jakub_Modrzewski!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

  5. Meet us and our users on our Community Slack and ask your question there.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff

Hey Jakub,
I will try help you even though I don’t use studioX :slight_smile:
If you want to put some Excel data into the body of an email or anywhere else, you can do it in two ways.
After reading Excel, refer to a specific column and row position or use a loop.
Try one of these methods. Here is an example:
image
image
NewBlankTask3.zip (57.7 KB)

If you still have any doubts, submit a screenshot of your workflow for analysis.

Regards :slight_smile:

Thanks Piotr but you missed the Point.
Question is how to write two different mails using HTML editor in one workflow - the text of second html editor overwrites the first one so it don’t work. Would a copy of html template in data folder help if it’s associated with the second send mail block?

Och. Ok. Can you show how your workflow looks like ? It can be screenshot. It help me better understand what you did :slight_smile:

please find it below. it’s quite simple, block send mail in a loop. there’s one more same send mail block just using different text.
image

here’s the html template I meant in the previous post:
image

Yep, that would be the solution. can I mark my own reply as solution? :wink:

image

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