Skip to main content

Send employee leave alerts from Google Sheets via Slack and Gmail

Workflow preview

Workflow preview
100%
Send employee leave alerts from Google Sheets via Slack and Gmail preview
Open on n8n.io

1. Workflow Overview

Description Automate employee leave tracking and communication with structured notifications and reminders . This workflow checks a centralized Google Sheet daily to detect when leave period...

Best for

  • HR automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.splitinbatches, n8n-nodes-base.slack, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rahul Joshi.

Original n8n.io source

1.1 Workflow description

Title
Send employee leave alerts from Google Sheets via Slack and Gmail
Workflow name
Send employee leave alerts from Google Sheets via Slack and Gmail

๐Ÿ“Š Description

Automate employee leave tracking and communication with structured notifications and reminders ๐Ÿ“…๐Ÿ“ฃ. This workflow checks a centralized Google Sheet daily to detect when leave periods start or end. When leave begins, it notifies your HR Slack channel and reminds the employee to update their availability. When leave ends, it sends a return notification and follow-up reminder. All actions are reflected back in Google Sheets to maintain a single source of truth. Ideal for growing teams that want a simple, reliable way to manage leave visibility without manual follow-ups or status tracking.

What This Template Does

๐ŸŒ Runs automatically on a daily schedule ๐Ÿ“„ Reads employee leave data from Google Sheets ๐Ÿงฎ Validates and evaluates leave start and end dates ๐Ÿ”€ Routes employees into activation or reset flows ๐Ÿ“ฃ Sends Slack notifications to the HR or admin channel ๐Ÿ“ง Sends reminder emails to employees at the right time ๐Ÿ“Š Updates leave status in Google Sheets to prevent duplicates ๐Ÿ” Processes employees sequentially for reliable execution

Key Benefits

โœ… Eliminates manual leave tracking โœ… Improves visibility for HR and leadership โœ… Ensures employees receive timely reminders โœ… Prevents duplicate notifications using status flags โœ… Keeps Google Sheets updated as the single source of truth โœ… Scales easily as your team grows

Features

  • Daily scheduled leave check
  • Google Sheets as centralized leave database
  • Smart activation and reset logic
  • Slack channel notifications
  • Automated employee reminder emails
  • Status tracking with idempotent processing
  • Sequential execution to avoid API rate limits
  • Configurable Slack channel settings

Requirements

  • Google Sheets OAuth2 credentials
  • Slack OAuth2 credentials
  • Gmail OAuth2 credentials
  • Google Sheet with the following columns:
  • Employee Email, Name, Start Date, End Date, Status, Last Updated

Target Audience

๐Ÿข HR and People Operations teams ๐Ÿš€ Growing startups managing distributed teams ๐Ÿ“Š Operations teams needing structured leave tracking ๐Ÿค– Automation builders creating internal workflow systems

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Holiday Workflow Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Daily Leave Check Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1

Block 3 - Fetch Leave Records

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 4 - Validate & Normalize Leave Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Check Needs Activation

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 6 - Check Needs Reset

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 7 - Process Activations Sequentially

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 8 - Notify HR Channel

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 9 - Send OOO Reminder Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 10 - Process Resets Sequentially

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 11 - Notify HR Leave Reset

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 12 - Send Welcome Back Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 13 - Mark Leave As Inactive

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 14 - Mark Leave as Active

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Send employee leave alerts from Google Sheets via Slack and Gmail
Complexity advanced
Nodes 17
Categories HR
Author Rahul Joshi
Published 19 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13521/13521.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Send employee leave alerts from Google Sheets via Slack and Gmail do?

Description Automate employee leave tracking and communication with structured notifications and reminders . This workflow checks a centralized Google Sheet daily to detect when leave period...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your HR use case.