Templates / Automate employee leave approvals with GPT, Gmail & Calendar integration

Automate employee leave approvals with GPT, Gmail & Calendar integration

Ready for 3.0

by Avkash Kakdiya ✓ · 584 views · created 2025-12-23 · HR, AI Chatbot

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 13 nodes and runs when someone submits an n8n form (“Leave Request Form”). Along the way it connects OpenAI Chat Model, Gmail and Google Calendar.

How it runs

Trigger: When someone submits an n8n form (“Leave Request Form”).

  1. AI Agent: runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
  2. Send message and wait for response (Gmail): send and wait for a reply
  3. If: checks a condition and branches into true / false
  4. Send a message (Gmail): uses Gmail
  5. Booking Agent (AI Agent): runs an AI agent, with model: OpenAI; 2 tools (Get Events, Check Availability); output parser: Output Parser
  6. Send a message (Gmail): uses Gmail

Services it uses

OpenAI Chat ModelGmailGoogle Calendar

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 (7)

From the author

How it works This workflow automates the complete employee leave approval process from submission to final resolution. Employees submit leave requests through a form, which are summarized professionally using AI and sent for approval via email. The workflow…

Excerpt from Avkash Kakdiya'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.