Create a Team Calendar for PTO with Google Apps Script

Does your company have a company-wide PTO Google Calendar? If so, you can use this script to create a team PTO calendar for your own team

5/3/20231 min read

My company uses a shared PTO calendar in Google Calendar, where we can enter time off. I wanted to make a team calendar, specific to my team only so that I could share it and use it to report PTO for team members inside of Slack.

I created a Google Apps Script that will allow you to do this. If you use Google Calendar and your company uses a company-wide PTO calendar, this post is for you

The instructions to modify it for your needs are inline with the code.