How create a dynamic email body where email html template is coming from database?

Dear ${empName}, ${enterforspace} ${enterforspace} Background Verification Phase 2 is successfully completed. ${enterforspace} ${enterforspace} ${table} ${bgcRequestId} ${
empId} ${enterforspace} ${enterforspace}
${enterforspace} ${enterforspace} Best regards, ${enterforspace} Digitized BGC Team ${enterforspace} ${enterforspace} (${Pleasedonotreplytothise-mail})

I have to replace those variables in uipath. the value will be vary according to the mail type

1 Like

Hi @sup_93,
Execute query and assign those values to variables.Place for each row and place send mail in it so that you can send mails with dynamic body and pass the variables in the mail body.

Thanks,
Sreekanth.K

But no. of variables can be different for different mail type!!

Place an if condition for comparing the mail types and pass the variables accordingly

1 Like

Hi,
Please follow similar tutorial,

Thanks,
Karthik

2 Likes

Hi,

Please find the similar tutorial,

https://www.youtube.com/edit?o=U&video_id=VDUEkd7P5rU

Thanks,
Karthik

1 Like

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