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
- Download and import
Attendance Telegram App.json
into n8n.
- Configure your Telegram API credentials.
- 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
- Create a bot with BotFather on Telegram.
- Copy the API token.
- 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
- User types
/menu
in Telegram.
- Bot displays menu with Check-in/Check-out and Todayβs Attendance Status.
- 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. β°β