Assembled · Arazzo Workflow

Assembled Review an Agent's Working Hours

Version 1.0.0

List the working-hours rules for an agent, then fetch the first rule in full.

1 workflow 1 source API 1 provider
View Spec View on GitHub Customer-SupportWorkforce ManagementWFMAI AgentsAI CopilotContact CenterCustomer ExperienceSupport OperationsSchedulingForecastingQuality AssuranceVendor ManagementBPOArazzoWorkflows

Provider

assembled

Workflows

review-working-hours
List an agent's working-hours rules and fetch the first in detail.
Lists working-hours rules for the agent and retrieves the first rule's full definition, or ends when the agent has no rules.
2 steps inputs: agentId, apiKey outputs: ruleId, weeklyPattern
1
listRules
List the working-hours rules constraining when the agent may be scheduled, returning the first rule id.
2
getRule
Retrieve the first working-hours rule in full to expose its weekly pattern, timezone, and effective dates.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Assembled Review an Agent's Working Hours
  summary: List the working-hours rules for an agent, then fetch the first rule in full.
  description: >-
    Inspects the scheduling constraints that bound when an agent may be
    scheduled. The workflow lists the working-hours rules for a given agent, then
    branches: when at least one rule exists it retrieves that rule in full to
    expose its weekly pattern, timezone, and effective dates, and when none exist
    it ends cleanly. 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: workingHoursApi
  url: ../openapi/assembled-working-hours-api-openapi.yml
  type: openapi
workflows:
- workflowId: review-working-hours
  summary: List an agent's working-hours rules and fetch the first in detail.
  description: >-
    Lists working-hours rules for the agent and retrieves the first rule's full
    definition, or ends when the agent has no rules.
  inputs:
    type: object
    required:
    - apiKey
    - agentId
    properties:
      apiKey:
        type: string
        description: Assembled API key (sk_live_...) used as the HTTP Basic Auth username.
      agentId:
        type: string
        description: Assembled agent ID whose working-hours rules are reviewed.
  steps:
  - stepId: listRules
    description: >-
      List the working-hours rules constraining when the agent may be scheduled,
      returning the first rule id.
    operationId: listWorkingHours
    parameters:
    - name: agent_id
      in: query
      value: $inputs.agentId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ruleId: $response.body#/working_hours/0/id
    onSuccess:
    - name: hasRule
      type: goto
      stepId: getRule
      criteria:
      - context: $response.body
        condition: $.working_hours.length > 0
        type: jsonpath
    - name: noRule
      type: end
      criteria:
      - context: $response.body
        condition: $.working_hours.length == 0
        type: jsonpath
  - stepId: getRule
    description: >-
      Retrieve the first working-hours rule in full to expose its weekly
      pattern, timezone, and effective dates.
    operationId: getWorkingHoursRule
    parameters:
    - name: id
      in: path
      value: $steps.listRules.outputs.ruleId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      timezone: $response.body#/timezone
      weeklyPattern: $response.body#/weekly_pattern
      effectiveFrom: $response.body#/effective_from
  outputs:
    ruleId: $steps.listRules.outputs.ruleId
    weeklyPattern: $steps.getRule.outputs.weeklyPattern

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/assembled-review-working-hours-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.