Email body to replace Addresseename

I am using UiPath StudioX and I am trying to create a simple script to send emails to multiple people. The email content is using the text from a Word document file. I have created a variable for the AddresseeName to retrieve from an excel file containing the name.

The text in the word doc will be : Dear “AddresseeName”, “Generic Message”.
How do i replace the “AddresseeName” from the word doc to be the ones in the excel file?

@shirley_ho

Welcome to the community

In the word doc use replace text activity

Cheers

Hi
@shirley_ho
You can use the activity “Replace Text in Document” by passing the variable “AddresseeName” in the activity.

Regards,