RedPlanetHQ/core

New Integration: Workday

オープン

#485 opened on 2026/02/24

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)TypeScript (184 件のフォーク)auto 404
enhancementgood first issueintegrationnew-featurenew-integration

Repository metrics

Stars
 (1,930 個のスター)
PR merge metrics
 (平均マージ 3h 2m) (30d で 10 merged PRs)

説明

Description

Add Workday integration to sync HR and finance data including employee records, job requisitions, time-off requests, benefits, and recruiting activity into CORE.

Reference Implementations

Existing Integrations (use as templates)

  • integrations/hubspot/ - Similar enterprise data system
  • integrations/linear/ - Project management integration
  • integrations/slack/ - For reference

Required Files Structure

integrations/workday/
├── src/
│   ├── index.ts          # Main entry, OAuth spec
│   ├── schedule.ts       # Sync logic
│   ├── utils.ts          # Workday API utilities
│   ├── account-create.ts # OAuth setup
│   └── create-activity.ts # Activity formatting
├── package.json
├── tsup.config.ts
└── README.md

Workday API Integration

OAuth Setup

Key Endpoints

  • /workers - Employee/worker data
  • /organizations - Organization structure
  • /jobRequisitions - Job requisitions
  • /timeOffRequests - Time-off requests
  • /benefits - Benefits enrollment
  • /recruiting - Recruiting and applications
  • /compensation - Compensation data
  • /payroll - Payroll information
  • /absences - Absence management

Events to Track

  1. Employee Management - New hire, termination, transfer, promotion
  2. Time Off - Time-off requested, approved, denied, cancelled
  3. Recruiting - Job posted, application received, interview scheduled, offer made
  4. Compensation - Salary change, bonus awarded, benefits enrollment
  5. Organization - Department created, team restructured, reporting change

Implementation Tasks

  • Set up basic integration structure following integrations/github/src/index.ts pattern
  • Implement OAuth 2.0 flow in account-create.ts
  • Create API utilities in utils.ts for Workday REST API calls
  • Implement sync logic in schedule.ts for HR and finance data
  • Convert HR events to CORE activity format
  • Add error handling and rate limiting
  • Create integration documentation
  • Add to integrations/README.md

Technical Notes

  • Workday REST API is tenant-specific (URL includes tenant identifier)
  • Data returned in JSON format
  • Growing range of endpoints covering HR automation, person management, recruiting, time tracking
  • Some documentation may be restricted to Workday customers/partners
  • Consider handling large datasets with pagination for enterprise deployments
  • SOAP-based Web Services also available but REST is recommended for new integrations

Resources

Labels

enhancement, integration, new-feature

コントリビューターガイド