EC AIHR Assistant

Mastra AI agent · Claude Sonnet 4.6 · Reads live HR data

NS

EC AIHR Assistant

Org: ThaiAuto Factory · Channel: dashboard

Connected
Hi, I'm EC AIHR Assistant. I can read live attendance, leave, payroll, and shift data for your organization. Ask me anything.
Powered by Claude Sonnet 4.6 via Mastra

Available tools

The agent calls these Supabase-backed tools to answer questions

get_employeeLook up an employee by code or LINE ID
list_attendanceRead attendance logs by date or employee
get_leave_balanceAnnual / sick / personal balances
list_pending_approvalsPending leave + OT requests
get_payroll_summaryMonthly run, deductions, net pay
suggest_shift_scheduleMastra-generated shift suggestions
predict_absenteeismRisk score for next-day no-shows
draft_announcementCompose a LINE broadcast message

Sales-demo prompts

· "Show me attendance for the last 7 days as a chart description"

· "Run May payroll and tell me total net paid"

· "Which 3 workers should get the next raise based on KPI?"

· "Draft a Songkran message for all workers in Thai"