AskMe
AskMe

Reputation: 2561

Outlook email text into SharePoint field using UiPath

I'm new to UiPath; however, by referring to an online tutorial I was able to read the whole Outlook email and forward this to other email ID.

Now my job is to parse the test from the raw Outlook email content and put the required text in the specific fields in a SharePoint site [the site has a text box that is already designed] and save this. In other words, if a particular subject line (that contains string "Critical") is read from email should go to particular pre-defined text-box in the SharePoint. How can I do this using UiPath or any other RPA tool?

Note: see attached file. Now I'm able to read to content from the email. How to put those extracted text/stings/values into specific SharePoint field?

Work done so far

Upvotes: 0

Views: 359

Answers (1)

Wolfgang Radl
Wolfgang Radl

Reputation: 2349

Parsing the subject line can simply be done by using the String.Contains method (learn more about this one here). Then, use control structures to act accordingly. Here's an example with If. Note that the subject's text is converted to lowercase first.

enter image description here

With regard to Sharepoint - you could either use custom activities from the SharePoint Package, or simply rely on web automation and activities such as Set Text to populate parts of your page, or potentially create that page in the first place.

Upvotes: 2

Related Questions