Templates / Track mandatory paid leave with Gemini, Gmail, Google Sheets and Slack

Track mandatory paid leave with Gemini, Gmail, Google Sheets and Slack

Ready for 3.0

by sho oda ✓ · 4 views · created 2026-08-31 · HR, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 12 nodes and runs on a schedule (cron 0 9 1 * *). Along the way it connects Google Sheets, Google Gemini Chat Model, Gmail and Slack.

How it runs

Trigger: On a schedule (cron 0 9 1 * *).

  1. Set Leave Rule Parameters (Edit Fields (Set)): sets 6 fields: spreadsheetId, grantMethod, fixedGrantMonthDay…
  2. Fetch Employee Data from Sheets (Google Sheets): uses Google Sheets
  3. Fetch Leave Records from Sheets (Google Sheets): uses Google Sheets
  4. Merge: merges the data from its input branches
  5. Compute Leave Deadlines (Code): runs custom JavaScript code
  6. Filter: keeps only the items that match a condition
  7. Gemini LLM Analysis (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Agent
  8. Notify Employee of Unused Leave (Gmail): uses Gmail
  9. Post Summary to HR on Slack (Slack): uses Slack
  10. Log Notifications in Sheets (Google Sheets): append

Services it uses

Google SheetsGoogle Gemini Chat ModelGmailSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

Quick overview This monthly workflow reads employee and leave data from Google Sheets, calculates who risks missing Japan’s mandatory paid-leave minimum, generates Japanese reminder copy with Google Gemini, then emails employees via Gmail, posts a summary to…

Excerpt from sho oda's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.