Employee attrition risk detection & HR alerts using Azure OpenAI GPT-4o-mini & Gmail
Ready for 3.0What 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).
- Download resume (Google Drive): download
- Extract text (Extract from File): extracts data from a file (pdf)
- Calculate avg span (AI Agent): runs an AI agent, with model: Azure OpenAI Chat Model; output parser: Structured Output Parser
- Logic (If): checks a condition and branches into true / false
- Create email (Code): runs custom JavaScript code
- Send email to hr (Gmail): uses Gmail
Services it uses
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)
- Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Drive Trigger
n8n-nodes-base.googleDriveTrigger - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - AI Agent
@n8n/n8n-nodes-langchain.agent - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail
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…