Generate employee retention analytics reports with GPT-4o and Gmail digests
Ready for 3.0What this workflow does
This AI workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets, Azure OpenAI Chat Model and Gmail.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Candidate Data Fetch (Google Sheets): uses Google Sheets
- Trait Summary Fetch (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
- Candidate Scoring & Data Normalization (Code): runs custom JavaScript code
- Data Validation (If): checks a condition and branches into true / false
- Retention Digest Generator (Basic LLM Chain): sends a prompt to an LLM, with model: AI Processing Backend
- Error Handling Logic (Google Sheets): append
- Email Delivery (Gmail): work with message
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Azure OpenAI templates (88) · Other Gmail + Azure OpenAI templates (57)
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 (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - Merge
n8n-nodes-base.merge - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Gmail
n8n-nodes-base.gmail
From the author
Description This workflow automates employee retention analytics by combining candidate performance data with trait-level retention statistics. It scores candidates, validates data, and generates a polished Retention Digest HTML email using GPT (Azure…