Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Attendances
  3. Slack Attendance Integration v 19.0
  4. Sales Conditions FAQ

Slack Attendance Integration

by Anmol Patil https://github.com/anmol6213
Odoo
v 19.0 Third Party 14
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Attendances (hr_attendance)
• Employees (hr)
• Discuss (mail)
Lines of code 783
Technical Name slack_attendance_integration
LicenseLGPL-3
Websitehttps://github.com/anmol6213
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Attendances (hr_attendance)
• Employees (hr)
• Discuss (mail)
Lines of code 783
Technical Name slack_attendance_integration
LicenseLGPL-3
Websitehttps://github.com/anmol6213
  • Description
  • Documentation

Slack Attendance Integration

Your browser does not support the video tag.

πŸ“’ Available for Hire!

Looking for a skilled and reliable Odoo Developer to build, fix or customize your Odoo system?

Let’s build something great together! I specialize in custom module development, ERP implementation, integrations, and performance optimization.


πŸ“¬ Hire Me wa.me/+91 82082 40374 /anmolpatil83

Overview

This module allows employees to mark attendance directly from Slack using simple slash commands. It integrates seamlessly with Odoo Attendance and provides real-time tracking without opening Odoo.

grain
grain-two

Key Features

Slack Commands Attendance Tracking Break Management Security & Control
Slack Commands

Employees can easily manage attendance directly from Slack using simple slash commands:

  • /login – Check-in to start the workday
  • /break – Start break
  • /resume – Resume work after break
  • /logout – Check-out with total worked hours

Additional Features:

  • Timezone support per employee
  • Break threshold configuration
  • Missed logout alerts
  • Optional AI daily summaries
  • Secure Slack request verification (HMAC-SHA256)
Attendance Tracking

All attendance actions performed from Slack are automatically synced with Odoo. Login, break time, resume time, and logout are recorded in real-time without any manual effort.

Break Management

Track employee breaks efficiently with support for break start and resume actions. Configure break rules and monitor total break duration directly in Odoo.

Security & Control

Secure integration using Slack request verification (HMAC-SHA256). Supports employee mapping, timezone handling, and configurable attendance rules.

How to use

  • Go to Settings > Slack Configuration:
  • Add Slack User ID in Employee:
  • Use commands like /login, /break, /resume, /logout:
  • Attendance is tracked automatically in Odoo:

Screenshots

Found any issue? Raise here -> https://github.com/anmol6213/OdoosApps/issues/new

Slack Attendance Integration | Compatible with Odoo Community, Enterprise, and Odoo.sh


Contact Details

πŸ“¬ Email wa.me/+91 82082 40374 /anmolpatil83 Explore Other Apps

Slack Attendance Integration

Track employee attendance directly from Slack β€” no separate app, no browser required. Employees use simple slash commands to check in, check out, and manage breaks, all synced automatically with Odoo's HR Attendance module.

  • Features
  • Installation
  • Slack App Configuration
  • AI Summary Setup (optional)
  • Configuration Reference
  • Security
  • Changelog
  • Support

Features

Slack Slash Commands

Command Action
/login Check in β€” records attendance in Odoo
/logout Check out β€” closes attendance record
/break Start a break
/resume End a break and return to work

Smart Login Grace Time

Configure a grace window (e.g. 5 minutes) so that an employee who types /login at 10:00 AM is recorded as checking in at 9:55 AM. This removes the pressure of racing the clock.

Break Threshold

Short interruptions (bathroom, coffee) that fall below the configured minimum break duration are saved but not deducted from working hours. Only meaningful breaks count.

Net Working Hours

Every attendance record shows:

Net Working Hours = Total Hours βˆ’ Counted Break Time

AI-Powered Daily Summary (optional)

When enabled with an Anthropic API key, each employee receives a personalised Slack DM at end-of-day. The message references their actual hours, streak, and target β€” not a generic template.

Daily Attendance Alert

Employees who forgot to /logout receive an automatic reminder DM.

Installation

Requirements

  • Odoo 17.0 or 18.0
  • Python packages: certifi, pytz (both included in standard Odoo)
  • A Slack workspace with a configured App (slash commands + bot token)

Steps

  1. Copy the slack_attendance_integration folder into your Odoo addons path.

  2. Restart the Odoo server.

  3. In Odoo, go to Apps β†’ search for Slack Attendance β†’ click Install.

  4. Navigate to Attendances β†’ Configuration β†’ Slack Settings.

  5. Fill in:

    • Slack Signing Secret β€” from your Slack app's Basic Information page
    • Bot Token β€” starts with xoxb-
    • Incoming Webhook URL β€” from Incoming Webhooks in your Slack app
  6. Set the Webhook URL in your Slack app's slash commands to:

    https://<your-odoo-domain>/slack/attendance
    
  7. For each employee, open their HR record and add their Slack User ID (found in Slack β†’ profile β†’ Copy member ID).

Slack App Configuration

Create a new Slack app at https://api.slack.com/apps and configure:

Slash Commands

Create four commands, all pointing to the same URL:

Command Usage hint
/login Check in to office
/logout Check out from office
/break Start a break
/resume Resume work after a break

Required Bot Token Scopes

  • chat:write β€” to send DMs to employees
  • commands β€” to respond to slash commands

AI Summary Setup (optional)

  1. Get an API key from https://console.anthropic.com
  2. In Slack Settings, enable AI Summaries and paste the key.
  3. The daily cron job will now send personalised messages instead of the default template.

Note

The API key is visible only to Odoo System Administrators. Summaries are generated once per day and cached on the attendance record.

Configuration Reference

Field Description
Login Grace Minutes Subtract N minutes from actual login time
Minimum Break Minutes Breaks shorter than this are not counted
Minimum Working Hours Target hours for daily summary comparison
Send Daily Summary Enable end-of-day Slack DM
Summary Time Hour (24h format) when the cron fires
Enable AI Summaries Use Claude AI for personalised messages
Anthropic API Key Your sk-ant- key (admin-only)

Security

  • Every request from Slack is verified using HMAC-SHA256 with your Signing Secret before any database action is performed.
  • Replay attacks are blocked β€” requests older than 5 minutes are rejected.
  • SSL connections use the certifi CA bundle (no certificate verification bypass).
  • The Anthropic API key is stored in an admin-only field group.

Changelog

17.0.1.0.0 (2024)

  • Initial release
  • Login / logout / break / resume slash commands
  • Grace minutes and minimum break threshold
  • Net working hours computation
  • Daily Slack summary via cron
  • AI-powered personalised summaries (Claude)
  • HMAC-SHA256 Slack signature verification
  • certifi-based SSL β€” no CERT_NONE
  • Employee timezone support (no hardcoded IST)

Support

  • GitHub: https://github.com/anmol6213/slack_attendance_integration
  • Issues: https://github.com/anmol6213/slack_attendance_integration/issues

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal β€’ Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with