Report generation and dissemination overview
Example overview
Problem statement
Many companies need to prepare and send out reports to stakeholders within the company. Reports can range from customer usage (for sales and marketing purposes) to system uptimes (for monitoring). The purpose of this business case is to grab details and generate Excel reports to send to internal stakeholders.
Existing manual process
Commonly, an employee should open an appropriate file, search for the data, and copy-paste the required information to an Excel document. Afterwards, the employee has to open mail service, attach the needed file and send the email to internal stakeholders.
Automation solution
In this example, an RPA bot task will grab all data from five input log files in the .json format, put the data to the online json-to-csv converter, transfer the result to an .csv file, and adjust the file to a proper view with four result columns. After that modification, the file will be saved in the .xslx format and sent to ten persons. You just start it, and a bot will do all the necessary actions by itself. As a result, ten persons will receive a mail with the attached Excel file. One more option allows to apply reusable script components in your own scripts without any modifications.
Reusable components
In this example, there are 5 reusable components:
- Copy files content into clipboard
- Paste content to the website and download the file from the web page
- Fix the Excel file content
- Send emails with attachments via Outlook to specified persons
- Close Outlook
Example overview video
Preconditions
- Install to your PC:
- WorkFusion Studio (Intelligent Automation Cloud Business)
- Any of these browsers: Google Chrome, FireFox, or Internet Explorer. Mind if your browser is managed by your organization, the script may require some changes and won't work out-of-the-box
- MS Excel (version doesn't matter)
- MS Outlook (version doesn't matter). Email account should be configured and logged in providing a bot with the option to send emails
- Download the example.
Installation and getting started
- Install Intelligent Automation Cloud Business.
- Download an example with an Excel template.
- Add the example to your Studio as described here.
- Copy the metrics in the .json format to any appropriate folder (for example, C:\Examples).
- Change the path in the
path_to_foldervariable. - Change the mail addresses in the
mail_listlist variable. - Make sure your Outlook account is configured to send emails.