Symptom
This documentation have the detailed steps about, how to trigger “Business Document Extraction from Email” bots using API call?
Environment
SAP Business Bydesign
Resolution
Reference Documentation - Help Center
Postman Collection API - iRPA API Testing.postman_collection.json
Steps to setup the Triggered Bots using API call:
- Create communication scenarios under work center view Application and User Management - Communication Scenarios
Service Name: iRPAServiceInboundSI
2. Create communication arrangement under work center view Application and User Management - Communication Arrangements
3. Now to go to WCV Application and User Management - Service Explorer, search with iRPA*, download the WSDL file and make a note of URL
4. Register the tenant in desktop Studio
5. Go to the Intelligent Robotics Process Automation Factory
6. Go to Environments tab-> Add package
7. Add agents
8. Create API Key under environments-> Make a note of API Key as it will generate only once
Make a note of API Key as it will generate only once
9. Add triggered
Select the package
Select radio button API
Give the name and click on create button
Copy the payload and URL
10. Below is the process to run the bots using Postman-> Import below collection in your local postman
Refer to the Attachment "iRPA API Testing.postman_collection.json"
You can get the two requests; one is to get authorization token and another one is to run the bots
Below GET request URL is coming from Service explorer created from step 3
Give the Content Type: text/xml
Below is the XML payload from Service explorer created from step 3
Below is the script to set authorization token at collection level
Now in the second request, Enter the URL from step 9
Enter the iRPA API Key from step 8, and authorization and content type as below
Give the payload as per step 9
Now run the collection
Check the status of request
11. To check the bot’s execution, go to iRPA Monitoring->Jobs, you can find the bots is scheduled.
Same can be verify at desktop agent as well
Keywords
Bots; IRPA; bots using APIs, triggered , KBA , AP-ML-RPA-EXE , ByDesign - Robotics process Automation - Bots Execution , How To
Product
Attachments
iRPA API Testing.postman_collection.json |