Automation library · Data collection

Employee attendance tracker with Telegram Bot

Started by an incoming Telegram message, and works across Google Sheets and Telegram. 22 steps, 7 branches: large, and worth reading before you trust it with anything live.

Large

22 stepsLarge: read it before trusting it with anything live
7Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Logic 8Service 13

The steps in the order they run, from what starts it.

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2IF /start|/menuIfLogic
  3. 3IF menu_attendanceIfLogic
  4. 4IF menu_attendance_statusIfLogic
  5. 5IF callback_queryIfLogic
  6. 6Send Main MenuTelegramService
  7. 7Send Check In/Out MenuTelegramService
  8. 8Sheets Read (employee)Google SheetsService
  9. 9Sheets Read (employee)1Google SheetsService
  10. 10IF employeeIfLogic
  11. 11IF EmployeeIfLogic
  12. 12Sheets Read (Attendance Status)Google SheetsService
  13. 13Reply Not EmployeeTelegramService
  14. 14Sheets Read (duplicate attendance)Google SheetsService
  15. 15Reply Not Employee1TelegramService
  16. 16AggregateAggregateLogic
  17. 17IF duplicate attendanceIfLogic
  18. 18Format Attendance StatusFunction ItemService
  19. 19Reply Duplicate AttendanceTelegramService
  20. 20Sheets Append (Attendance)Google SheetsService
  21. 21Reply Attendance StatusTelegramService
  22. 22Reply Attendance OKTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
22, with 7 branches
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 22 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 22 steps before you point it at anything that matters.