{"repo":"wiraqutra/slack-status-auto-updater","free":true,"listed":false,"github":"https://github.com/wiraqutra/slack-status-auto-updater","clone":"git clone https://github.com/wiraqutra/slack-status-auto-updater.git","description":"Automatically update your Slack status based on your work schedule, breaks, and holidays using Google Apps Script and Slack API.","language":"JavaScript","stars":24,"topics":["automation","google-apps-script","slack"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Slack Status Updater 日本語版の説明はこちら - Japanese version here (Qiita) Automatically update your Slack status based on your work schedule, breaks, and holidays using Google Apps Script and Slack API. Features - Automatically sets your Slack status to \"Active\" during work hours and \"Away\" outside work hours - Updates status for lunch breaks and short breaks with random emojis that change daily - Sets status to \"Away\" on weekends - Recognizes holidays via a Google Calendar (the calendar must be added/subscribed to the executing account) - Recognizes special vacation periods (e.g., Independence Day, Thanksgiving, Christmas) - Easily customizable for different work schedules and company-specific holidays Prerequisites - A Google account - A Slack workspace with the necessary permissions to create and use API tokens - Basic knowledge of Google Apps Script Setup 1. Create a new Google Apps Script project 2. Copy and paste the provided code into the script editor 3. Set up a Slack API token: - Go to Slack API - Create a new app or use an existing one - Add the following OAuth scopes: users.profile:write , users:write - Install the app to your workspace and copy the Bot User OAuth Token 4. In the Google Apps Script project, go to Project Settings Script Properties 5. Add a new property named USER TOKEN and paste your Slack API token as the value Holiday Calendar ID (Optional but recommended) This script can detect holidays using a Google Calendar. Important: CalendarApp.getCalendarById() c","default_branch":null,"files":null,"tree":[],"storefront":"/r/wiraqutra","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wiraqutra/slack-status-auto-updater/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}