Remote · Arazzo Workflow

Remote Cancel A Time Off Request

Version 1.0.0

Find an employment's approved time off request and cancel it.

1 workflow 1 source API 1 provider
View Spec View on GitHub Global PayrollEORContractor ManagementContractor of RecordPEOHRISRecruitingBenefitsEmploymentHRComplianceWorkforceMCPAI AgentsArazzoWorkflows

Provider

remote-com

Workflows

cancel-time-off
Locate an approved time off request and cancel it.
Lists approved time off for an employment, confirms the first match, and cancels it.
3 steps inputs: accessToken, employmentId outputs: status, timeoffId
1
listTimeOff
List approved time off requests for the employment.
2
confirmTimeOff
Read the matched time off request back to confirm it before canceling.
3
cancelTimeOff
Cancel the matched time off request.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Remote Cancel A Time Off Request
  summary: Find an employment's approved time off request and cancel it.
  description: >-
    Cancels an existing time off request for an employment. The workflow lists
    the employment's time off filtered to the approved status, reads the first
    match back to confirm it, and cancels it. 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
  x-realizes-capability-ids:
  - BC-300.70
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-300.70
      capability_name: HR Operations Management
      spec: remote-com-time-off-api-openapi.yml
      confidence: 0.7
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: timeOffApi
  url: ../openapi/remote-com-time-off-api-openapi.yml
  type: openapi
workflows:
- workflowId: cancel-time-off
  summary: Locate an approved time off request and cancel it.
  description: >-
    Lists approved time off for an employment, confirms the first match, and
    cancels it.
  inputs:
    type: object
    required:
    - accessToken
    - employmentId
    properties:
      accessToken:
        type: string
        description: Company-scoped bearer access token.
      employmentId:
        type: string
        description: The employment whose time off should be canceled.
  steps:
  - stepId: listTimeOff
    description: List approved time off requests for the employment.
    operationId: listTimeOffRequests
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: employment_id
      in: query
      value: $inputs.employmentId
    - name: status
      in: query
      value: approved
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      timeoffId: $response.body#/data/timeoff/0/id
    onSuccess:
    - name: hasMatch
      type: goto
      stepId: confirmTimeOff
      criteria:
      - context: $response.body
        condition: $.data.timeoff.length > 0
        type: jsonpath
    - name: noMatch
      type: end
      criteria:
      - context: $response.body
        condition: $.data.timeoff.length == 0
        type: jsonpath
  - stepId: confirmTimeOff
    description: Read the matched time off request back to confirm it before canceling.
    operationId: showTimeOffRequest
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: timeoff_id
      in: path
      value: $steps.listTimeOff.outputs.timeoffId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/data/timeoff/status
  - stepId: cancelTimeOff
    description: Cancel the matched time off request.
    operationId: cancelTimeOffRequest
    parameters:
    - name: Authorization
      in: header
      value: "Bearer $inputs.accessToken"
    - name: timeoff_id
      in: path
      value: $steps.listTimeOff.outputs.timeoffId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/data/timeoff/status
  outputs:
    timeoffId: $steps.listTimeOff.outputs.timeoffId
    status: $steps.cancelTimeOff.outputs.status

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/remote-com-cancel-time-off-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.