Skip to main content

Employee attendance tracker with Telegram Bot and Google Sheets

Workflow preview

Workflow preview
100%
Employee attendance tracker with Telegram Bot and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Attendance Telegram App with Google Sheets Manage employee attendance directly through Telegram with seamless Google Sheets integration. Employees can check in, check out, and view their daily atte...

Best for

  • HR automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.if, n8n-nodes-base.telegram, n8n-nodes-base.aggregate, n8n-nodes-base.googlesheets, n8n-nodes-base.functionitem, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Singgi Aditya.

Original n8n.io source

1.1 Workflow description

Title
Employee attendance tracker with Telegram Bot and Google Sheets
Workflow name
Employee attendance tracker with Telegram Bot and Google Sheets

Attendance Telegram App with Google Sheets

Manage employee attendance directly through Telegram with seamless Google Sheets integration.
Employees can check in, check out, and view their daily attendance status from a Telegram bot.
All records are stored in Google Sheets for easy tracking and reporting.

👉 Includes a Google Sheets template to get started quickly.


✨ Features

  • 🕘 Check-in & Check-out via Telegram bot
  • 📊 View daily attendance status (Check-in/Check-out done or not)
  • 🔒 Employee validation – only registered employees can log attendance
  • ⚠️ Duplicate prevention – prevents multiple check-ins/outs on the same day
  • 📂 Google Sheets integration – easy to manage, export, and share data

🛠 Requirements

  • n8n (Cloud or Self-hosted)
  • A Telegram Bot (create via BotFather)
  • Google Sheets account

🚀 Setup Instructions

1. Import Workflow

  1. Download and import Attendance Telegram App.json into n8n.
  2. Configure your Telegram API credentials.
  3. Configure your Google Sheets credentials.

2. Use Provided Google Sheets Template

We provide a template with two sheets:

  • Employee → List of registered employees (id_employee, full_name, username_telegram)
  • Attendance → Attendance logs (date, time, attendance_type, etc.)

👉 Copy the Google Sheets Template

Update the Employee sheet with your employee data before running the workflow.

3. Configure Telegram Bot

  1. Create a bot with BotFather on Telegram.
  2. Copy the API token.
  3. Add it into n8n’s Telegram credentials.

4. Run the Workflow

  • Start the workflow.
  • Open your Telegram bot and type /start or /menu.
  • Available options:
    • Check-in (⏰)
    • 🚪 Check-out (🏁)
    • 📊 View Today’s Attendance Status

📋 Example Flow

  1. User types /menu in Telegram.
  2. Bot displays menu with Check-in/Check-out and Today’s Attendance Status.
  3. If user taps Check-in:
    • Workflow validates if they are a registered employee.
    • Checks if attendance already exists for today.
    • If valid → record in Google Sheets.
    • Bot replies: “Check-in recorded. ⏰”

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1

Block 2 - IF /start|/menu

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 3 - Send Main Menu

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 4 - IF callback_query

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 5 - Aggregate

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 6 - IF menu_attendance

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 7 - Send Check In/Out Menu

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 8 - Sheets Read (employee)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 9 - Sheets Read (Attendance Status)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 10 - IF employee

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 11 - Reply Attendance Status

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 12 - Format Attendance Status

Type / Role
n8n-nodes-base.functionItem - functionItem
Config choices
Version 1

Block 13 - Reply Not Employee

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 14 - Reply Not Employee1

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 15 - Sheets Read (duplicate attendance)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 16 - IF duplicate attendance

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 17 - Reply Duplicate Attendance

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 18 - Reply Attendance OK

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1

Block 19 - Sheets Read (employee)1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 20 - IF menu_attendance_status

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 21 - IF Employee

Type / Role
n8n-nodes-base.if - if
Config choices
Version 1

Block 22 - Sheets Append (Attendance)

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 23 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 31 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Employee attendance tracker with Telegram Bot and Google Sheets
Complexity advanced
Nodes 31
Categories HR, AI Chatbot
Author Singgi Aditya
Published 06 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8335/8335.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Employee attendance tracker with Telegram Bot and Google Sheets do?

Attendance Telegram App with Google Sheets Manage employee attendance directly through Telegram with seamless Google Sheets integration. Employees can check in, check out, and view their daily atte...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your HR, AI Chatbot use case.