This workflow corresponds to n8n.io template #6591 — we link there as the canonical source.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "AWTRIX_YT_Template",
"name": "AWTRIX YouTube Subscriber Count",
"tags": [
"awtrix",
"youtube",
"iot",
"dashboard",
"smartclock"
],
"nodes": [
{
"id": "trigger-hourly",
"name": "Every Hour",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
0
],
"parameters": {
"rule": {
"interval": [
{
"field": "hours"
}
]
}
},
"typeVersion": 1
},
{
"id": "fetch-youtube-stats",
"name": "Fetch YT Subscriber Count",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
0
],
"parameters": {
"url": "https://youtube.googleapis.com/youtube/v3/channels",
"options": {},
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "id",
"value": "YOUR_YOUTUBE_CHANNEL_ID"
},
{
"name": "key",
"value": "YOUR_YOUTUBE_API_KEY"
},
{
"name": "part",
"value": "statistics"
}
]
}
},
"typeVersion": 3
},
{
"id": "send-to-awtrix",
"name": "Send to AWTRIX",
"type": "n8n-nodes-base.httpRequest",
"position": [
480,
0
],
"parameters": {
"url": "http://YOUR_AWTRIX_IP/api/custom",
"method": "POST",
"options": {},
"sendBody": true,
"sendQuery": true,
"bodyParameters": {
"parameters": [
{
"name": "text",
"value": "={{ Intl.NumberFormat('en-US', { notation: \"compact\", maximumFractionDigits: 2 }).format($json.items[0].statistics.subscriberCount) }}"
},
{
"name": "icon",
"value": "YOUR_ICON_ID"
}
]
},
"queryParameters": {
"parameters": [
{
"name": "name",
"value": "ytsubs"
}
]
}
},
"retryOnFail": true,
"typeVersion": 3
}
],
"active": true,
"settings": {
"executionOrder": "v1"
},
"versionId": "",
"connections": {
"Every Hour": {
"main": [
[
{
"node": "Fetch YT Subscriber Count",
"type": "main",
"index": 0
}
]
]
},
"Fetch YT Subscriber Count": {
"main": [
[
{
"node": "Send to AWTRIX",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This n8n workflow fetches the subscriber count of a specific YouTube channel using the YouTube Data API and displays the compacted count on an AWTRIX 3 / Ulanzi Smart Clock via its local HTTP API.
Source: https://n8n.io/workflows/6591/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Daily poems in Telegram. Uses telegram, httpRequest, lingvaNex. Scheduled trigger; 4 nodes.
This n8n workflow provides automated monitoring of YouTube channels and sends real-time notifications to RocketChat when new videos are published. It supports all YouTube URL formats, uses dual-source
📘 Multi-Photo Facebook Post (Windows Directory) – How to Use ✅ Requirements To run this automation, make sure you have the following: