BambooHR Automation via Rube MCP
Automate BambooHR human resources operations through Composio's BambooHR toolkit via Rube MCP.
Prerequisites
- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)
- Active BambooHR connection via
RUBE_MANAGE_CONNECTIONS with toolkit bamboohr
- Always call
RUBE_SEARCH_TOOLS first to get current tool schemas
Setup
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.
- Verify Rube MCP is available by confirming
RUBE_SEARCH_TOOLS responds
- Call
RUBE_MANAGE_CONNECTIONS with toolkit bamboohr
- If connection is not ACTIVE, follow the returned auth link to complete BambooHR authentication
- 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:
BAMBOOHR_GET_ALL_EMPLOYEES - Get the employee directory [Required]
BAMBOOHR_GET_EMPLOYEE - Get detailed info for a specific employee [Optional]
Key parameters:
- For GET_ALL_EMPLOYEES: No required parameters; returns directory
- For GET_EMPLOYEE:
id: Employee ID (numeric)
fields: Comma-separated list of fields to return (e.g., 'firstName,lastName,department,jobTitle')
Pitfalls:
- Employee IDs are numeric integers
- GET_ALL_EMPLOYEES returns basic directory info; use GET_EMPLOYEE for full details
- The
fields parameter controls which fields are returned; omitting it may return minimal data
- Common fields: firstName, lastName, department, division, jobTitle, workEmail, status
- Inactive/terminated employees may be included; check
status field
2. 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 threshold
type: 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')
- Returns IDs of changed employees, not full employee data
- Must call GET_EMPLOYEE separately for each changed employee's details
- Useful for incremental sync workflows; cache the last sync timestamp
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:
- For balances:
employeeId, time-off type ID
- For requests:
start, end (date range), employeeId
- For creation:
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 request
- For update:
requestId, status ('approved', 'denied', 'cancelled')
Pitfalls:
- Time-off type IDs are numeric; resolve via GET_META_TIME_OFF_TYPES first
- Date format is 'YYYY-MM-DD' for start and end dates
- Balances may be in hours or days depending on company configuration
- Request status updates require appropriate permissions (manager/admin)
- Creating a request does NOT auto-approve it; separate approval step needed
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)
- Field-value pairs for the fields to update (e.g.,
department, jobTitle, workPhone)
Pitfalls:
- Only fields included in the request are updated; others remain unchanged
- Some fields are read-only and cannot be updated via API
- Field names must match BambooHR's expected field names exactly
- Updates are audited; changes appear in the employee's change history
- Verify current values with GET_EMPLOYEE before updating to avoid overwriting
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:
- For dependents: Optional
employeeId filter
- For benefits: Depends on schema; check RUBE_SEARCH_TOOLS for current parameters
Pitfalls:
- Dependent data includes sensitive PII; handle with appropriate care
- Benefit coverages may include multiple plan types per employee
- Not all BambooHR plans include benefits administration; check account features
- Data access depends on API key permissions
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:
- Always numeric integers
- Resolve names to IDs via GET_ALL_EMPLOYEES
- Terminated employees retain their IDs
Date Formats:
- Time-off dates: 'YYYY-MM-DD'
- Change detection: ISO 8601 with timezone
- Inconsistent formats between endpoints; check each endpoint's schema
Permissions:
- API key permissions determine accessible fields and operations
- Some operations require admin or manager-level access
- Time-off approvals require appropriate role permissions
Sensitive Data:
- Employee data includes PII (names, addresses, SSN, etc.)
- Handle all responses with appropriate security measures
- Dependent data is especially sensitive
Rate Limits:
- BambooHR API has rate limits per API key
- Bulk operations should be throttled
- GET_ALL_EMPLOYEES is more efficient than individual GET_EMPLOYEE calls
Response Parsing:
- Response data may be nested under
data key
- Employee fields vary based on
fields parameter
- Empty fields may be omitted or returned as null
- Parse defensively with fallbacks
Quick 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) |
When to Use
This skill is applicable to execute the workflow or actions described in the overview.
🏰 Rei Skills — Curated by Rootcastle Engineering & Innovation | Batuhan Ayrıbaş
Engineering Beyond Boundaries | admin@rootcastle.com
1---2name: bamboohr-automation3description: Automate BambooHR tasks via Rube MCP (Composio): employees, time-off, benefits, dependents, employee updates. Always search tools first for current schemas.4---56# BambooHR Automation via Rube MCP78Automate BambooHR human resources operations through Composio's BambooHR toolkit via Rube MCP.910## Prerequisites1112- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)13- Active BambooHR connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `bamboohr`14- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas1516## Setup1718**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.1920211. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds222. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `bamboohr`233. If connection is not ACTIVE, follow the returned auth link to complete BambooHR authentication244. Confirm connection status shows ACTIVE before running any workflows2526## Core Workflows2728### 1. List and Search Employees2930**When to use**: User wants to find employees or get the full employee directory3132**Tool sequence**:331. `BAMBOOHR_GET_ALL_EMPLOYEES` - Get the employee directory [Required]342. `BAMBOOHR_GET_EMPLOYEE` - Get detailed info for a specific employee [Optional]3536**Key parameters**:37- For GET_ALL_EMPLOYEES: No required parameters; returns directory38- For GET_EMPLOYEE:39 - `id`: Employee ID (numeric)40 - `fields`: Comma-separated list of fields to return (e.g., 'firstName,lastName,department,jobTitle')4142**Pitfalls**:43- Employee IDs are numeric integers44- GET_ALL_EMPLOYEES returns basic directory info; use GET_EMPLOYEE for full details45- The `fields` parameter controls which fields are returned; omitting it may return minimal data46- Common fields: firstName, lastName, department, division, jobTitle, workEmail, status47- Inactive/terminated employees may be included; check `status` field4849### 2. Track Employee Changes5051**When to use**: User wants to detect recent employee data changes for sync or auditing5253**Tool sequence**:541. `BAMBOOHR_EMPLOYEE_GET_CHANGED` - Get employees with recent changes [Required]5556**Key parameters**:57- `since`: ISO 8601 datetime string for change detection threshold58- `type`: Type of changes to check (e.g., 'inserted', 'updated', 'deleted')5960**Pitfalls**:61- `since` parameter is required; use ISO 8601 format (e.g., '2024-01-15T00:00:00Z')62- Returns IDs of changed employees, not full employee data63- Must call GET_EMPLOYEE separately for each changed employee's details64- Useful for incremental sync workflows; cache the last sync timestamp6566### 3. Manage Time-Off6768**When to use**: User wants to view time-off balances, request time off, or manage requests6970**Tool sequence**:711. `BAMBOOHR_GET_META_TIME_OFF_TYPES` - List available time-off types [Prerequisite]722. `BAMBOOHR_GET_TIME_OFF_BALANCES` - Check current balances [Optional]733. `BAMBOOHR_GET_TIME_OFF_REQUESTS` - List existing requests [Optional]744. `BAMBOOHR_CREATE_TIME_OFF_REQUEST` - Submit a new request [Optional]755. `BAMBOOHR_UPDATE_TIME_OFF_REQUEST` - Modify or approve/deny a request [Optional]7677**Key parameters**:78- For balances: `employeeId`, time-off type ID79- For requests: `start`, `end` (date range), `employeeId`80- For creation:81 - `employeeId`: Employee to request for82 - `timeOffTypeId`: Type ID from GET_META_TIME_OFF_TYPES83 - `start`: Start date (YYYY-MM-DD)84 - `end`: End date (YYYY-MM-DD)85 - `amount`: Number of days/hours86 - `notes`: Optional notes for the request87- For update: `requestId`, `status` ('approved', 'denied', 'cancelled')8889**Pitfalls**:90- Time-off type IDs are numeric; resolve via GET_META_TIME_OFF_TYPES first91- Date format is 'YYYY-MM-DD' for start and end dates92- Balances may be in hours or days depending on company configuration93- Request status updates require appropriate permissions (manager/admin)94- Creating a request does NOT auto-approve it; separate approval step needed9596### 4. Update Employee Information9798**When to use**: User wants to modify employee profile data99100**Tool sequence**:1011. `BAMBOOHR_GET_EMPLOYEE` - Get current employee data [Prerequisite]1022. `BAMBOOHR_UPDATE_EMPLOYEE` - Update employee fields [Required]103104**Key parameters**:105- `id`: Employee ID (numeric, required)106- Field-value pairs for the fields to update (e.g., `department`, `jobTitle`, `workPhone`)107108**Pitfalls**:109- Only fields included in the request are updated; others remain unchanged110- Some fields are read-only and cannot be updated via API111- Field names must match BambooHR's expected field names exactly112- Updates are audited; changes appear in the employee's change history113- Verify current values with GET_EMPLOYEE before updating to avoid overwriting114115### 5. Manage Dependents and Benefits116117**When to use**: User wants to view employee dependents or benefit coverage118119**Tool sequence**:1201. `BAMBOOHR_DEPENDENTS_GET_ALL` - List all dependents [Required]1212. `BAMBOOHR_BENEFIT_GET_COVERAGES` - Get benefit coverage details [Optional]122123**Key parameters**:124- For dependents: Optional `employeeId` filter125- For benefits: Depends on schema; check RUBE_SEARCH_TOOLS for current parameters126127**Pitfalls**:128- Dependent data includes sensitive PII; handle with appropriate care129- Benefit coverages may include multiple plan types per employee130- Not all BambooHR plans include benefits administration; check account features131- Data access depends on API key permissions132133## Common Patterns134135### ID Resolution136137**Employee name -> Employee ID**:138```1391. Call BAMBOOHR_GET_ALL_EMPLOYEES1402. Find employee by name in directory results1413. Extract id (numeric) for detailed operations142```143144**Time-off type name -> Type ID**:145```1461. Call BAMBOOHR_GET_META_TIME_OFF_TYPES1472. Find type by name (e.g., 'Vacation', 'Sick Leave')1483. Extract id for time-off requests149```150151### Incremental Sync Pattern152153For keeping external systems in sync with BambooHR:154```1551. Store last_sync_timestamp1562. Call BAMBOOHR_EMPLOYEE_GET_CHANGED with since=last_sync_timestamp1573. For each changed employee ID, call BAMBOOHR_GET_EMPLOYEE1584. Process updates in external system1595. Update last_sync_timestamp160```161162### Time-Off Workflow163164```1651. GET_META_TIME_OFF_TYPES -> find type ID1662. GET_TIME_OFF_BALANCES -> verify available balance1673. CREATE_TIME_OFF_REQUEST -> submit request1684. UPDATE_TIME_OFF_REQUEST -> approve/deny (manager action)169```170171## Known Pitfalls172173**Employee IDs**:174- Always numeric integers175- Resolve names to IDs via GET_ALL_EMPLOYEES176- Terminated employees retain their IDs177178**Date Formats**:179- Time-off dates: 'YYYY-MM-DD'180- Change detection: ISO 8601 with timezone181- Inconsistent formats between endpoints; check each endpoint's schema182183**Permissions**:184- API key permissions determine accessible fields and operations185- Some operations require admin or manager-level access186- Time-off approvals require appropriate role permissions187188**Sensitive Data**:189- Employee data includes PII (names, addresses, SSN, etc.)190- Handle all responses with appropriate security measures191- Dependent data is especially sensitive192193**Rate Limits**:194- BambooHR API has rate limits per API key195- Bulk operations should be throttled196- GET_ALL_EMPLOYEES is more efficient than individual GET_EMPLOYEE calls197198**Response Parsing**:199- Response data may be nested under `data` key200- Employee fields vary based on `fields` parameter201- Empty fields may be omitted or returned as null202- Parse defensively with fallbacks203204## Quick Reference205206| Task | Tool Slug | Key Params |207|------|-----------|------------|208| List all employees | BAMBOOHR_GET_ALL_EMPLOYEES | (none) |209| Get employee details | BAMBOOHR_GET_EMPLOYEE | id, fields |210| Track changes | BAMBOOHR_EMPLOYEE_GET_CHANGED | since, type |211| Time-off types | BAMBOOHR_GET_META_TIME_OFF_TYPES | (none) |212| Time-off balances | BAMBOOHR_GET_TIME_OFF_BALANCES | employeeId |213| List time-off requests | BAMBOOHR_GET_TIME_OFF_REQUESTS | start, end, employeeId |214| Create time-off request | BAMBOOHR_CREATE_TIME_OFF_REQUEST | employeeId, timeOffTypeId, start, end |215| Update time-off request | BAMBOOHR_UPDATE_TIME_OFF_REQUEST | requestId, status |216| Update employee | BAMBOOHR_UPDATE_EMPLOYEE | id, (field updates) |217| List dependents | BAMBOOHR_DEPENDENTS_GET_ALL | employeeId |218| Benefit coverages | BAMBOOHR_BENEFIT_GET_COVERAGES | (check schema) |219220## When to Use221This skill is applicable to execute the workflow or actions described in the overview.222223---224225> 🏰 **Rei Skills** — Curated by [Rootcastle Engineering & Innovation](https://www.rootcastle.com) | Batuhan Ayrıbaş 226> Engineering Beyond Boundaries | admin@rootcastle.com