https://github.com/mohith-das/slackbot-leave-app
Slack leave-request slash command to Google Sheets.
https://github.com/mohith-das/slackbot-leave-app
apps-script automation google-sheets slack webhook
Last synced: 19 days ago
JSON representation
Slack leave-request slash command to Google Sheets.
- Host: GitHub
- URL: https://github.com/mohith-das/slackbot-leave-app
- Owner: mohith-das
- Created: 2026-01-03T21:54:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2026-01-03T22:15:33.000Z (6 months ago)
- Last Synced: 2026-03-01T08:33:55.296Z (5 months ago)
- Topics: apps-script, automation, google-sheets, slack, webhook
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SlackBot Leave App
Slack slash-command webhook that logs leave requests into a Google Sheet.
## Highlights
- Parses `from/to/reason` fields from a single command.
- Appends structured rows to `Leave Log`.
- Simple Apps Script Web App deployment.
## Tech
Apps Script, Slack, Google Sheets
## Setup
1. Open the target Google Sheet and go to Extensions -> Apps Script.
2. Paste `leave_sheet_appscript.js` into the project.
3. Deploy as a Web App (execute as you, access: anyone with the link).
4. Create a Slack slash command that POSTs to the Web App URL.
## Usage
- Format: `/apply-leave from [DD/MM/YYYY HH:MM] to [DD/MM/YYYY HH:MM] reason [Text]`
- The script appends a row with user, dates, and reason.
## Notes
- Adjust the sheet name if your log tab is different.