HubSpot · Arazzo Workflow

HubSpot Triage Tasks

Version 1.0.0

List tasks then update a task's status and priority.

1 workflow 1 source API 1 provider
View Spec View on GitHub AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSalesArazzoWorkflows

Provider

hubspot

Workflows

triage-tasks
List tasks then update a task's status and priority.
Lists tasks, selects the first task returned, updates its status and priority, and reads the task back to confirm the change.
3 steps inputs: hsTaskPriority, hsTaskStatus, limit outputs: taskId, updatedAt
1
listTasks
listTasks
List the current tasks, returning at most the supplied limit so a task can be selected for triage.
2
updateTask
updateTask
Update the selected task's status and priority to triage it within the queue.
3
confirmTask
getTask
Read the updated task back by id to confirm the new status and priority persisted.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: HubSpot Triage Tasks
  summary: List tasks then update a task's status and priority.
  description: >-
    A queue-grooming pattern for the HubSpot task engagement object. The
    workflow lists the current tasks, picks the first task in the queue, and
    updates its status and priority — for example bumping a stale task to HIGH
    priority or marking it COMPLETED — then reads the task back to confirm the
    new values stuck. 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: tasksApi
  url: ../openapi/hubspot-tasks-api-openapi.yml
  type: openapi
workflows:
- workflowId: triage-tasks
  summary: List tasks then update a task's status and priority.
  description: >-
    Lists tasks, selects the first task returned, updates its status and
    priority, and reads the task back to confirm the change.
  inputs:
    type: object
    required:
    - hsTaskStatus
    - hsTaskPriority
    properties:
      limit:
        type: integer
        description: Maximum number of tasks to return when listing.
        default: 10
      hsTaskStatus:
        type: string
        description: The new task status to set, e.g. COMPLETED or WAITING (hs_task_status).
      hsTaskPriority:
        type: string
        description: The new task priority to set, e.g. LOW, MEDIUM, or HIGH (hs_task_priority).
  steps:
  - stepId: listTasks
    description: >-
      List the current tasks, returning at most the supplied limit so a task can
      be selected for triage.
    operationId: listTasks
    parameters:
    - name: limit
      in: query
      value: $inputs.limit
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskId: $response.body#/results/0/id
      tasks: $response.body#/results
  - stepId: updateTask
    description: >-
      Update the selected task's status and priority to triage it within the
      queue.
    operationId: updateTask
    parameters:
    - name: taskId
      in: path
      value: $steps.listTasks.outputs.taskId
    requestBody:
      contentType: application/json
      payload:
        properties:
          hs_task_status: $inputs.hsTaskStatus
          hs_task_priority: $inputs.hsTaskPriority
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskId: $response.body#/id
      updatedAt: $response.body#/updatedAt
  - stepId: confirmTask
    description: >-
      Read the updated task back by id to confirm the new status and priority
      persisted.
    operationId: getTask
    parameters:
    - name: taskId
      in: path
      value: $steps.updateTask.outputs.taskId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      taskId: $response.body#/id
      properties: $response.body#/properties
  outputs:
    taskId: $steps.updateTask.outputs.taskId
    updatedAt: $steps.updateTask.outputs.updatedAt

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/hubspot-triage-tasks-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.