Use this n8n workflow to automatically fetch your YouTube subscriber count hourly and display it instantly on an AWTRIX smart clock or dashboard. This n8n template is essential for creators.
Download this n8n workflow template and start using it instantly.
YouTube Creators and content managers who want passive, real-time metrics display.
Users of AWTRIX, Ulanzi Smart Clocks, or similar IoT display devices.
Developers needing an example of an n8n template for API data aggregation and specialized device communication.
Anyone looking to utilize an n8n node for advanced data formatting and scheduling.
For creators monitoring growth, having metrics constantly visible is highly valuable. This n8n workflow solves the problem of needing to manually check YouTube Analytics by automating the data retrieval and display process.
This robust n8n template is triggered hourly and ensures that your AWTRIX device always shows the most up-to-date subscriber count, formatted cleanly (e.g., '1.5K' instead of '1500'). By combining the power of the n8n schedule trigger with two dedicated HTTP Request n8n node components, you create a seamless connection between a major API service and your physical IoT dashboard.
This n8n workflow operates on a simple, efficient schedule:
statistics part of your channel data.POST request to the custom AWTRIX API endpoint. It utilizes an n8n expression to precisely format the large subscriber number into a compact string (e.g., 100000 becomes 100K) before sending the payload, alongside a specified icon ID, to the AWTRIX device for instant display under the ytsubs custom app name. This completes the hourly cycle for the n8n workflow.To successfully implement this n8n template, follow these setup steps:
YOURYOUTUBEAPIKEY in the "Fetch YT Subscriber Count" n8n node configuration.YOURYOUTUBECHANNELID with the unique ID of the YouTube channel you wish to monitor.http://192.168.1.50/api/custom).YOURICONID with the numeric ID of the icon you want to display on the AWTRIX clock.This n8n workflow relies on three core nodes:
Every Hour (n8n trigger - Schedule Trigger):
Function: Acts as the starting point, initiating the entire n8n workflow on a fixed time interval.
Key Configuration: Set to execute every hour, ensuring frequent data updates.
Fetch YT Subscriber Count (n8n node - HTTP Request):
Function: Responsible for connecting to the external YouTube Data API to retrieve the necessary channel statistics.
Key Configuration: Uses the GET method. Requires three query parameters: id (Channel ID), key (API Key), and part (statistics).
Send to AWTRIX (n8n node - HTTP Request):
Function: Handles the final communication with the local AWTRIX device, sending the formatted data for display.
* Key Configuration: Uses the POST method targeting the /api/custom endpoint. Crucially, the text body parameter uses an n8n expression (Intl.NumberFormat) to automatically format the subscriber count concisely, optimizing it for the small display.
Automate ServiceNow incident lookups directly from Slack using an n8n workflow. Instantly retrieve incident details and status using a simple Slack slash command.

Automate conference research using this advanced n8n workflow. Scrape agendas, identify high-priority speakers, and plan your networking strategy with AI-driven insights and custom n8n nodes.

Use this powerful n8n workflow to automatically lookup company data (like name and location) using the uProc n8n node, simplifying data enrichment and verification processes.

Implement a persistent Round Robin load balancer in your n8n workflow. This n8n template uses a Data Table and a Switch node to distribute tasks evenly across multiple routes.

Schedule and automate Docker Registry cleanup using this powerful n8n workflow. Automatically remove old image tags and execute crucial garbage collection commands via SSH.









































