Templates / Predict employee attrition risk with Google Sheets, OpenAI, Gmail, and Telegram

Predict employee attrition risk with Google Sheets, OpenAI, Gmail, and Telegram

Ready for 3.0

by Rahul Joshi ✓ · 36 views · created 2026-07-28 · 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 28 nodes and runs on a schedule (cron 0 8 * * 1) (plus 1 other trigger). Along the way it connects Slack, Google Sheets, OpenAI and Gmail and 1 more.

How it runs

Trigger: On a schedule (cron 0 8 * * 1) (plus 1 other trigger).

  1. Get Performance Review Data (Google Sheets): uses Google Sheets
  2. Get 1:1 Meeting Notes (Google Sheets): uses Google Sheets
  3. Get Attendance Data (Google Sheets): uses Google Sheets
  4. Get Engagement Survey Data (Google Sheets): uses Google Sheets
  5. Get Employee Master Data (Google Sheets): uses Google Sheets
  6. Slack: uses Slack
  7. Merge: merges the data from its input branches
  8. Merge Employee Data Sources (Code): runs custom JavaScript code
  9. Compute Rule-Based Risk Signals (Code): runs custom JavaScript code
  10. Loop Through Employees (Loop Over Items (Split in Batches)): loops over the items in batches

…plus 16 more steps. See the full node list below.

Services it uses

SlackGoogle SheetsOpenAIGmailTelegram

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

From the author

Quick overview This workflow runs weekly to pull HR datasets from Google Sheets, calculate rule-based attrition risk signals, and enrich them with an OpenAI (GPT-4o-mini) risk assessment. It logs results back to Google Sheets, sends high-risk alerts via…

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.