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.
- 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.
- Navigate to Google Forms.
- Click on the + Blank form button to create a new form.
- Name your form, for instance, "Loan Application Form".
- 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)
- 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.
- After creating the form, click on the Responses tab.
- 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.
- 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.
- 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.
- Ensure the columns are in the order provided above, and you're set to integrate the script!
- Open the generated Google Sheet.
- Go to Extensions > Apps Script.
- Copy and paste the provided LoanManagementApp and dashboard script into the script editor.
- Save and run the setup functions to initialize the necessary triggers.
- Ensure you have set the necessary permissions for sending emails and accessing the spreadsheet.
- Loan Application: Users fill out the Google Form for loan applications..
- Approval/Decline: Update the 'Approval Status' column to either 'Approved' or 'Declined'. If declined, provide a reason in the 'Comments' column.
- Repayment: Update the 'Repayment Amount' column as repayments are made. The system will automatically calculate the outstanding amount and update the loan status.
- Dashboard: The updateDashboard function will automatically update the dashboard sheet with the latest statistics every day at midnight.
- Monthly Reminders: The sendMonthlyReminders function will automatically send monthly reminders to borrowers on the 1st of every month at 9 AM.
- Logging: The logChanges function will automatically log changes made to the spreadsheet in the "Logs" sheet.
- 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, bug reports, and feature requests are welcome! Please open an issue or submit a pull request.
This project is open-source and available under the MIT License.