[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F7NZ19V7EASYAC3HPD6N38":3,"skill-same:01M6F7NZ19V7EASYAC3HPD6N38":74},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":56,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M6F7NZ19V7EASYAC3HPD6N38","bamboohr-webhooks-events",null,"Implement BambooHR webhook endpoints with HMAC signature validation\nand employee change event handling. Covers global and permissioned webhooks.\nUse when setting up real-time employee notifications, implementing sync triggers,\nor handling BambooHR webhook payloads.\nTrigger with phrases like \"bamboohr webhook\", \"bamboohr events\",\n\"bamboohr real-time sync\", \"bamboohr notifications\", \"bamboohr employee changes\".","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbamboohr-webhooks-events\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"bamboohr webhooks events","bamboohr","events","webhooks","up","event","hr","io","webhook","time","change","payloads","edit","write","read","Bash","real-time","notifications","code","sync","2026-11-10 10:12:30",false,"---\nname: bamboohr-webhooks-events\ndescription: |\n  Implement BambooHR webhook endpoints with HMAC signature validation\n  and employee change event handling. Covers global and permissioned webhooks.\n  Use when setting up real-time employee notifications, implementing sync triggers,\n  or handling BambooHR webhook payloads.\n  Trigger with phrases like \"bamboohr webhook\", \"bamboohr events\",\n  \"bamboohr real-time sync\", \"bamboohr notifications\", \"bamboohr employee changes\".\nallowed-tools: Read, Write, Edit, Bash(curl:*)\nversion: 1.0.0\nlicense: MIT\nauthor: Jeremy Longshore \u003Cjeremy@intentsolutions.io>\ntags: [saas, hr, bamboohr, webhooks]\ncompatible-with: claude-code\n---\n\n# BambooHR Webhooks & Events\n\n## Overview\n\nBambooHR supports two webhook types: **global webhooks** (configured in the BambooHR admin UI, subset of fields) and **permissioned webhooks** (created via API, access all fields the API key user can see). This skill covers creating, validating, and handling both types.\n\n## Prerequisites\n\n- BambooHR API key with webhook management permissions\n- HTTPS endpoint accessible from the internet\n- Webhook secret for HMAC-SHA256 signature verification\n\n## Instructions\n\n### Step 1: Understand Webhook Types\n\n| Feature | Global Webhooks | Permissioned Webhooks |\n|---------|----------------|----------------------|\n| Setup | BambooHR admin UI | API (`POST \u002Fwebhooks\u002F`) |\n| Field access | Subset of standard fields | All fields user can access |\n| Auth | Shared secret | Per-webhook secret |\n| Signature | SHA-256 HMAC | SHA-256 HMAC |\n| Actions | Created, Updated, Deleted | Created, Updated, Deleted |\n\n### Step 2: Create a Permissioned Webhook via API\n\n```typescript\n\u002F\u002F POST \u002Fwebhooks\u002F — register a new webhook\nconst webhook = await client.request\u003C{\n  id: number;\n  name: string;\n  privateKey: string; \u002F\u002F Save this — used for HMAC verification\n}>('POST', '\u002Fwebhooks\u002F', {\n  name: 'Employee Sync Webhook',\n  monitorFields: [\n    'firstName', 'lastName', 'jobTitle', 'department',\n    'division', 'location', 'workEmail', 'status',\n    'supervisor', 'hireDate', 'terminationDate',\n  ],\n  postFields: {\n    firstName: 'firstName',\n    lastName: 'lastName',\n    jobTitle: 'jobTitle',\n    department: 'department',\n    status: 'status',\n    workEmail: 'workEmail',\n  },\n  url: 'https:\u002F\u002Fyour-app.example.com\u002Fwebhooks\u002Fbamboohr',\n  format: 'json',\n  frequency: { every: 0 }, \u002F\u002F 0 = immediate, or N = batch every N minutes\n  limit: { enabled: false },\n});\n\nconsole.log(`Webhook ID: ${webhook.id}`);\nconsole.log(`Private Key: ${webhook.privateKey}`);\n\u002F\u002F IMPORTANT: Store the privateKey securely — it's the HMAC secret\n```\n\n### Step 3: List and Manage Webhooks\n\n```typescript\n\u002F\u002F GET \u002Fwebhooks\u002F — list all webhooks for this API key\nconst webhooks = await client.request\u003Cany[]>('GET', '\u002Fwebhooks\u002F');\nfor (const wh of webhooks) {\n  console.log(`${wh.id}: ${wh.name} -> ${wh.url} (${wh.status})`);\n}\n\n\u002F\u002F GET \u002Fwebhooks\u002F{id}\u002F — get webhook details\nconst detail = await client.request\u003Cany>('GET', `\u002Fwebhooks\u002F${webhook.id}\u002F`);\n\n\u002F\u002F GET \u002Fwebhooks\u002F{id}\u002Flog — get webhook delivery logs\nconst logs = await client.request\u003Cany[]>('GET', `\u002Fwebhooks\u002F${webhook.id}\u002Flog`);\nfor (const log of logs) {\n  console.log(`${log.timestamp}: ${log.statusCode} (${log.employeeId})`);\n}\n\n\u002F\u002F DELETE \u002Fwebhooks\u002F{id}\u002F — remove a webhook\nawait client.request('DELETE', `\u002Fwebhooks\u002F${webhook.id}\u002F`);\n\n\u002F\u002F GET \u002Fwebhooks\u002Fmonitor_fields — see available fields to monitor\nconst fields = await client.request\u003Cany>('GET', '\u002Fwebhooks\u002Fmonitor_fields');\n```\n\n### Step 4: Signature Verification\n\nBambooHR sends two headers: `X-BambooHR-Signature` (HMAC-SHA256 hex digest) and `X-BambooHR-Timestamp`.\n\n```typescript\nimport crypto from 'crypto';\n\nfunction verifyBambooHRWebhook(\n  rawBody: Buffer | string,\n  signature: string,\n  timestamp: string,\n  secret: string,\n): boolean {\n  \u002F\u002F 1. Reject timestamps > 5 minutes old (replay protection)\n  const age = Math.abs(Date.now() - parseInt(timestamp, 10) * 1000);\n  if (age > 300_000) {\n    console.error(`Webhook timestamp too old: ${age}ms`);\n    return false;\n  }\n\n  \u002F\u002F 2. Compute expected HMAC\n  const payload = `${timestamp}.${rawBody.toString()}`;\n  const expected = crypto\n    .createHmac('sha256', secret)\n    .update(payload)\n    .digest('hex');\n\n  \u002F\u002F 3. Timing-safe comparison\n  try {\n    return crypto.timingSafeEqual(\n      Buffer.from(signature, 'hex'),\n      Buffer.from(expected, 'hex'),\n    );\n  } catch {\n    return false;\n  }\n}\n```\n\n### Step 5: Webhook Handler (Express.js)\n\n```typescript\nimport express from 'express';\n\nconst app = express();\n\napp.post('\u002Fwebhooks\u002Fbamboohr',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const sig = req.headers['x-bamboohr-signature'] as string;\n    const ts = req.headers['x-bamboohr-timestamp'] as string;\n\n    if (!sig || !ts || !verifyBambooHRWebhook(req.body, sig, ts, process.env.BAMBOOHR_WEBHOOK_SECRET!)) {\n      console.error('Webhook signature verification failed');\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    \u002F\u002F Parse the webhook payload\n    const payload = JSON.parse(req.body.toString());\n    \u002F\u002F Respond immediately — process asynchronously\n    res.status(200).json({ received: true });\n\n    \u002F\u002F Process each employee in the payload\n    await processWebhookPayload(payload);\n  },\n);\n```\n\n### Step 6: Handle Webhook Payload\n\nBambooHR webhook payloads contain employee data grouped by action type.\n\n```typescript\ninterface BambooHRWebhookPayload {\n  employees: {\n    id: string;\n    action: 'Created' | 'Updated' | 'Deleted';\n    changedFields: string[];    \u002F\u002F Which fields triggered this notification\n    fields: Record\u003Cstring, string>; \u002F\u002F Current field values (from postFields config)\n  }[];\n}\n\nasync function processWebhookPayload(payload: BambooHRWebhookPayload): Promise\u003Cvoid> {\n  for (const employee of payload.employees) {\n    const { id, action, changedFields, fields } = employee;\n\n    switch (action) {\n      case 'Created':\n        console.log(`New employee: ${fields.firstName} ${fields.lastName} (ID: ${id})`);\n        await onEmployeeCreated(id, fields);\n        break;\n\n      case 'Updated':\n        console.log(`Employee ${id} updated: ${changedFields.join(', ')}`);\n\n        \u002F\u002F Route to specific handlers based on what changed\n        if (changedFields.includes('department') || changedFields.includes('jobTitle')) {\n          await onPositionChanged(id, fields);\n        }\n        if (changedFields.includes('status')) {\n          if (fields.status === 'Inactive') {\n            await onEmployeeTerminated(id, fields);\n          }\n        }\n        if (changedFields.includes('supervisor')) {\n          await onManagerChanged(id, fields);\n        }\n        break;\n\n      case 'Deleted':\n        console.log(`Employee ${id} deleted`);\n        await onEmployeeDeleted(id);\n        break;\n    }\n  }\n}\n\n\u002F\u002F Example handlers\nasync function onEmployeeCreated(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Provision accounts in external systems\n  \u002F\u002F e.g., create Slack account, set up email, assign training\n}\n\nasync function onEmployeeTerminated(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Deprovisioning: disable accounts, revoke access, archive data\n}\n\nasync function onPositionChanged(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Update org chart, Slack channels, access groups\n}\n\nasync function onManagerChanged(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Update reporting hierarchy in downstream systems\n}\n\nasync function onEmployeeDeleted(id: string) {\n  \u002F\u002F Remove from external systems\n}\n```\n\n### Step 7: Idempotency (Prevent Duplicate Processing)\n\n```typescript\nimport { Redis } from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL);\n\nasync function deduplicateWebhook(\n  employeeId: string,\n  action: string,\n  changedFields: string[],\n): Promise\u003Cboolean> {\n  \u002F\u002F Create a unique key for this specific change\n  const changeKey = `bamboohr:webhook:${employeeId}:${action}:${changedFields.sort().join(',')}`;\n  const wasSet = await redis.set(changeKey, '1', 'EX', 3600, 'NX'); \u002F\u002F 1 hour TTL\n  return wasSet === 'OK'; \u002F\u002F true = first time, false = duplicate\n}\n```\n\n### Step 8: Test Webhooks Locally\n\n```bash\n# 1. Expose local server with ngrok\nngrok http 3000\n# Note the https:\u002F\u002F URL\n\n# 2. Create a test webhook pointing to your ngrok URL\n# Use the API to create webhook with your ngrok URL\n\n# 3. Or manually send a test payload\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fbamboohr \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-BambooHR-Timestamp: $(date +%s)\" \\\n  -H \"X-BambooHR-Signature: test\" \\\n  -d '{\"employees\": [{\"id\":\"1\",\"action\":\"Updated\",\"changedFields\":[\"department\"],\"fields\":{\"firstName\":\"Jane\",\"department\":\"Engineering\"}}]}'\n```\n\n## Output\n\n- Webhook registered via BambooHR API with monitored fields\n- HMAC-SHA256 signature verification on all incoming webhooks\n- Event routing by action type (Created, Updated, Deleted)\n- Field-specific change handlers (position, status, manager)\n- Deduplication via Redis\n- Local testing workflow with ngrok\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify `privateKey` from webhook creation |\n| Empty `changedFields` | Created\u002FDeleted action | Normal — only Updated includes changed fields |\n| Missing fields in payload | Not in `postFields` config | Update webhook `postFields` configuration |\n| Webhook not firing | Webhook disabled or URL unreachable | Check webhook status and logs via API |\n\n## Enterprise Considerations\n\n- **HTTPS required**: BambooHR only posts to HTTPS URLs\n- **Retry behavior**: BambooHR retries failed deliveries; implement idempotency\n- **Custom fields**: Permissioned webhooks can monitor custom fields (use field IDs from `\u002Fmeta\u002Ffields\u002F`)\n- **Batch frequency**: Set `frequency.every` > 0 to batch multiple changes into fewer deliveries\n\n## Resources\n\n- [BambooHR Webhooks Guide](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fwebhooks)\n- [BambooHR Global Webhooks](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fglobal-webhooks)\n- [BambooHR Permissioned Webhooks](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fpermissioned-webhooks)\n- [BambooHR Webhook API Reference](https:\u002F\u002Fdocumentation.bamboohr.com\u002Freference\u002Fwebhooks-1)\n\n## Next Steps\n\nFor performance optimization, see `bamboohr-performance-tuning`.\n\n","# BambooHR Webhooks & Events\n\n## Overview\n\nBambooHR supports two webhook types: **global webhooks** (configured in the BambooHR admin UI, subset of fields) and **permissioned webhooks** (created via API, access all fields the API key user can see). This skill covers creating, validating, and handling both types.\n\n## Prerequisites\n\n- BambooHR API key with webhook management permissions\n- HTTPS endpoint accessible from the internet\n- Webhook secret for HMAC-SHA256 signature verification\n\n## Instructions\n\n### Step 1: Understand Webhook Types\n\n| Feature | Global Webhooks | Permissioned Webhooks |\n|---------|----------------|----------------------|\n| Setup | BambooHR admin UI | API (`POST \u002Fwebhooks\u002F`) |\n| Field access | Subset of standard fields | All fields user can access |\n| Auth | Shared secret | Per-webhook secret |\n| Signature | SHA-256 HMAC | SHA-256 HMAC |\n| Actions | Created, Updated, Deleted | Created, Updated, Deleted |\n\n### Step 2: Create a Permissioned Webhook via API\n\n```typescript\n\u002F\u002F POST \u002Fwebhooks\u002F — register a new webhook\nconst webhook = await client.request\u003C{\n  id: number;\n  name: string;\n  privateKey: string; \u002F\u002F Save this — used for HMAC verification\n}>('POST', '\u002Fwebhooks\u002F', {\n  name: 'Employee Sync Webhook',\n  monitorFields: [\n    'firstName', 'lastName', 'jobTitle', 'department',\n    'division', 'location', 'workEmail', 'status',\n    'supervisor', 'hireDate', 'terminationDate',\n  ],\n  postFields: {\n    firstName: 'firstName',\n    lastName: 'lastName',\n    jobTitle: 'jobTitle',\n    department: 'department',\n    status: 'status',\n    workEmail: 'workEmail',\n  },\n  url: 'https:\u002F\u002Fyour-app.example.com\u002Fwebhooks\u002Fbamboohr',\n  format: 'json',\n  frequency: { every: 0 }, \u002F\u002F 0 = immediate, or N = batch every N minutes\n  limit: { enabled: false },\n});\n\nconsole.log(`Webhook ID: ${webhook.id}`);\nconsole.log(`Private Key: ${webhook.privateKey}`);\n\u002F\u002F IMPORTANT: Store the privateKey securely — it's the HMAC secret\n```\n\n### Step 3: List and Manage Webhooks\n\n```typescript\n\u002F\u002F GET \u002Fwebhooks\u002F — list all webhooks for this API key\nconst webhooks = await client.request\u003Cany[]>('GET', '\u002Fwebhooks\u002F');\nfor (const wh of webhooks) {\n  console.log(`${wh.id}: ${wh.name} -> ${wh.url} (${wh.status})`);\n}\n\n\u002F\u002F GET \u002Fwebhooks\u002F{id}\u002F — get webhook details\nconst detail = await client.request\u003Cany>('GET', `\u002Fwebhooks\u002F${webhook.id}\u002F`);\n\n\u002F\u002F GET \u002Fwebhooks\u002F{id}\u002Flog — get webhook delivery logs\nconst logs = await client.request\u003Cany[]>('GET', `\u002Fwebhooks\u002F${webhook.id}\u002Flog`);\nfor (const log of logs) {\n  console.log(`${log.timestamp}: ${log.statusCode} (${log.employeeId})`);\n}\n\n\u002F\u002F DELETE \u002Fwebhooks\u002F{id}\u002F — remove a webhook\nawait client.request('DELETE', `\u002Fwebhooks\u002F${webhook.id}\u002F`);\n\n\u002F\u002F GET \u002Fwebhooks\u002Fmonitor_fields — see available fields to monitor\nconst fields = await client.request\u003Cany>('GET', '\u002Fwebhooks\u002Fmonitor_fields');\n```\n\n### Step 4: Signature Verification\n\nBambooHR sends two headers: `X-BambooHR-Signature` (HMAC-SHA256 hex digest) and `X-BambooHR-Timestamp`.\n\n```typescript\nimport crypto from 'crypto';\n\nfunction verifyBambooHRWebhook(\n  rawBody: Buffer | string,\n  signature: string,\n  timestamp: string,\n  secret: string,\n): boolean {\n  \u002F\u002F 1. Reject timestamps > 5 minutes old (replay protection)\n  const age = Math.abs(Date.now() - parseInt(timestamp, 10) * 1000);\n  if (age > 300_000) {\n    console.error(`Webhook timestamp too old: ${age}ms`);\n    return false;\n  }\n\n  \u002F\u002F 2. Compute expected HMAC\n  const payload = `${timestamp}.${rawBody.toString()}`;\n  const expected = crypto\n    .createHmac('sha256', secret)\n    .update(payload)\n    .digest('hex');\n\n  \u002F\u002F 3. Timing-safe comparison\n  try {\n    return crypto.timingSafeEqual(\n      Buffer.from(signature, 'hex'),\n      Buffer.from(expected, 'hex'),\n    );\n  } catch {\n    return false;\n  }\n}\n```\n\n### Step 5: Webhook Handler (Express.js)\n\n```typescript\nimport express from 'express';\n\nconst app = express();\n\napp.post('\u002Fwebhooks\u002Fbamboohr',\n  express.raw({ type: 'application\u002Fjson' }),\n  async (req, res) => {\n    const sig = req.headers['x-bamboohr-signature'] as string;\n    const ts = req.headers['x-bamboohr-timestamp'] as string;\n\n    if (!sig || !ts || !verifyBambooHRWebhook(req.body, sig, ts, process.env.BAMBOOHR_WEBHOOK_SECRET!)) {\n      console.error('Webhook signature verification failed');\n      return res.status(401).json({ error: 'Invalid signature' });\n    }\n\n    \u002F\u002F Parse the webhook payload\n    const payload = JSON.parse(req.body.toString());\n    \u002F\u002F Respond immediately — process asynchronously\n    res.status(200).json({ received: true });\n\n    \u002F\u002F Process each employee in the payload\n    await processWebhookPayload(payload);\n  },\n);\n```\n\n### Step 6: Handle Webhook Payload\n\nBambooHR webhook payloads contain employee data grouped by action type.\n\n```typescript\ninterface BambooHRWebhookPayload {\n  employees: {\n    id: string;\n    action: 'Created' | 'Updated' | 'Deleted';\n    changedFields: string[];    \u002F\u002F Which fields triggered this notification\n    fields: Record\u003Cstring, string>; \u002F\u002F Current field values (from postFields config)\n  }[];\n}\n\nasync function processWebhookPayload(payload: BambooHRWebhookPayload): Promise\u003Cvoid> {\n  for (const employee of payload.employees) {\n    const { id, action, changedFields, fields } = employee;\n\n    switch (action) {\n      case 'Created':\n        console.log(`New employee: ${fields.firstName} ${fields.lastName} (ID: ${id})`);\n        await onEmployeeCreated(id, fields);\n        break;\n\n      case 'Updated':\n        console.log(`Employee ${id} updated: ${changedFields.join(', ')}`);\n\n        \u002F\u002F Route to specific handlers based on what changed\n        if (changedFields.includes('department') || changedFields.includes('jobTitle')) {\n          await onPositionChanged(id, fields);\n        }\n        if (changedFields.includes('status')) {\n          if (fields.status === 'Inactive') {\n            await onEmployeeTerminated(id, fields);\n          }\n        }\n        if (changedFields.includes('supervisor')) {\n          await onManagerChanged(id, fields);\n        }\n        break;\n\n      case 'Deleted':\n        console.log(`Employee ${id} deleted`);\n        await onEmployeeDeleted(id);\n        break;\n    }\n  }\n}\n\n\u002F\u002F Example handlers\nasync function onEmployeeCreated(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Provision accounts in external systems\n  \u002F\u002F e.g., create Slack account, set up email, assign training\n}\n\nasync function onEmployeeTerminated(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Deprovisioning: disable accounts, revoke access, archive data\n}\n\nasync function onPositionChanged(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Update org chart, Slack channels, access groups\n}\n\nasync function onManagerChanged(id: string, fields: Record\u003Cstring, string>) {\n  \u002F\u002F Update reporting hierarchy in downstream systems\n}\n\nasync function onEmployeeDeleted(id: string) {\n  \u002F\u002F Remove from external systems\n}\n```\n\n### Step 7: Idempotency (Prevent Duplicate Processing)\n\n```typescript\nimport { Redis } from 'ioredis';\n\nconst redis = new Redis(process.env.REDIS_URL);\n\nasync function deduplicateWebhook(\n  employeeId: string,\n  action: string,\n  changedFields: string[],\n): Promise\u003Cboolean> {\n  \u002F\u002F Create a unique key for this specific change\n  const changeKey = `bamboohr:webhook:${employeeId}:${action}:${changedFields.sort().join(',')}`;\n  const wasSet = await redis.set(changeKey, '1', 'EX', 3600, 'NX'); \u002F\u002F 1 hour TTL\n  return wasSet === 'OK'; \u002F\u002F true = first time, false = duplicate\n}\n```\n\n### Step 8: Test Webhooks Locally\n\n```bash\n# 1. Expose local server with ngrok\nngrok http 3000\n# Note the https:\u002F\u002F URL\n\n# 2. Create a test webhook pointing to your ngrok URL\n# Use the API to create webhook with your ngrok URL\n\n# 3. Or manually send a test payload\ncurl -X POST http:\u002F\u002Flocalhost:3000\u002Fwebhooks\u002Fbamboohr \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -H \"X-BambooHR-Timestamp: $(date +%s)\" \\\n  -H \"X-BambooHR-Signature: test\" \\\n  -d '{\"employees\": [{\"id\":\"1\",\"action\":\"Updated\",\"changedFields\":[\"department\"],\"fields\":{\"firstName\":\"Jane\",\"department\":\"Engineering\"}}]}'\n```\n\n## Output\n\n- Webhook registered via BambooHR API with monitored fields\n- HMAC-SHA256 signature verification on all incoming webhooks\n- Event routing by action type (Created, Updated, Deleted)\n- Field-specific change handlers (position, status, manager)\n- Deduplication via Redis\n- Local testing workflow with ngrok\n\n## Error Handling\n\n| Issue | Cause | Solution |\n|-------|-------|----------|\n| Invalid signature | Wrong webhook secret | Verify `privateKey` from webhook creation |\n| Empty `changedFields` | Created\u002FDeleted action | Normal — only Updated includes changed fields |\n| Missing fields in payload | Not in `postFields` config | Update webhook `postFields` configuration |\n| Webhook not firing | Webhook disabled or URL unreachable | Check webhook status and logs via API |\n\n## Enterprise Considerations\n\n- **HTTPS required**: BambooHR only posts to HTTPS URLs\n- **Retry behavior**: BambooHR retries failed deliveries; implement idempotency\n- **Custom fields**: Permissioned webhooks can monitor custom fields (use field IDs from `\u002Fmeta\u002Ffields\u002F`)\n- **Batch frequency**: Set `frequency.every` > 0 to batch multiple changes into fewer deliveries\n\n## Resources\n\n- [BambooHR Webhooks Guide](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fwebhooks)\n- [BambooHR Global Webhooks](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fglobal-webhooks)\n- [BambooHR Permissioned Webhooks](https:\u002F\u002Fdocumentation.bamboohr.com\u002Fdocs\u002Fpermissioned-webhooks)\n- [BambooHR Webhook API Reference](https:\u002F\u002Fdocumentation.bamboohr.com\u002Freference\u002Fwebhooks-1)\n\n## Next Steps\n\nFor performance optimization, see `bamboohr-performance-tuning`.\n\n",{"name":5,"tags":44,"author":46,"license":15,"version":47,"description":48,"allowed-tools":49,"compatible-with":50},[45,25,20,22],"saas","Jeremy Longshore \u003Cjeremy@intentsolutions.io>","1.0.0","Implement BambooHR webhook endpoints with HMAC signature validation\nand employee change event handling. Covers global and permissioned webhooks.\nUse when setting up real-time employee notifications, implementing sync triggers,\nor handling BambooHR webhook payloads.\nTrigger with phrases like \"bamboohr webhook\", \"bamboohr events\",\n\"bamboohr real-time sync\", \"bamboohr notifications\", \"bamboohr employee changes\".\n","Read, Write, Edit, Bash(curl:*)","claude-code","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbamboohr-webhooks-events",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill bamboohr-webhooks-events",{"tool":66,"command":67},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill bamboohr-webhooks-events",{"tool":69,"command":70},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill bamboohr-webhooks-events","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fjeremylongshore\u002Fclaude-code-plugins-plus-skills\u002Fbamboohr-webhooks-events\u002FSKILL.md",true,[],[75,84,93,102,108,114],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[81,82,83],"model","model hierarchy","model hierarchy skill",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[90,91,92],"MCP","zoom","zoom mcp",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[99,100,101,91],"sdk","zoom apps sdk","apps",{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[104],{"skillNo":109,"name":110,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[110],{"skillNo":115,"name":116,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[116]]