Workday Tracking System · Arazzo Workflow

Workday Staff Against Labor Demand

Version 1.0.0

Read labor demand for an organization, check existing coverage, and schedule a shift only when demand exists.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Absence ManagementAttendanceEnterpriseHCMPayrollSchedulingTime TrackingTimesheetsWorkforce ManagementArazzoWorkflows

Provider

workday-tracking-system

Workflows

staff-against-labor-demand
Read demand, review coverage, and add a shift when demand exists.
Lists labor demand for an organization, lists existing shifts for the same window, and creates a covering shift only when there is demand to staff.
3 steps inputs: bearerToken, endDate, endTime, organizationId, shiftDate, startDate, startTime, workerId outputs: demandTotal, shiftId
1
readDemand
Read labor demand instances for the scheduling organization within the planning window.
2
reviewCoverage
List the shifts already scheduled for the organization in the same window to understand current coverage before adding more.
3
addCoverageShift
Create a new schedule shift to add coverage against the open labor demand.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Workday Staff Against Labor Demand
  summary: Read labor demand for an organization, check existing coverage, and schedule a shift only when demand exists.
  description: >-
    Drives demand-based scheduling by reading planned labor demand for a
    scheduling organization, listing the shifts already scheduled in that window,
    and creating a new shift to add coverage only when labor demand is present.
    The workflow branches on whether any labor demand exists. Every step spells
    out its request inline so the flow can be read and executed without opening
    the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: laborDemandApi
  url: ../openapi/workday-tracking-system-labor-demand-api-openapi.yml
  type: openapi
- name: shiftsApi
  url: ../openapi/workday-tracking-system-shifts-api-openapi.yml
  type: openapi
workflows:
- workflowId: staff-against-labor-demand
  summary: Read demand, review coverage, and add a shift when demand exists.
  description: >-
    Lists labor demand for an organization, lists existing shifts for the same
    window, and creates a covering shift only when there is demand to staff.
  inputs:
    type: object
    required:
    - bearerToken
    - organizationId
    - startDate
    - endDate
    - workerId
    - shiftDate
    - startTime
    - endTime
    properties:
      bearerToken:
        type: string
        description: OAuth 2.0 JWT bearer token for authenticating with Workday.
      organizationId:
        type: string
        description: Scheduling organization ID to staff.
      startDate:
        type: string
        description: Start date for demand and shift retrieval (YYYY-MM-DD).
      endDate:
        type: string
        description: End date for demand and shift retrieval (YYYY-MM-DD).
      workerId:
        type: string
        description: Worker ID to assign to the covering shift.
      shiftDate:
        type: string
        description: Date of the covering shift (YYYY-MM-DD).
      startTime:
        type: string
        description: Covering shift start time (HH:MM:SS).
      endTime:
        type: string
        description: Covering shift end time (HH:MM:SS).
  steps:
  - stepId: readDemand
    description: >-
      Read labor demand instances for the scheduling organization within the
      planning window.
    operationId: listLaborDemand
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.bearerToken
    - name: organizationId
      in: query
      value: $inputs.organizationId
    - name: startDate
      in: query
      value: $inputs.startDate
    - name: endDate
      in: query
      value: $inputs.endDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      demandTotal: $response.body#/total
    onSuccess:
    - name: hasDemand
      type: goto
      stepId: reviewCoverage
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noDemand
      type: end
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: reviewCoverage
    description: >-
      List the shifts already scheduled for the organization in the same window
      to understand current coverage before adding more.
    operationId: listScheduleShifts
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.bearerToken
    - name: organizationId
      in: query
      value: $inputs.organizationId
    - name: startDate
      in: query
      value: $inputs.startDate
    - name: endDate
      in: query
      value: $inputs.endDate
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      existingShiftTotal: $response.body#/total
  - stepId: addCoverageShift
    description: >-
      Create a new schedule shift to add coverage against the open labor demand.
    operationId: createScheduleShift
    parameters:
    - name: Authorization
      in: header
      value: Bearer $inputs.bearerToken
    requestBody:
      contentType: application/json
      payload:
        workerId: $inputs.workerId
        organizationId: $inputs.organizationId
        shiftDate: $inputs.shiftDate
        startTime: $inputs.startTime
        endTime: $inputs.endTime
    successCriteria:
    - condition: $statusCode == 201
    outputs:
      shiftId: $response.body#/id
      shiftWorkerId: $response.body#/workerId
  outputs:
    demandTotal: $steps.readDemand.outputs.demandTotal
    shiftId: $steps.addCoverageShift.outputs.shiftId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/workday-tracking-system-staff-against-labor-demand-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.