Email Automation Using Voting Options

I want to send an automated email to users using the ‘Voting options’. So that the users responses are restricted(like a simple ‘Yes’/‘No’).

We are planning to automate a scenario where users will be asked if they want to continue their access to certain application. if the user says ‘No’, then the Bot would deactivate the account.
As the user replies are expected to vary widely, the idea is to restrict the responses.

P.S. We do not want to do recording over the Outlook interface, rather want to use in built UiPath activities.


Adding the yes or no radio button is feasible I can say. But any plan how to link the radio buttons(yes/no) with deactivating or performing any further actions from the email’s response?

Please let me know how it is feasible if you know how to implement it.

The second part seems to be rather easy.
You have to get the Subject line from the responses which would include the Voted option(Yes/No).
Based on it, you can take some action.


so how did you add the VotingOptions to an email? seems like a few folks are trying to do the same this. TIA


Not sure how to implement it using the built-in UiPath activities. But you can consider to send outlook mail with voting options using Powershell and invoking it from Uipath. There are examples of it in Microsoft forums.

Shiju Mathew

Hi… did you manage to find a solution for the voting options in the email? If “Yes” could you please share the solution as well since I am also having a similar requirement.


1 Like

You can try with Send Email Activity with selected “IsBodyHtml”, try to write a HTML code in body part. it will solve this case

I believe there is no way you can put ‘voting button’ using HTML.
Here is example of the HtmlBody of the email with manually inserted ‘voting button Y/N’.
I get this email from mailbox afterwards and displayed the header: ‘HtmlBody’ - seeing no tag referring to ‘voting button’ at all:

HtmlBody: <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="" xmlns=""><head><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
a:link, span.MsoHyperlink
a:visited, span.MsoHyperlinkFollowed
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>vote test body<o:p></o:p></p></div></body></html>


Any POC to send an email using voting buttons in uipath?
I have tried HTML and it doesnt work out.
Please help!


I got it to work with HTML body. send email with two option buttons and define the response in the buttons. Worked great for us.

Just put something like this in the html string:

<div>Hello,<br>Click correct option<br><br>
	<a href=' is Yes.'>
		<button style='color:white;border:none;text-align: center; font-size: 16px;padding:5px;display: inline-block;background-color:green'>Yes</button>
	<a href=' is No.'>
		<button style='color:white;border:none;text-align:center;font-size:16px; padding:5px;display: inline-block;background-color:red'>No</button>
Thank you, <br>With kind regards,<br><br>Your friendly company robot.<br></div>