Shata Solutions
← Back to marketplace
HR Automation

Leave Approval

Route PTO requests through manager and HR approval with calendar blocks and balance updates.

Automation overview

What this automation does

This automation starts when slack `/leave` command or BambooHR time-off request. It runs connected app steps, then slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google.

Trigger
Slack `/leave` command or BambooHR time-off request
Main actions
Final outcome
Slack `/leave` or BambooHR time-off request triggers manager Slack approve butto…
Execution time
30–90 seconds
Apps used
5 integrations
AI-powered
No
Difficulty
Advanced
Advanced
Workflow diagram

End-to-end scenario flow

Read-only visualization of how data moves from trigger to final result.

Trigger
Slack
Event detected
Router
BambooHR
Approve
Result
Google Sheets
Workflow complete
Step-by-step

How each step runs

  1. 1
    SlackTrigger
    Event detected

    Slack `/leave` command or BambooHR time-off request

  2. 2
    BambooHR
    Approve

    Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google

  3. 3
    Google Calendar
    Approve

    Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google

  4. 4
    Notion
    Approve

    Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google

  5. 5
    Google Sheets
    Approve

    Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google

  6. 6
    Google Sheets
    Workflow complete

    Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google

Apps used

Connected applications

Slack

Approve

BambooHR

Approve

Google Calendar

Approve

Notion

Approve

Google Sheets

Approve

Summary

Automation summary

Trigger
Slack `/leave` command or BambooHR time-off request
Inputs
Slack `/leave` command or BambooHR time-off request, Business Name, Notification Email, Timezone
Outputs
Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google
Business goal
Automate leave approval end-to-end with accurate app routing.
Execution frequency
On demand with batch fallback
Estimated runtime
30–90 seconds
Error handling
Failed steps retry up to 3 times with exponential backoff; persistent failures notify your configured channel and log to the run history.
Dependencies
Slack, BambooHR, Google Calendar
Benefits

Why use this automation?

Save ~4 hours/week

Remove repetitive steps from Leave Approval so your team focuses on high-value work.

Reduce manual work

Connected apps sync data automatically instead of copy-paste between dashboards.

Prevent human errors

Standardized logic runs the same way every time, with retries on failure.

Requirements

What you need to get started

Required apps

  • Slack
  • BambooHR
  • Google Calendar

Required accounts

  • Active Slack workspace with API access
  • Active BambooHR workspace with API access
  • Active Google Calendar workspace with API access
  • Shata Automation workspace (free tier supported)

Required API keys

  • OAuth tokens for each connected integration

Permissions

  • Read access on trigger sources (forms, sheets, webhooks, or CRM objects)
  • Write access on destination apps (email, chat, CRM, or storage)

Estimated setup time

  • 10 min including app authorization and test run
  • Difficulty: Advanced

Optional apps

  • Notion (optional)
  • Google Sheets (optional)

Automation runtime

Activate this template

PartialSome steps run in preview until their integrations go live.

Connect required apps via OAuth or API keys. Credentials are encrypted server-side. Dev test runs mock external actions when connections are missing.

Draft
0%
Activation readiness

Est. setup time: ~16 min

Required connections

  • Slack(required)
    Missing
  • bamboohr(required)
    Previewbamboohr: workflow actions run in preview
    Missing
  • Google Calendar(required)
    Test-onlyGoogle Calendar: workflow actions run in preview
    Missing
  • Notion(required)
    PreviewNotion: workflow actions run in preview
    Missing
  • Missing connection: Slack
  • Missing connection: bamboohr
  • Missing connection: Google Calendar
  • Missing connection: Notion
Manage all connections →View all installations →

Workflow summary

Trigger
Slack `/leave` command or BambooHR time-off request
Steps
6 nodes
Required apps
4
Optional apps
1

Trigger

Manual trigger

Run workflows on demand via Test run or Live test. Activate to enable scheduled/webhook triggers on other templates.

Run history

No runs yet. Install the template and run a test, or activate to receive webhook/schedule runs.

FreeAdvancedPartial10 min setup4.34.9k installs · 67 reviews
Customize for My Business
Analytics

Template performance

26.8k
Views
4.9k
Installs
742
Favorites
4.3
Avg rating
18.1%
Conversion
10 min
Setup time
94%
Success rate
59
Trending score
Most used integrations
SlackBambooHRGoogle Calendar

Slack `/leave` or BambooHR time-off request triggers manager Slack approve buttons, on approve HR auto-approve if balance sufficient in BambooHR, creates Google Calendar OOO block, updates team availability Notion, sends team Slack heads-up, and rejects with reason if blackout period from Sheets conflicts.

Some steps run in preview until their integrations go live.

Required apps
SlackLiveBambooHRPreviewGoogle CalendarTest-onlyNotionPreview
Optional apps
Google SheetsLive
All integrations
SlackBambooHRGoogle CalendarNotionGoogle Sheets
Workflow preview

How Leave Approval runs

1
Trigger
Load blackout dates
2
Process
Rule engine
3
Action
slack
4
Notify
Alert & log
SlackBamboohrGoogle CalendarNotionGoogle Sheets
Setup steps

Get started in 5 steps

  1. 1
    Connect leave systems

    BambooHR balances, Slack approvals, Google Calendar, Notion team calendar.

  2. 2
    Load blackout dates

    Sheets company blackout and team minimum coverage rules.

  3. 3
    Configure approval chain

    Manager then HR for >5 days; manager only for single day.

  4. 4
    Update calendars

    OOO event on employee and optional team shared calendar.

  5. 5
    Test insufficient balance

    Request exceeding balance returns clear rejection message.

Variables

Configurable settings

VariableTypeDefaultRequired
Business NametextYour BusinessYes
Notification EmailemailYes
TimezoneselectYes
Slack Channeltext#generalNo
Google Sheet IDtextNo
Sheet RangetextSheet1!A:ZNo
FAQ

Frequently asked questions

Half-day leave?

Supports AM/PM half-day with partial calendar block.

Sick leave?

Sick type skips blackout check; notifies HR only.

Cancel approved leave?

Cancel command removes calendar block and restores balance.

Multi-timezone teams?

OOO shows in requester's timezone with UTC note for global teams.

Get started

Customize Leave Approval for your business

Our team can adapt this template to your exact workflow, apps, and brand requirements.