0% found this document useful (0 votes)
4 views10 pages

Python Monthly Expense

Uploaded by

zvsk8461
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
4 views10 pages

Python Monthly Expense

Uploaded by

zvsk8461
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 10

COLLEGE OF ENGINEERING & TECHNOLOGY, ARASUR.

(Reaccredited by NAAC & an ISO 9001:2008 Recertified Institution)

RECORD NOTE BOOK


2024 - 2025

SB8026 / ROBOTICS PROCESS AUTOMATION


(R-2021)
COLLEGE OF ENGINEERING & TECHNOLOGY, ARASUR.
(Reaccredited by NAAC & an ISO 9001:2008 Recertified Institution)

RECORD NOTE BOOK


2024 - 2025

SUBMITTED BY

STUDENT NAME :
REG NUMBER :
STUDENT ID :
YEAR / SEM : III / V
SUBJECT CODE / NAME : SB8026 / ROBOTICS PROCESS AUTOMATION (R-2021)
BRANCH : COMPUTER SCIENCE & ENGINEERING
V.R.S. COLLEGE OF ENGINEERING &
TECHNOLOGY, ARASUR.
(Reaccredited by NAAC & an ISO 9001:2008 Recertified Institution)

BONAFIDE CERTIFICATE

NAME : ……………………………………………………………………….
DEPARTMENT :………………………………………………………………………..
ROLL NO :…………………………………………………………………….....

Register No.

Certified that this is the bonafide record of work done by the above Student in the

....................................................................................................................................................................................

Laboratory during the year 2024 - 2025.

Head of the Department Lab-in-Charge

Submitted for the Practical Examination held on ..……………………………

Internal Examiner External Examiner


Integrating Python for Monthly Expense Analysis in UiPath

Project Description
This project aims to streamline the process of analyzing monthly expenses by integrating a Python

script within a UiPath workflow. The Python script processes a CSV file containing expense data,

calculates the monthly totals, and identifies the category with the highest expense. By combining

Python's data-processing capabilities with UiPath's automation tools, the workflow not only

executes the analysis but also sends an email with the results, ensuring efficient and automated

reporting.

Problem Statement
Organizations and individuals often track monthly expenses manually, which can be time-

consuming and error-prone. While Python scripts can handle data analysis efficiently, they lack

the automation and orchestration capabilities to integrate with other processes, such as

notifications or report generation. The challenge is to:

1. Automate the execution of the Python script for expense analysis.

2. Retrieve and process the results seamlessly in UiPath.

3. Notify stakeholders by email with the highest expense category.


Detailed Workflow
1. Workflow Design

The workflow is divided into three main components:

 Python Script Execution: Runs a pre-written Python script to analyze the CSV file.

 Result Processing: Captures the output of the Python script, specifically the highest

expense category.

 Email Notification: Sends an email to notify stakeholders of the analysis results.

2. Steps
Step 1: Input Excel File

 The CSV file (MonthlyExpenses.csv) contains columns for expense categories and amounts.

 Ensure the file is placed in a known location accessible to the workflow.


Step 2: Python Script Execution in UiPath

1. Set Up Python Scope:

o Use the Python Scope activity in UiPath Studio.

o Configure the Python executable path and script path.

2. Load Python Script:

o Load the Python script using the Load Python Script activity.
3. Invoke Python Script:

o Use the Invoke Python Method activity to call the analysis function in the script.

o Pass the CSV file path as an argument (if required).

o Capture the output, which contains the highest expense category.


Step 3: Process Script Output

 Retrieve and process the output from the Python script.

 If the output is in JSON format, deserialize it into a dictionary.

 Extract the highest expense category (e.g., "Groceries").


Step 4: Send Email Notification

1. Use the Send SMTP Mail Message activity to compose and send the email.

o To: Email address of the recipient.

o Subject: "Monthly Expense Analysis Report".

o Body: Include the highest expense category in the email body.

2. Ensure proper authentication for the email service (e.g., Gmail, Outlook).
Conclusion
By integrating Python for data analysis into UiPath, this project successfully automates monthly

expense reporting. The workflow:

 Simplifies the analysis process by eliminating manual tasks.

 Ensures seamless integration between Python's computational capabilities and UiPath's

automation features.

 Enhances operational efficiency by automating email notifications.

You might also like