capabilities.work

Review and Cancel a Time Off Request

A 2-step recipe with Assembled. We can help you get access.

Recipe · 2 steps

Review and Cancel a Time Off Request

with Assembled · HR Operations Management

Find a time-off request by status and cancel it when one is present.

  1. List time-off requests for the agent in the supplied status, returning the first matching request id.
  2. Cancel the first matching time-off request found in the prior step.
What you'll need to have ready
  • apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
  • status: Status to filter requests by (pending, approved, denied, cancelled).
  • agentId: Optional Assembled agent ID to scope the request list.
For your developer

Arazzo workflow assembled:cancel-time-off, 2 operations: listTimeOffRequests → cancelTimeOffRequest. Specs on APIs.io.