Actions795
- X Type Role Actions
- View Filter Actions
- View List Group Actions
- View Lists Actions
- Virima Details Actions
- Virtual Agent Actions
- VM Workspace Details Actions
- Webhook Actions
- Webhook Event Actions
- Webhook Repository Actions
- Wordpress Details Actions
- Wordpress Org Details Actions
- Workdays Actions
- Workflow Target Actions
- Xero Details Actions
- Xtype Actions
- X Type Mapping Actions
- To Do Group Actions
- T Outcome Actions
- Tree Actions
- T Status Actions
- Twilio Whats App Details Actions
- Twitter Details Actions
- Type Info Actions
- Uname Actions
- Uname Event Subscription Actions
- Uname Notification Actions
- Uname Presence Subscription Actions
- Unsub Email Service Users Actions
- User Change Actions
- User Roles Actions
- Users Actions
- Version Actions
- View Columns Actions
- Snipe IT Details Actions
- Snow Details Actions
- SQL Import Actions
- Std Request Actions
- Stream One Ion Details Actions
- Supplier Order Header Actions
- Synnex Details Actions
- Tabname Actions
- Tag Actions
- Tanium Details Actions
- Tax Actions
- Tax Rule Actions
- Team Image Actions
- Teams Chat Message Actions
- Tech Data Reseller Details Actions
- Tenable Actions
- Tenable Details Actions
- Ticket Area Actions
- Timesheet Actions
- Timesheet Event Actions
- Timeslot Actions
- Schedule Occurrence Actions
- Screen Layout Actions
- Script Header Actions
- Search Actions
- Section Detail Actions
- Security Question Actions
- Security Question Validate Actions
- Service Availability Actions
- Service Category Actions
- Service Request Details Actions
- Service Restriction Actions
- Serv Site Actions
- Serv Status Actions
- Setup Tab Actions
- Setup Tab Group Actions
- Shopify Details Actions
- Site Actions
- Slack Details Actions
- Sla Head Actions
- Quotation Header Actions
- Recurring Invoice Header Actions
- Release Actions
- Release Branch Actions
- Release Component Actions
- Release Note Group Actions
- Release Pipeline Actions
- Release Product Actions
- Release Type Actions
- Remote Session Data Actions
- Remote Session Teams Actions
- Report Data Actions
- Report Repository Actions
- Request Type Actions
- Request Type Field Actions
- Request Type Group Actions
- Roadmap Actions
- Sage Business Cloud Details Actions
- Sales Mailbox Actions
- Sales Mailbox Detail Actions
- Schedule Actions
- Outgoingemail Actions
- Pager Duty Mapping Actions
- Parts Lookup Actions
- Parts Lookup Confirmation Actions
- Pdf Template Actions
- Pdf Template Repository Actions
- Policy Actions
- Power Shell Script Actions
- Power Shell Script Criteria Actions
- Power Shell Script Processing Actions
- Prepay History Actions
- Projects Actions
- PRTG Details Actions
- Publish Profiles Actions
- Qualification Actions
- Quick Books Details Actions
- Message Content Actions
- Microsoft Subscription Mapping Actions
- Microsoft Teams Mapping Actions
- Module Setup Actions
- MYOB Details Actions
- N Central Details Actions
- NHD Device Info Actions
- NHD Identity Application Actions
- NHD Roles Actions
- NH Server Config Actions
- Notification Content Actions
- Online Status Actions
- Opps Actions
- Order Head Actions
- Organisation Actions
- Outbound Integration Actions
- Outbound Integration Method Actions
- Outbound Integration Repository Actions
- Outgoing Actions
- Outgoing Attempt Actions
- Kandji Details Actions
- Kashflow Details Actions
- KB Entry Actions
- Language Pack Actions
- Language Pack Translations Custom Actions
- LDAP Connection Actions
- Licence Actions
- Licence Change Actions
- Licence Info Actions
- Licence Role Actions
- Live Chat Header Actions
- Live Chat Msg Actions
- Login Token Actions
- Lookup Actions
- Mailbox Actions
- Mail Campaign Actions
- Mail Campaign Email Actions
- Manage Engine Details Actions
- Marketing Open Actions
- Marketing Unsubscribe Actions
- Mattermost Details Actions
- Integration Configuration Actions
- Integration Data Actions
- Integration Error Actions
- Integration Export Actions
- Integration Field Data Actions
- Integration Field Mapping Actions
- Integration Look Up Actions
- Integration Request Actions
- Integration Runbook Variable Group Actions
- Integration Site Mapping Actions
- Integrator Log Actions
- Integrator Schedule Actions
- Invoice Change Actions
- Invoice Header Actions
- Invoice Payment Actions
- Item Actions
- Item Group Actions
- Item Stock Actions
- Item Stock History Actions
- Item Supplier Actions
- Jamf Details Actions
- Jira Details Actions
- Journey Actions
- Fault To Do Actions
- Feed Actions
- Feedback Actions
- Field Actions
- Field Group Actions
- Field Info Actions
- Flow Detail Actions
- Flow Header Actions
- Formatted Email Actions
- Fortnox Details Actions
- Generic Actions
- Google Business Details Actions
- Halo News Actions
- Holidays Actions
- Impersonation Request Actions
- Import Csv Actions
- Incoming Email Actions
- Incoming Event Actions
- Ingram Micro Details Actions
- Ingram Micro Reseller Details Actions
- Instance Actions
- Device Applications Actions
- Device Change Actions
- Device Meter Reading Actions
- Distribution Lists Actions
- Distribution Lists Log Actions
- Downtime Actions
- Dynatrace Details Actions
- Ecommerce Order Actions
- Email Address Book Actions
- Email Rule Actions
- Email Store Actions
- Esc Msg Actions
- Event Actions
- Event Rule Actions
- Exact Details Actions
- External Link Actions
- Facebook Details Actions
- FAQ List Head Actions
- Fault Approval Actions
- Fault Forecasting Actions
- Faults Actions
- Contactgroup Actions
- Contactgroupcontacts Actions
- Contract Actions
- Contract Header Actions
- Contract Rule Actions
- Contract Schedule Actions
- Contract Schedule Plan Actions
- Contract Template Header Actions
- Control Actions
- Costcentres Actions
- CSV Template Actions
- Currency Actions
- Custom Button Actions
- Custom Query Actions
- Custom Table Actions
- Dashboard Links Actions
- Datto Commerce Details Actions
- Device Actions
- Booking Type Actions
- Bookmark Actions
- Budget Type Actions
- Bulk Email Actions
- Business Central Details Actions
- Cab Header Actions
- Call Log Actions
- Canned Text Actions
- Category Detail Actions
- Certificate Actions
- Charge Rate Actions
- Chat Flow Actions
- Chat Profile Actions
- Company Actions
- Config Commit Actions
- Confirm Closure Actions
- Confluence Details Actions
- Connected Instance Actions
- Consignment Header Actions
- Amazon Seller Details Actions
- Analyzer Profile Actions
- Appointment Actions
- Approval Process Actions
- Approval Process Rule Actions
- Approval Store Actions
- Area Actions
- Area Azure Tenant Actions
- Area Item Actions
- Area Note Actions
- Area Popup Actions
- Area Request Type Actions
- Attachment Actions
- Audit Actions
- Audit Password Field Actions
- Autoassign Actions
- Automation Actions
- Avalara Details Actions
- AWS Details Actions
- Azure AD Connection Actions
- Azure AD Mapping Actions
- Azure Delta Actions
- Azure Dev Ops Actions
- Background Task Actions
- Actions Actions
- Addressbook Actions
- Address Store Actions
- Adobe Acrobat Details Actions
- Adobe Commerce Details Actions
- Agent Check In Actions
- Agent Image Actions
- Ai Suggestion Actions
Tree → List Of Tree
AI-generatedOverview
This node integrates with the Halo PSA API to retrieve hierarchical organizational data represented as a "Tree". Specifically, the List Of Tree operation fetches a structured list of organizational units, departments, agents, teams, and managers according to specified filters and sorting options.
Typical use cases include:
- Visualizing or exporting an organization's structure.
- Filtering organizational units by agent departments, edit permissions, or types.
- Paginating and searching through large organizational trees.
- Including related entities such as agents, managers, and teams in the output.
For example, a user might want to list all departments where agents belong, including only those that can be edited, sorted by name, and paginated for display in a dashboard.
Properties
| Name | Meaning |
|---|---|
| Agent Departments Only | Filter to include only departments associated with agents. |
| Can Edit Only | Filter to include only entities that the user has permission to edit. |
| Count | Limit the number of results returned. |
| Idonly | Return only IDs instead of full objects. |
| Include Agents | Include agent details within the tree nodes. |
| Include Managers | Include manager details within the tree nodes. |
| Include Teams | Include team details within the tree nodes. |
| Isorgchart | Flag indicating if the tree should be formatted as an organizational chart. |
| Order | Primary field to sort the results by (string). |
| Order 2 | Secondary field to sort the results by (string). |
| Order 3 | Tertiary field to sort the results by (string). |
| Order 4 | Fourth-level field to sort the results by (string). |
| Order 5 | Fifth-level field to sort the results by (string). |
| Orderdesc | Boolean flag to indicate descending order for primary sort. |
| Orderdesc 2 | Boolean flag to indicate descending order for secondary sort. |
| Orderdesc 3 | Boolean flag to indicate descending order for tertiary sort. |
| Orderdesc 4 | Boolean flag to indicate descending order for fourth-level sort. |
| Orderdesc 5 | Boolean flag to indicate descending order for fifth-level sort. |
| Org Id | Filter by specific organization ID. |
| Page No | Page number for paginated results. |
| Page Size | Number of items per page for pagination. |
| Pageinate | Flag to enable or disable pagination. |
| Search | Text search filter applied to the tree nodes. |
| Show All | Flag to include all nodes regardless of other filters. |
| Type | Filter by type of tree node (e.g., department, team). |
Output
The node outputs JSON data representing the requested organizational tree structure. The exact shape depends on the filters and includes selected:
- Organizational units (departments, teams).
- Agents and managers if included.
- Pagination metadata if pagination is enabled.
Each item in the output corresponds to a node in the organizational tree, potentially containing nested child nodes depending on the API response.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Halo PSA API.
- The node expects configuration of base URL, tenant identifier, client ID, and client secret for the Halo PSA service.
- Network connectivity to the Halo PSA API endpoint.
Troubleshooting
- No credentials returned!: Ensure that the API authentication credentials are properly configured in n8n.
- Resource or Operation not found: Verify that the Resource is set to "Tree" and Operation to "List Of Tree".
- API request errors: Check network connectivity and validity of query parameters.
- JSON parsing errors: If using advanced JSON parameters, ensure they are valid JSON strings.
- Pagination issues: Confirm that
page_noandpage_sizeare set correctly when pagination is enabled.
If the node returns error messages from the API, review the message for hints about invalid parameters or permission issues.
Links and References
- Halo PSA API Documentation (example placeholder)
- n8n Documentation - Creating Custom Nodes
- Organizational Tree Concepts