• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

charmaine

availability-calendar

Sends PTO reminders to Slack from shared team Google Calendar
Public
Like
1
availability-calendar
Home
Code
7
.vscode
.cursorrules
README.md
demo.ts
googleCalendar.ts
C
main.tsx
utils.ts
Branches
1
Pull requests
Remixes
History
Environment variables
1
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
7/16/2025
Viewing readonly version of main branch: v115
View latest version
README.md

PTO Slack Bot

Sends PTO reminders to Slack from shared Google Calendar.

Setup

1. Pipedream Calendar Connection

  1. Go to pipedream.val.run
  2. Select Google Calendar → List Events
  3. Connect your Google account
  4. Set Calendar ID to your shared PTO calendar
  5. Copy the generated code to googleCalendar.ts

2. Slack Webhook

  1. Go to api.slack.com/apps
  2. Create app → From Scratch → Select workspace
  3. Incoming Webhooks → Toggle ON → Add New Webhook
  4. Select your #ooo channel → Copy webhook URL
  5. Add environment variable: SLACK_WEBHOOK_URL = webhook URL
  6. Set cron schedule: 0 14 * * * (9 AM EST daily)

Testing

  • Change line 15 in main.tsx to const today = 1 to test Monday messages
  • Run cron manually to test

Messages

  • Monday 9 AM: Weekly PTO overview
  • Daily 9 AM: "Starting Tomorrow" reminders
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2026 Val Town, Inc.