Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Отчёты, аналитика и дашборды

Отчёты, аналитика и дашборды

Еженедельная проверка сверхурочных сотрудников с Google Sheets, OpenAI и Gmail

Запускается каждое воскресенье: суммирует часы сотрудников из табеля в Google Sheets, отмечает превышения сверхурочных, готовит с помощью AI письма эскалации руководителям по email и записывает соответствующие нормам записи как утвержденные.

Что делает

## Employee Timesheet & Overtime Compliance Checker ### How it works This workflow runs every Sunday evening to review employee timesheet data from Google Sheets. It summarizes hours by employee, calculates overtime/compliance status, then branches between flagged overtime cases and compliant records. Flagged cases are analyzed by an AI escalation agent, emailed to the appropriate manager, and logged separately, while compliant cases are formatted and logged as approved. ### Setup steps - Configure the schedule trigger for the desired weekly review time and timezone. - Connect Google Sheets credentials and select the source timesheet sheet plus the destination sheets for flagged and compliant log entries. - Ensure the timesheet data includes the fields used by the workflow, such as employee name, employee email, manager email, department, total hours, and overtime hours. - Configure Gmail credentials and verify the escalation email recipients, subject, and body content. - Configure the OpenAI chat model credentials or local test model settings used by the escalation agent. ### Customization Adjust the overtime threshold, branching conditions, AI escalation prompt, email template, and logging columns to match company policy and local labor rules.

Шаги

  1. Weekly Timesheet Trigger
  2. Read Timesheet from Sheets
  3. Summarize Hours by Employee
  4. Set Overtime Status Fields
  5. If Overtime Exceeds Limit
  6. AI Overtime Escalation Agent
  7. OpenAI GPT-4 Model
  8. Prepare Escalation Email Data
  9. Send Overtime Email
  10. Log Flagged Overtime Entry
  11. Build Overtime Approval Record
  12. Log Compliant Overtime Entry

Похожие автоматизации