Templates / Employee attrition risk detection & HR alerts using Azure OpenAI GPT-4o-mini & Gmail

Employee attrition risk detection & HR alerts using Azure OpenAI GPT-4o-mini & Gmail

Ready for 3.0

by Rahul Joshi ✓ · 250 views · created 2025-10-06 · 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-10-19.

What this workflow does

This AI workflow has 9 nodes and runs on Google Drive events (file created). Along the way it connects Azure OpenAI Chat Model, Google Drive and Gmail.

How it runs

Trigger: On Google Drive events (file created).

  1. Download resume (Google Drive): download
  2. Extract text (Extract from File): extracts data from a file (pdf)
  3. Calculate avg span (AI Agent): runs an AI agent, with model: Azure OpenAI Chat Model; output parser: Structured Output Parser
  4. Logic (If): checks a condition and branches into true / false
  5. Create email (Code): runs custom JavaScript code
  6. Send email to hr (Gmail): uses Gmail

Services it uses

Azure OpenAI Chat ModelGoogle DriveGmail

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

From the author

Description Automatically ingests new employee data, extracts relevant signals, scores attrition risk, and notifies HR/managers with structured insights and recommended actions. Built on Azure OpenAI Chat with Structured Output Parser and true/false routing…

Excerpt from Rahul Joshi'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.