Templates / Build an OpenAI HR assistant for Telegram attendance and salary reports

Build an OpenAI HR assistant for Telegram attendance and salary reports

Ready for 3.0

by khaled yasser ✓ · 355 views · created 2026-02-16 · 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-10-19.

What this workflow does

This AI workflow has 41 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, Google Sheets, OpenAI Chat Model and Google Gemini Chat Model.

How it runs

Trigger: On Telegram events (message) (plus 1 other trigger).

  1. Route_New_vs_Existing (Switch): routes items into 3 branches
  2. Fetch_Today_Logs (Google Sheets): uses Google Sheets
  3. Fetch_All_Employees (Google Sheets): uses Google Sheets
  4. Msg_Ask_New_Emp_Data (Telegram): uses Telegram
  5. Agent_Onboarding (AI Agent): runs an AI agent, with model: Model_Onboarding; memory: Memory_Onboarding
  6. Agent_Classifier (AI Agent): runs an AI agent, with model: Model_Classifier; memory: Memory_Chat
  7. Filter: keeps only the items that match a condition
  8. Merge: merges the data from its input branches
  9. Validate_New_Emp_JSON (Code): runs custom JavaScript code
  10. Parse_AI_Response (Code): runs custom JavaScript code

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

Services it uses

TelegramGoogle SheetsOpenAI Chat ModelGoogle Gemini Chat Model

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

From the author

What Problem Does It Solve? - HR managers waste hours manually logging attendance, calculating work hours, and tracking salary advances in spreadsheets. - Onboarding new staff often involves messy paperwork or scattered chat messages. - Salary calculations…

Excerpt from khaled yasser'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.