Skip to Content
User Experience Insights
Author's profile photo Eugene You

Bot for Automating Sales Order Creation from Unstructured Data

Hi guys, I am glad to share with you that a new bot has been released for automating sales order creation from unstructured data in Fiori app Create Sales Orders – Automatic Extraction 👏. The bot is available in SAP Intelligent Robotic Process Automation (RPA) Factory.

Briefly, in this blog, I’m going to share with you:

  • Purpose to design this bot
  • Prerequisites for using the bot
  • How to start the bot
  • How to disable the bot
  • How to cancel a running job



Sales order processing plays a key role in the order-to-cash process for enterprises. In B2B scenarios, internal sales representatives often get order requests from files that contain unstructured data, like PDF attached in emails. Then they have to create sales orders manually in the system based on the received PDF. This is time-consuming and error-prone.


Internal sales representatives.


The bot monitors incoming emails, collects order files that contain unstructured data, and uploads the files to the Fiori app. After processing by the Fiori app, the bot notifies salesperson of the sales order requests that have been created, or returns error messages if such creation fails.

Bot processing details:

  1. The bot scans your outlook inbox (based on the email account preconfigured for bot scan) and searches within the subject of all unread emails for the preconfigured key word(s).
  2. If the key word is found, the bot downloads attached files (PDF, JPG, JPEG, TIF, TIFF, and PNG formats supported) from the emails to a local folder.
  3. The bot opens the Create Sales Orders – Automatic Extraction app in Chrome using the preconfigured account and password (Fiori launchpad access), and uploads the files one by one.
  4. After all files have been uploaded, the bot closes the app and sends a log to the email account preconfigured for receiving bot notifications.

Note: When the bot attempts to create sales order requests in the Fiori app, user operations may cause bot errors. We strongly recommend running the bot on a separate PC or server.


Prerequisites for Using the Bot

Fiori App: authorization to access Create Sales Order Automatic ExtractionCreate%20sales%20order%20automatic%20extraction

Create sales order automatic extraction

You can refer to Create Sales Orders – Automatic Extraction for more information about this App.

Desktop Agent: Local software to run bot. ( macOS not supported yet).

You can access  SAP Software Download Center and search for ‘robotic’.


Desktop Agent

Google Chrome: Chrome is recommended and ‘SAP intelligent RPA Chrome extension’ is required. you can find it in Chrome webstore If you cannot find it in Chrome extension, please try Extension for SAP Intelligent RPA. And don’t forget to activate it on your chrome after installing.

SAP Intelligent RPA Account: Account to schedule/configure/monitor bot. 


Environment Setup & Bot Configuration

Please download the bot from the cloud store of your Intelligent Robotic Process Automation Factory, and there are guidelines for bot deployment (including configuration and test scripts).

To know more about SAP Intelligent Robotic Process Automation Factory, refer to the following:


How to start the bot

There are two types of triggers that are frequently used.

  • Attended – run the bot manually on the desktop agent.
  • Scheduled – run the bot with scheduled frequency automatically.

Trigger with ‘Attended’

Open ‘Desktop Agent’ on your local PC, and click ‘Project’ at the bottom. You will be able to see the bots configured under your agent. If not there, please check your agent and environment settings. Click ‘Start’ to start your bot.

After the bot is started(desktop agent icon in toolbar becomes purple

), a task item is generated on your desktop agent. Click it to run the bot.


Trigger with ‘Scheduled’

If the trigger type is ‘Scheduled’, the system automatically runs the bot as scheduled.

Note: With both trigger types, the bot would open the Fiori app in the foreground, not in the background.


How to Disable Scheduled Bot

Log on to the your SAP Intelligent Robotic Process Automation Factory. Choose the target environment

In the ‘Trigger’ panel, choose ‘Triggers’.

Disable the unwanted trigger.


How to Cancel Running  Job

Occasionally, a bot cannot properly complete a job but keeps running. To cancel the job, log on to the Factory, click ‘Monitoring’, and you will see all running jobs. In the list page, choose the one you want to cancel and click ‘Cancel jobs’.


What’s More

Hope you get something new from here, and we will continue updating this blog. If you have any questions or ideas, please feel free to contact us.


Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Alexandra Marinescu
      Alexandra Marinescu

      Great job on the article! What's not clear to me is, how does the app transform the PDF into the sales order after retrieving it from inbox? If it's unstructured, isn't some kind of mapping still required?

      Author's profile photo Eugene You
      Eugene You
      Blog Post Author

      Hi Alex, It's relied on SAP DOX machine learning technics Document Information Extraction. After the PDF is uploaded in the app, the file will be sent to DOX system and extract the unstructured data based on their training models. After that, our APP will get the extracted data via API and do the determination to convert the text to SAP Code.

      Author's profile photo Alexandra Marinescu
      Alexandra Marinescu

      Thanks for your reply, Eugene!

      Author's profile photo Abhijeet Kamble
      Abhijeet Kamble

      Nice Blog Eugene!

      But I did not get how you are handling unstructured data like plain text, word file, email body?


      Author's profile photo Eugene You
      Eugene You
      Blog Post Author

      Hi Kamble,

      It's the iRPA bot to take the unstructured data from the email attachment, only PDF, png,tif, tiff, JEG and JPEG are supported. As to content or image in the email body is not under consideration as well.

      Author's profile photo Amy Liu
      Amy Liu

      hi, i'm very interested in this bot online orders creating. please contact me i want to learn more abt it.