SAP Knowledge Base Article - Public

3210095 - Frequently Asked Question: iRPA Bot "Business Document Extraction From Email"

Symptom

This KBA is to list the most frequently asked question related to the irpa bot -  Business Document Extraction From Email (1x1)

Environment

SAP Business Bydesign

Resolution

Question 1: Where to find the information about this bot?

Answer: Link to Bot Store

Question 2: Importance and Usage of Outlook folder

Answer:

Bot is supposed to read emails only from Inbox folder, then download the attachment to local machine folders and moving the email to the outlook folder which is provided in "Outlook Folder" input.

When you execute the BOT, below is the sequence,

1. Read the Emails in the Inbox - searching emails with subject containing a search criteria

2. Download the attachments into local folder (windows)

3. Move those emails to the folder created under Inbox ( folder name which is specified in input)

Question 3: How the search works based on the search criteria provided in the Config file

Answer: Below is an example with Invoice as a search criteria

If we maintain subject as  "Invoice"  and operator as "Like" then bot will pick all the READ/UNREAD (depends on what we have selected in config file) mails which have subject containing "Invoice" as substring in it. For example if there is a mail with subject "Invoice1234", bot will download the attachments irrespective of attachment file names.

Question 4: Below are a few questions which englobe different e-mail domains for the iRPA bot:

(a) Is there any way to read other domains? if it is possible, which case is it possible?

(b) User's company account based on Gmail is connected by IMAP, however the bot cannot read it. If it is connected by POP, bot is able to read the company mail. If other domains are possible to connect, how to perform the setup?

(c) If an user is not using the Outlook software, and instead are using only the browser version, will the bot work as expected?

Answer: To follow the below suggestion there are two prerequisites

1. You set the system properly as per the Help portal

2. Please note this process involves possible security risks, which are at the user's own responsibility.

This may be an issue with the "less secure app access" on gmail account. Please set it as per the following description and retry:

  • Logon to Google, and enable IMAP
  • Click Settings (Gear icon top right -> See all Settings) or https://mail.google.com/mail/u/0/#settings/fwdandpop Next to IMAP Access
  • Click "Enable IMAP"
  • To get additional details about the connections, click the link to "(access Gmail from other clients using IMAP)" While in Google, you set the Less secure app access
  • Go to your Google account Navigate to Security -> Less secure app access ( https://myaccount.google.com/u/0/security ) Turn on.

As mentioned earlier , this is at customer's own risk

A less secure app (LSA) is an app that connects to Google accounts using only username and password verification for access and not OAuth . Generally, you should only allow your users to use external apps that connect to Google accounts via OAuth, as LSAs make user accounts more vulnerable to hijacking.

Question 5: Bot extracts all the images and attachments from all the Inbox

Answer: The most common cause for the issue is that there is no text entered in the Subject field in the Config file. Enter relevant subject and re-run the bot.

Question 6: How to update Desktop Agent, SDK Dependencies and the Bot?

For Desktop Agent and SDK dependencies version, refer to the Blog - Keeping robotic process automation environment up to date

Enable Agent Download and Automatic Updates | SAP Help Portal

Update a Dependency | SAP Help Portal

For Bot, check the bot in the store and use Update button to update it

Keywords

KBA , AP-ML-RPA-EXE-1X1 , Bot - Business document extraction from e-mail , Problem

Product

SAP Business ByDesign all versions