RPA E-mail Report
This is a small project created for academic purposes. The objective of this project is to build a RPA code that analyzes database originated information and automatically sends an E-mail Report regarding simulated purchase orders.
Packages used:
- pyautogui
- time
- pyperclip
- pandas
This automation mainly relies on pyautogui package in order to automatically control the mouse and keyboard to perform actions described below.
Getting the data
The data is collected from an online database, in order to download it we need to input our credentials.
RPA_email_report/RPA_email_report.py
Lines 28 to 44 in ab2c6ef
Data Analysis
The data acquired in question is presented in "Compras.csv". Now we need to access the .csv file and process the data in order to extract the output necessary for the report.
RPA_email_report/RPA_email_report.py
Lines 50 to 55 in ab2c6ef
Sending the E-mail Report
The last step is to send the e-mail report containing the output previously extracted from the "Compras.csv" file.
RPA_email_report/RPA_email_report.py
Lines 69 to 97 in ab2c6ef
Note: in this case sending the e-mail only works if you're previously logged in your e-mail account.
Disclaimer: the website used in this project was created as a form of simulating a log in process and the data presented in "Compras.csv" is fictitious and only used for academic purpose.