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 critera 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: The question can be different pharse, below are few

(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, bot cannot read. If it is connected by POP, bot can read company mail. If other domain is possible to connect, how to set up mail?

(c) if an user is not using the Outlook software instead they use only the browser version, will the bot works as expected?

Answer: To follow the below suggestion there are two prerequistes

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

2. Please note (this is at customer's own risk)

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

  • 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 -> check it if solves the issue or not.

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