Bamboohr Automation
by @sohamganatra
Automate BambooHR tasks via Rube MCP (Composio): employees, time-off, benefits, dependents, employee updates. Always search tools first for current schemas.
clawhub install bamboohr-automationπ About This Skill
name: bamboohr-automation description: "Automate BambooHR tasks via Rube MCP (Composio): employees, time-off, benefits, dependents, employee updates. Always search tools first for current schemas." requires: mcp: [rube]
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.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
2. Call RUBE_MANAGE_CONNECTIONS with toolkit bamboohr
3. If connection is not ACTIVE, follow the returned auth link to complete BambooHR authentication
4. Confirm connection status shows ACTIVE before running any workflows
Core Workflows
1. List and Search Employees
When to use: User wants to find employees or get the full employee directory
Tool sequence:
1. BAMBOOHR_GET_ALL_EMPLOYEES - Get the employee directory [Required]
2. 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:
1. 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:
1. BAMBOOHR_GET_META_TIME_OFF_TYPES - List available time-off types [Prerequisite]
2. BAMBOOHR_GET_TIME_OFF_BALANCES - Check current balances [Optional]
3. BAMBOOHR_GET_TIME_OFF_REQUESTS - List existing requests [Optional]
4. BAMBOOHR_CREATE_TIME_OFF_REQUEST - Submit a new request [Optional]
5. BAMBOOHR_UPDATE_TIME_OFF_REQUEST - Modify or approve/deny a request [Optional]
Key parameters:
employeeId, time-off type IDstart, end (date range), employeeIdemployeeId: 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 request
requestId, status ('approved', 'denied', 'cancelled')Pitfalls:
4. Update Employee Information
When to use: User wants to modify employee profile data
Tool sequence:
1. BAMBOOHR_GET_EMPLOYEE - Get current employee data [Prerequisite]
2. 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:
1. BAMBOOHR_DEPENDENTS_GET_ALL - List all dependents [Required]
2. 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
2. Find employee by name in directory results
3. Extract id (numeric) for detailed operations
Time-off type name -> Type ID:
1. Call BAMBOOHR_GET_META_TIME_OFF_TYPES
2. Find type by name (e.g., 'Vacation', 'Sick Leave')
3. Extract id for time-off requests
Incremental Sync Pattern
For keeping external systems in sync with BambooHR:
1. Store last_sync_timestamp
2. Call BAMBOOHR_EMPLOYEE_GET_CHANGED with since=last_sync_timestamp
3. For each changed employee ID, call BAMBOOHR_GET_EMPLOYEE
4. Process updates in external system
5. Update last_sync_timestamp
Time-Off Workflow
1. GET_META_TIME_OFF_TYPES -> find type ID
2. GET_TIME_OFF_BALANCES -> verify available balance
3. CREATE_TIME_OFF_REQUEST -> submit request
4. 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) |
βοΈ Configuration
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.
1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
2. Call RUBE_MANAGE_CONNECTIONS with toolkit bamboohr
3. If connection is not ACTIVE, follow the returned auth link to complete BambooHR authentication
4. Confirm connection status shows ACTIVE before running any workflows