List Tickets
halopsa.list_tickets
ActionBusiness appsconnection required
Calls the HaloPSA API with the connection's credentials.
List tickets, with the filters Halo's ticket listing accepts.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- HaloPSA
- Secret shape
- {"client_id": "…", "client_secret": "…"} or {"client_id": "…", "refresh_token": "…"}
- Config it needs
- base_url, auth_url, tenant, scope
- Resolved by
- config.connection_id, else node.connection_id
Configuration
10 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
search Only return records matching this search string. | string | No | — | — | printer |
client_id Only return records belonging to this client, by the client's numeric id. | string | No | — | — | 12 |
agent_id Only return tickets assigned to this agent, by the agent's numeric id. | string | No | — | — | 3 |
status_id Only return tickets in this status, by the status's numeric id. | string | No | — | — | 1 |
open_only Return only open tickets. | boolean | No | false | — | — |
closed_only Return only closed tickets. | boolean | No | false | — | — |
order Name of the field to order the results by, as Halo names it. | string | No | — | — | id |
orderdesc Order the results descending rather than ascending. | boolean | No | false | — | — |
page_size How many records one page holds; Halo allows at most 100. Setting this or the page number turns pagination on. | number | No | — | 1–100 | — |
page_no Which page of results to return; the first page is 1. | number | No | — | ≥ 1 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"agent_id": "3",
"client_id": "12",
"closed_only": false,
"open_only": false,
"order": "id",
"orderdesc": false,
"search": "printer",
"status_id": "1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The records Halo returned on this page. | array | — |
count How many records this response carried. | number | — |
record_count How many records match in total, as Halo reported; equal to count on a listing that is not paginated. | number | — |
{
"count": 0,
"items": [],
"record_count": 0
}See List Tickets run in a workflow.
In a technical demo we add the HaloPSA connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.