bamboohr-automation
通过Rube MCP(Composio)实现BambooHR任务自动化:员工管理、休假处理、福利配置、家属信息维护及员工数据更新。执行前务必先检索工具以获取最新架构信息。
BambooHR Automation via Rube MCP
Automate BambooHR human resources operations through Composio's BambooHR toolkit via Rube MCP.
Prerequisites
RUBE_MANAGE_CONNECTIONS with toolkit bamboohrRUBE_SEARCH_TOOLS first to get current tool schemasSetup
Get Rube MCP: Add https://rube.app/mcp as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.
RUBE_SEARCH_TOOLS respondsRUBE_MANAGE_CONNECTIONS with toolkit bamboohrCore Workflows
1. List and Search Employees
When to use: User wants to find employees or get the full employee directory
Tool sequence:
BAMBOOHR_GET_ALL_EMPLOYEES - Get the employee directory [Required]BAMBOOHR_GET_EMPLOYEE - Get detailed info for a specific employee [Optional]Key parameters:
-
id: Employee ID (numeric)-
fields: Comma-separated list of fields to return (e.g., 'firstName,lastName,department,jobTitle')Pitfalls:
fields parameter controls which fields are returned; omitting it may return minimal datastatus field2. Track Employee Changes
When to use: User wants to detect recent employee data changes for sync or auditing
Tool sequence:
BAMBOOHR_EMPLOYEE_GET_CHANGED - Get employees with recent changes [Required]Key parameters:
since: ISO 8601 datetime string for change detection thresholdtype: Type of changes to check (e.g., 'inserted', 'updated', 'deleted')Pitfalls:
since parameter is required; use ISO 8601 format (e.g., '2024-01-15T00:00:00Z')3. Manage Time-Off
When to use: User wants to view time-off balances, request time off, or manage requests
Tool sequence:
BAMBOOHR_GET_META_TIME_OFF_TYPES - List available time-off types [Prerequisite]BAMBOOHR_GET_TIME_OFF_BALANCES - Check current balances [Optional]BAMBOOHR_GET_TIME_OFF_REQUESTS - List existing requests [Optional]BAMBOOHR_CREATE_TIME_OFF_REQUEST - Submit a new request [Optional]BAMBOOHR_UPDATE_TIME_OFF_REQUEST - Modify or approve/deny a request [Optional]Key parameters:
employeeId, time-off type IDstart, end (date range), employeeId-
employeeId: Employee to request for-
timeOffTypeId: Type ID from GET_META_TIME_OFF_TYPES-
start: Start date (YYYY-MM-DD)-
end: End date (YYYY-MM-DD)-
amount: Number of days/hours-
notes: Optional notes for the requestrequestId, status ('approved', 'denied', 'cancelled')Pitfalls:
4. Update Employee Information
When to use: User wants to modify employee profile data
Tool sequence:
BAMBOOHR_GET_EMPLOYEE - Get current employee data [Prerequisite]BAMBOOHR_UPDATE_EMPLOYEE - Update employee fields [Required]Key parameters:
id: Employee ID (numeric, required)department, jobTitle, workPhone)Pitfalls:
5. Manage Dependents and Benefits
When to use: User wants to view employee dependents or benefit coverage
Tool sequence:
BAMBOOHR_DEPENDENTS_GET_ALL - List all dependents [Required]BAMBOOHR_BENEFIT_GET_COVERAGES - Get benefit coverage details [Optional]Key parameters:
employeeId filterPitfalls:
Common Patterns
ID Resolution
Employee name -> Employee ID:
1. Call BAMBOOHR_GET_ALL_EMPLOYEES
Find employee by name in directory results
Extract id (numeric) for detailed operations Time-off type name -> Type ID:
1. Call BAMBOOHR_GET_META_TIME_OFF_TYPES
Find type by name (e.g., 'Vacation', 'Sick Leave')
Extract id for time-off requests Incremental Sync Pattern
For keeping external systems in sync with BambooHR:
1. Store last_sync_timestamp
Call BAMBOOHR_EMPLOYEE_GET_CHANGED with since=last_sync_timestamp
For each changed employee ID, call BAMBOOHR_GET_EMPLOYEE
Process updates in external system
Update last_sync_timestamp Time-Off Workflow
1. GET_META_TIME_OFF_TYPES -> find type ID
GET_TIME_OFF_BALANCES -> verify available balance
CREATE_TIME_OFF_REQUEST -> submit request
UPDATE_TIME_OFF_REQUEST -> approve/deny (manager action) Known Pitfalls
Employee IDs:
Date Formats:
Permissions:
Sensitive Data:
Rate Limits:
Response Parsing:
data keyfields parameterQuick Reference
| Task | Tool Slug | Key Params |
|---|---|---|
| List all employees | BAMBOOHR_GET_ALL_EMPLOYEES | (none) |
| Get employee details | BAMBOOHR_GET_EMPLOYEE | id, fields |
| Track changes | BAMBOOHR_EMPLOYEE_GET_CHANGED | since, type |
| Time-off types | BAMBOOHR_GET_META_TIME_OFF_TYPES | (none) |
| Time-off balances | BAMBOOHR_GET_TIME_OFF_BALANCES | employeeId |
| List time-off requests | BAMBOOHR_GET_TIME_OFF_REQUESTS | start, end, employeeId |
| Create time-off request | BAMBOOHR_CREATE_TIME_OFF_REQUEST | employeeId, timeOffTypeId, start, end |
| Update time-off request | BAMBOOHR_UPDATE_TIME_OFF_REQUEST | requestId, status |
| Update employee | BAMBOOHR_UPDATE_EMPLOYEE | id, (field updates) |
| List dependents | BAMBOOHR_DEPENDENTS_GET_ALL | employeeId |
| Benefit coverages | BAMBOOHR_BENEFIT_GET_COVERAGES | (check schema) |