Skip to Content
Technical Articles
Author's profile photo Peter Engel

SAP Intelligent RPA 2.0 – Outlook Demo

In this blog post you will get a first introduction into the new Outlook SDK for the Cloud Studio of SAP Intelligent RPA 2.0 and you will learn how to build an automation for MS Outlook.

Content of the Demo

Build the Outlook Automation in the Cloud Studio

The Automation in this demo can search for e-mails with specified search criteria to store the attachments in local folders. You learn how to use different activities from the Outlook SDK.

Test the automation

At the end of the demo the Automation will be tested and you get a first impression of the new debugger timeline.

Step-by-Step Introduction

In the screenshot below you can see the final flow of the Automation.

To explain the necessary steps to create this Automation I tried this time a different way and created the step-by-step instruction as a video clip.

Conclusion

Bot building is fast and easy with SAP Intelligent RPA 2.0. The new SDKs are easy to use via drag&drop without any coding knowledge. Try it out and built your own bots with our trial version. SAP Intelligent RPA 2.0 will be available in the trial version starting December 03, 2020.

For more information on SAP Intelligent RPA

Assigned Tags

      26 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Dipankar Mohanty
      Dipankar Mohanty

      Hi Peter Engel ,

      Thanks for the information. This is great.

      1 question Is the PDF import feature now available for the trial account ?

      Regards,

      Dipankar M

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Dipankar,

      you have to wait until Wednesday (December 3) then we activate the Cloud Studio in the trial and we provide a new Desktop Studio. In both you will find the pdf sdk. I would suggest to work with the Cloud Studio.

      Br,

      Peter

      Author's profile photo Srinivas Rao
      Srinivas Rao

      Hi Peter Engel - Thanks for the nice descriptive video. What came to my mind is: how about getting a small checkbox to indicate to search only from the UNREAD emails to fasten the process?

      Anyway, excited to try it out as soon as it comes out..

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Srinivas,

      this feature is planned for the 2012 release. I just tested it.

      Br,

      Peter

       

      Author's profile photo Werner Jacobs
      Werner Jacobs

      Thanks Peter Engel

      Great demo. Making it a video clip was also a good idea. Made it much easier to understand.

      I am brand new(1-2months) in the SAP Intelligent RPA world, reading up, trying 2 scenarios in Desktop Studio etc etc. It was a very time consuming learning experience, but I think getting some experience on Desktop Studio makes me appreciate the Cloud Studio even more and it is actually fun working with it. So thumbs up for LCNC.

      After going through your demo and actually getting it to work, not without a few retries and do overs, I must say, all the excitement and the few weeks(for me) waiting for it was worth it..

      Thanks again

      Werner

       

      Author's profile photo İrfan DEMİRCİOĞLU
      İrfan DEMİRCİOĞLU

      Hi Peter Engel,

      Thank you for tutorial video. It's a really good video to understand most of the outlook features.

      Could you please help me to understand;

      How to send Custom Emails such as I would like to add HTML body message(specially mailto with a button) to my mail. Like;

      <p> Test message </p><p> <a href="mailto:MyEmail@adress.com.tr?subject=Request Approved &body=Hi, irfan">Approve </a> <a href="mailto:MyEmail@adress.com.tr?subject=Request Rejected &body=Hi, irfan">Reject </a></p><p>The link will only work if you click.</p>

       

      Thank you for your help,

      Best Regards.

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Irfan,

      to set a html body will be released with the 2103 version of the outlook SDK (of course this is a planned delivery date).

       

      Br,

      Peter

      Author's profile photo İrfan DEMİRCİOĞLU
      İrfan DEMİRCİOĞLU

      Hi,

      Is there any estimation date for new version, if not can I try beta version?

      I am currently using ipra_outlook SDK version 1.6.123

       

      Thank you.

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      new versions will be normally released on the last weekend of a month.

      2103 will be March 28, 2021.

      There is no beta version or pre delivery available.

      Br,

      Peter

      Author's profile photo Bhagyashree S
      Bhagyashree S

      Hi Peter Engel

       

      i want to automate in such a way that.Bot should read the read the email with subject"PR" and download the attachment.

      If attachement is not present then it has to give me a popup saying "Please attach the file"

       

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      that's possible using the "Search Email" activity in combination with "Get Mail Attachments Name" and a Try Catch triggering an information dialog if needed.

      Br,

      Peter

      Author's profile photo Jeorge Lumaban
      Jeorge Lumaban

      Hi Peter Engel,

      Thank you for the tutorial video. Is there a feature to send an email on where you can define the sender of the email?

       

      Regards,

      Jeorge

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Jeorge,

      yes, there is also an activity called "Send Email (Outlook)" where you can define the mail.

      You can fill every field with fix values or variables.

      Br,

      Peter

      Author's profile photo Jeorge Lumaban
      Jeorge Lumaban

      Hi Peter,

      Thank you for the response.

      I already used that activity and there is no sender email address parameter (From:).

      The default sender is the one that was logged in to the outlook.

      Is there a separate parameter to define the Sender email address?

       

      Regards,

      Jeorge

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      Unfortunately this is not possible with the Cloud Studio in the moment. We are investigating when we can add this parameter.

      Br,

      Peter

      Author's profile photo Jeorge Lumaban
      Jeorge Lumaban

      Hi Peter,

      Thank you for the information. I hope you can add that one since mostly in unattended mode, we

      are sending notification email that the task was completed using different sender email address not the address that was logged in to the virtual desktop.

       

      Regards,

      Jeorge

      Author's profile photo Jeorge Lumaban
      Jeorge Lumaban

      Hi Peter,

      Using the search email, How to add search criteria for subject as element. I tried it for two criteria using 'And' 'OR' logic operator. See sample on the image but they get only one email.

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      it should looks like this:

      Br,

      Peter

      Author's profile photo Jeorge Lumaban
      Jeorge Lumaban

      Hi Peter,

      Thank you for the response. I tried your example and I don't get any of the email.

      I'm using two different values 'Finance Department' and 'Analytics Department'

       

      Regards,

      Jeorge

      Author's profile photo Juan Rodriguez
      Juan Rodriguez

      Hi peter

       

      I'm tryign to set a criteria like, "if the email was opened, don´t take it, just take the unread e-mails"

       

      How can i do that? I try to use the crieria IsRead but don't work it

      Thanks!

      Author's profile photo Manigopal Chinnam
      Manigopal Chinnam

      Hi Peter Engel ,

       

      Thanks for the video. I am playing around with RPA, these are my early days with this application. I am trying to build an automation for Outlook. However i could not select it under 'Applications'. When i hover over i see the message 'This automation can't be used because it is the current automation'. How do i select it ?. Thanks !!

       

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi,

      please provide screenshots so I can better understand what you are trying.

      Br,

      Peter

      Author's profile photo Pavan Golesar
      Pavan Golesar

      Honestly the shift from image based step-by-step flow to video based is very helpful. I too was inspired and created my blog series on SAP BTP Exploring SAP BTP ABAP Environment | SAP Blogs on SAP Community. It helps readers a lot in understanding easily.

      Thank you Peter It is really nice blog post you created..

      Br

      Pavan Golesar

      Author's profile photo Indrajit shah
      Indrajit shah

      Hello Peter Engel ,

      Hope you are doing good.

      I came through your post and found it very interesting, and with that, I have a doubt, I hope you can clear it for me.

       

      I have this below scenario -

      Open Outlook

      Search Email with Subject contains 'xxx'(for unread emails) & contains attachment / 's

      Download attachment /'s( only If attachment name contains 'abc' and extention .pdf)

      Is there any way to achieve the above scenario as of now? It will be a great help for future outlook/e-mail automation.

       

      P.S - I have been doing automation on UiPath tool for a couple of years and just shifted to iRPA and found it intresting.

      Author's profile photo Peter Engel
      Peter Engel
      Blog Post Author

      Hi Indrajit,

      you can use the search activity like this:

      Please check the documentation here if I set all values correctly.

      This search will give you a list as described in the blog post with unread mails containing an attachment. Then you create the forever loop and loop above the list. In each loop you can use the activity 'Get attachment name' to test the attachment name. Include a condition here and if the name is correct you can save it.

      Alternative is to save all attachments and then work on the folder where the files are stored.

      Br,

      Peter

      Author's profile photo Indrajit shah
      Indrajit shah

      Hello Peter,

      Is there any way we can put multiple search criteria on the subject? Like I want to search for e-mail subject contains Invoice or Revised

      Based on that will process my automation, I tried using multiple search criteria on the subject but it's now processing both my conditions it's just processing on the last condition that is Revised

      Regards

      Indrajit