Skip to content

LoanManagementApp is an automation tool designed to streamline the loan application, approval, and repayment processes. Built on Google App Script, it integrates seamlessly with Google Sheets, offering real-time data processing, notifications, and monthly reminders.

License

Notifications You must be signed in to change notification settings

CarlosMaundu/LoanProcessingAutomation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LoanManagementApp

Description

LoanManagementApp is a comprehensive loan management automation tool built on Google App Script. It's designed to work with Google Sheets, providing a user-friendly interface for loan application, approval, and repayment processes. The system offers real-time data processing, email notifications, and monthly repayment reminders, ensuring efficient and smooth loan lifecycle management.

Features

  • Loan Application Processing: Automatically generates a unique Loan ID upon application submission and sets the initial loan status.
  • Dynamic Loan Periods: Sets loan periods based on the requested loan amount.
  • Automated Notifications: Sends email notifications to applicants upon loan approval or decline, with reasons for decline.
  • Repayment Management: Calculates outstanding amounts, updates loan statuses, and sends monthly reminders for repayments.
  • Triggers & Automation: Uses Google App Script triggers to automate various processes, ensuring real-time data processing.
  • Dashboard: There is a dashboard sheet with various loan statistics, including total loans, total amount loaned, defaulted loans, loan amount distribution, and more.
  • Logging: The system logs the activities performed by the users on the google sheet to ensure there is an audit log.

Setup

Google Form Creation

  1. Navigate to Google Forms.
  2. Click on the + Blank form button to create a new form.
  3. Name your form, for instance, "Loan Application Form".
  4. Add the following fields to your form:
  • Full Name: Text field (Required)
  • Phone Number: Text field (Required)
  • Email Address: Text field (Required)
  • Loan Amount Requested: Number field (Required)
  • Purpose of the Loan: Dropdown or multiple choice (Options: Business Support, Medical, School Fees, Emergency Expenses, Utility Bills, Other) (Required)
  • Do you have an existing Loan: Multiple choice (Options: Yes, No) (Required)
  • Terms and Conditions: Paragraph text (Paste the provided "Loan Details" content here)
  • I have read and agree to the terms and conditions: Checkbox (Option: I Agree) (Required)
  1. Once you've added all the fields, click on the Send button on the top right corner. Choose the link option and share the form with your intended audience.

Generating the Google Sheet

  1. After creating the form, click on the Responses tab.
  2. Click on the green Sheets icon. This will create a new Google Sheet that's linked to the form. All responses to the form will automatically populate this sheet.
  3. In the generated Google Sheet, you'll notice columns for Timestamp, Full Name, Phone Number, Email Address, Loan Amount Requested, Purpose of the Loan, Do you have an existing Loan, and I have read and agree to the terms and conditions.
  4. Manually add the following columns to the sheet:
  • Loan ID (C): This will be auto-generated by the script.
  • Approval Status (K): Dropdown with options: Pending, Approved, Declined.
  • Loan Period (L): This will be auto-populated based on the loan amount.
  • Loan Approval Date (M): Date field.
  • Repayment Due Date (N): Date field.
  • Repayment Amount (O): Number field.
  • Outstanding Amount (P): This will be auto-calculated by the script.
  • Loan Status (Q): Dropdown with options: In Progress, Completed, Defaulted.
  • Comments (R): Text field for any additional comments or reasons for declining a loan.
  1. Ensure the columns are in the order provided above, and you're set to integrate the script!

Script Integration

  1. Open the generated Google Sheet.
  2. Go to Extensions > Apps Script.
  3. Copy and paste the provided LoanManagementApp and dashboard script into the script editor.
  4. Save and run the setup functions to initialize the necessary triggers.
  5. Ensure you have set the necessary permissions for sending emails and accessing the spreadsheet.

Usage

  1. Loan Application: Users fill out the Google Form for loan applications..
  2. Approval/Decline: Update the 'Approval Status' column to either 'Approved' or 'Declined'. If declined, provide a reason in the 'Comments' column.
  3. Repayment: Update the 'Repayment Amount' column as repayments are made. The system will automatically calculate the outstanding amount and update the loan status.
  4. Dashboard: The updateDashboard function will automatically update the dashboard sheet with the latest statistics every day at midnight.
  5. Monthly Reminders: The sendMonthlyReminders function will automatically send monthly reminders to borrowers on the 1st of every month at 9 AM.
  6. Logging: The logChanges function will automatically log changes made to the spreadsheet in the "Logs" sheet.

Future Enhancements

  • Integration with external databases for more robust data storage.
  • Enhanced reporting features for loan statistics and insights.
  • Integration with other communication platforms for notifications, such as SMS.

Contributions

Contributions, bug reports, and feature requests are welcome! Please open an issue or submit a pull request.

License

This project is open-source and available under the MIT License.

About

LoanManagementApp is an automation tool designed to streamline the loan application, approval, and repayment processes. Built on Google App Script, it integrates seamlessly with Google Sheets, offering real-time data processing, notifications, and monthly reminders.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published