Create a Slack channel and notify on leave requests
BotsArtificial IntelligenceCollaboration
What it does
When someone runs the apply leave request command in Slack, this automation creates a channel for that request. A notification is posted to confirm the channel was created and the leave request is ready for review.
Who it's for
HR teams who need to organize leave requests into separate Slack channels for tracking and approval.
Apps used
How teams use this
Organize leave requests by person
Each time someone submits a leave request, a dedicated channel is created so the HR team can discuss and approve it in one place without mixing it with other requests or losing context.
Route requests to a manager channel
Invite managers to a shared leave-requests channel instead of creating individual channels, so all approvals happen in one view and the team sees every request at once without channel clutter.
Add leave type and dates to the notification
Include the leave type, start date, and end date in the posted message so reviewers have all the details without opening another app. Set these fields in the command so the notification displays them.
Notify managers before channel creation
Filter leave requests by manager and send a direct message to the assigned manager before the channel is created. Only process requests that match the manager list so urgent approvals get immediate attention.
How it works
- Receive the apply leave request command. Someone runs the apply leave request command in Slack, which sends the request details to this automation in real time so the workflow can process it immediately.
- Create a channel for the request. A new Slack channel is created with a name based on the leave request so all discussion and approvals related to that request stay organized in one dedicated space.
- Post a notification in the channel. A message is posted as Slack Workbot to the new channel to confirm it was created and notify the team that the leave request is ready for review and approval.