Monitor & Manage Docker Containers with Telegram Bot & AI Log Analysis

Monitor and manage Docker containers from Telegram with AI log analysis

This workflow gives you a smart Telegram command center for your homelab. It lets you monitor Docker containers, get alerts the moment something fails, view logs, and restart services remotely. When you request logs, they're automatically analyzed by an LLM so you get a clear, structured breakdown instead of raw terminal output.

Who it's for

Anyone running a self-hosted environment who wants quick visibility and control without SSHing into a server. Perfect for homelab enthusiasts, self-hosters, and DevOps folks who want a lightweight on-call assistant.

What it does

Receives container heartbeat alerts via webhook

Sends Telegram notifications for status changes or failures

Lets you request logs or restart services from chat

Analyzes logs with GPT and summarizes them clearly

Supports manual “status” and “update all containers” commands

Requirements

Telegram Bot API credentials

SSH access to your Docker host

How to set it up

Create a Telegram bot and add its token as credentials Enter your server SSH credentials in the SSH node Deploy the workflow and set your webhook endpoint Tailor container names or heartbeat logic to your environment

Customize it

Swap SSH commands for Kubernetes if you're on k8s

Change the AI model to another provider

Extend with health checks or auto-healing logic

0
Downloads
5
Views
7.81
Quality Score
beginner
Complexity
Author:Malte Sohns(View Original →)
Created:11/8/2025
Updated:11/20/2025

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments