· Dan · 1 min read
List all UniFi Devices on Site Controller
How to list all devices on all sites on your UniFi site controller.
Overview
How to use the UniFi Site Manager node to list all devices.
The Workflow
Double-click nodes above to view settings, or copy nodes to paste directly into your n8n workflow.
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
],
"id": "a1805d83-e595-4deb-b2c4-1f6df8b32eec",
"name": "When clicking ‘Execute workflow’"
},
{
"parameters": {
"fieldToSplitOut": "devices",
"include": "allOtherFields",
"options": {}
},
"type": "n8n-nodes-base.splitOut",
"typeVersion": 1,
"position": [
416,
0
],
"id": "3f3fc10a-913f-4811-87a4-1ec6efa4bd8b",
"name": "Split Out"
},
{
"parameters": {
"resource": "device",
"requestOptions": {}
},
"type": "@mspcopilot/n8n-nodes-unifi-sitemanager.uniFiSiteManager",
"typeVersion": 1,
"position": [
208,
0
],
"id": "df6e06f0-be00-4198-8402-290adf8db322",
"name": "Get all devices"
}
],
"connections": {
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get all devices",
"type": "main",
"index": 0
}
]
]
},
"Get all devices": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "14445b38d20121b4751de88ab2782b87eab98ee62c8c924fbaa64f14b61dec12"
}
} Share: