Build a bot to upload documents to Document Automation
- Última actualización2024/10/31
Build a bot to upload documents to Document Automation
Build a bot to upload documents to a specific learning instance for processing and extraction.
Antes de empezar
- Ensure you have the name of the destination learning instance.
- If you have an adequate amount of Bot Runners connected. For
instructions on connecting a Bot Runner, see step 5 of Configurar el entorno del usuario de Document Automation.Nota: You need a dedicated Bot Runner for this bot and additional Bot Runners for the
extraction
anddownload
bots, depending on the average number of pages in the documents. Review the explanation below for more guidance on how many Bot Runners are needed. - Decide on the scheduling interval for deploying this bot with a maximum interval of every thirty minutes.
- Determine the average number of pages in the documents awaiting upload.
This bot is necessary for end-to-end automation of the document
extraction process. When deployed, the bot checks if there are enough Bot Runners to handle the documents, by comparing the number of files
already uploaded against a calculated value. The calculation considers the number of Bot Runners, scheduling interval, and average number of pages in the
documents.
Nota: This step is important as it controls the number of documents being
uploaded to ensure smooth processing and avoid overloading the Bot Runners, which might cause a time-out error.
To determine the number of Bot Runners needed, consider the following:
- One Bot Runner can process a single-page document in one minute.
- One Bot Runner can process a two-page documents in two minutes.
- One Bot Runner can process 1440 single-page documents in one day.
- Two Bot Runners can process two single-page documents in one minute.
Nota: The current Bot Runner
driven architecture of Document Automation is a constraint to facilitate
the real-time or near-real-time processing.
Use this equation to determine how many Bot Runners are needed:
Number of Documents to Process per day * Average Number of Pages per document / 1440 = Number of Bot Runners
Nota: If the equation result is not an integer, you must round up to the next whole
number to obtain an adequate number of Bot Runners. For example, if
the equation result is 4.2, you will need 5 Bot Runners.
To learn more, search for the Document Automation Developer course in Automation Anywhere University: RPA Training and Certification (A-People login required).
As an example, if you want to process 10,000 documents each day with an average of one
page per document, you need seven Bot Runners:
10,000 documents * 1 page per document / 1440 = 7 Bot Runners
Procedimiento
To build the bot, follow these steps:
The completed bot should resemble the one in the image below:
Qué hacer a continuación
Publish the process and bot. See step 3 of Publicar la instancia de aprendizaje en producción