slack-status-auto-updater

Automatically update your Slack status based on your work schedule, breaks, and holidays using Google Apps Script and Slack API.

MIT License

Stars
7
slack-status-auto-updater - Slack Status Updater v1.2.0 Latest Release

Published by wiraqutra 3 months ago

Slack Status Updater v1.2.0

What's New

  • Optimized performance with reduced API calls
  • Daily random emojis for lunch and break statuses

Detailed Changes

  • Reduced Slack API calls by comparing new status with previous status before updating
  • Implemented a system to use random emojis for lunch and break statuses that change daily
  • Added more US federal holidays to the VACATION_PERIODS constant

Performance Improvements

  • The script now only calls the Slack API when there's an actual change in status, significantly reducing the number of API calls

Customization

Users can easily customize work hours, holidays, and emoji sets to fit their specific schedules and company policies. See the README for detailed instructions on how to modify these settings.

Notes

  • Random emojis for lunch and break are consistent throughout the day but change daily

Feedback

I welcome your feedback and contributions! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on GitHub.

slack-status-auto-updater - Initial Release of Slack Status Updater

Published by wiraqutra 3 months ago

Slack Status Updater v1.0.0

I'm excited to announce the initial release of Slack Status Updater! This Google Apps Script automatically updates your Slack status based on your work schedule, breaks, and holidays.

Features

  • 🕒 Automatically sets your Slack status to "Active" during work hours
  • 🍽️ Updates status for lunch breaks and short breaks
  • 🏖️ Sets status to "Away" outside of work hours and on weekends
  • 🎉 Recognizes holidays and special vacation periods
  • 🌎 Easily customizable for different time zones and work schedules

How to Use

  1. Copy the slackStatusUpdater.gs script to your Google Apps Script project.
  2. Set up a Slack API token and add it to your script properties.
  3. Customize the work hours, breaks, and holidays in the CONSTANTS object.
  4. Set up a time-based trigger to run the script automatically.

Customization

The script is highly customizable. You can easily modify:

  • Work hours
  • Break times
  • Holiday periods
  • Status messages and emojis
  • Time zone

Check the README for detailed customization instructions.

Requirements

  • Google account
  • Slack workspace with necessary permissions to create and use API tokens

What's Next

I'm committed to improving Slack Status Updater. In future updates, I plan to:

  • Add support for different status updates based on calendar events
  • Implement more flexible scheduling options
  • Enhance error handling and logging

I welcome your feedback and contributions to make this tool even better!

Thank You

Thank you for using Slack Status Updater. I hope it helps streamline your Slack presence management and improves your team's communication.

Happy status updating! 🎉