Skip to content

Keep track of split payments and send automated email reminders using a simple and easy to use Google sheet template and a Google Apps Script.

Notifications You must be signed in to change notification settings

MikaMags/split-pay-reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automated Reminders for Split Payments: A Simple Template

Spliting payments with friends? Keep track of payments and send automated email reminders via a simple and easy Google sheet template and a Google Apps Script.

Just fill in the sheet template and copy the js & html into its Apps Scripts.

Features

  • ✔️ Simple, ready to use Google Sheet template
  • ✔️ Calculates total payments
  • ✔️ Ready to run Google Apps script
  • ✔️ Simple HTML template for emails
  • ✔️ Sends out reminder emails to other members
  • ✔️ Sends payment status report email to owner

Setup & Installation

  1. Download the xlsx file and upload to your Google Drive.
  2. Fill in the Google Sheet template.
  3. File > Save as Google Sheets. This will copy the xlsx into a Google sheet file so that you can use a Google Apps Script with it.
  4. Extensions > Google Apps Script to start installing the scripts.

Adding the script files

  1. Paste all of notifyPeople.js into Code.gs

  1. Hit + and add a new HTML file. Name it notifyEmail and paste all of notifyEmail.html. Do the same for ReportEmail.html.
  2. Before this script runs properly, it needs to be authenticated. Click run and you'll see a pop up to authenticate & review permissions.
  3. This window like below will appear (yes, this is perfectly normal). This is to authorize the Apps Script application to access the sheet when running it for the first time. Choose an account & click allow. Click on show advanced & Go to [your project title].

Adding automation with Triggers

Add a Trigger to allow your script to run automatically periodically. In the Apps Script page of your script,

  1. Click on Triggers on the left toolbar menu with the clock icon.
  2. + Add Trigger on the bottom right.
  3. Fill the form as below. Set the non-highlighted ones to your requirements.

Some things you can customize

  • Things under the EDIT comments can be customized to your liking.
  • Links to the sheet can be inserted in the html of the emails.

Feedback

If you found this helpful, please consider giving this a ⭐ on Github and share it with your friends ♥️

If you have any feedback, please reach out at mmagsmbol@gmail.com or issue a pull request

Thank you

About

Keep track of split payments and send automated email reminders using a simple and easy to use Google sheet template and a Google Apps Script.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published