capabilities.work

Request Time Off for an Agent

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

Recipe · 3 steps

Request Time Off for an Agent

with Assembled · HR Operations Management

Verify an agent, create a time-off request, and confirm it was recorded.

  1. Read the agent record to confirm the person exists before submitting a time-off request on their behalf.
  2. Create a time-off request for the verified agent across the supplied window.
  3. List the agent's time-off requests to confirm the newly created request was recorded.
What you'll need to have ready
  • apiKey: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
  • agentId: Assembled agent ID requesting time off.
  • type: Type of time off (for example pto).
  • startTime: Time-off start (ISO 8601 date-time).
  • endTime: Time-off end (ISO 8601 date-time).
  • allDay: Whether the time off spans full days.
  • notes: Optional notes for the request.
For your developer

Arazzo workflow assembled:request-time-off, 3 operations: getPerson → createTimeOff → listTimeOffRequests. Specs on APIs.io.