Identifying key words in Outlook


Use Case - We have to read a new mail and identify the keywords if they are there in the body of the mail.
I am new to UiPath, any help is appreciated.
Thank you




Hi @Saahil,

  1. Use ‘Get Outlook Mails’ Activity with Properties Account, MailFolder, Check the box if you want to read Unread MailMessages and Output variable as List of mailMessages
  2. Use ‘For each’ activity of typeArgument “System.Net.Mail.MailMessage”
  3. Use ‘write line’ with ‘item.body’
  4. Use If condition to check for the key words.

I hope this link will help you a bit
Edit: Please go through the attahment
Main.xaml (7.6 KB)

Vikas Reddy