Templates / Automate UniFi controller updates via SSH with Telegram notifications

Automate UniFi controller updates via SSH with Telegram notifications

Ready for 3.0

by Dominic Spatz · 619 views · created 2025-09-15 · DevOps, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 8 nodes and runs on a schedule (every day at 13:00). Along the way it connects OpenAI and Telegram. It also calls dl.ui.com over HTTP.

How it runs

Trigger: On a schedule (every day at 13:00).

  1. HTTP Request: calls dl.ui.com
  2. Extract Codename + Date + Time Comparison (Code): runs custom JavaScript code
  3. If: checks a condition and branches into true / false
  4. Update package lists (SSH): uses SSH
  5. Upgrade UniFi (SSH): uses SSH
  6. Message a model (OpenAI): uses OpenAI
  7. Notify via Telegram (Telegram): uses Telegram

Services it uses

OpenAITelegram

HTTP calls to: dl.ui.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Overview Automate UniFi Controller updates on self-hosted instances. This workflow checks the official UniFi Debian repo for a fresh release in the last 24 hours and, if found, upgrades the unifi package via SSH. It can also summarize changes and ping you on…

Excerpt from Dominic Spatz's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.