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
Related Templates
Send structured logs to BetterStack from any workflow using HTTP Request
Send structured logs to BetterStack from any workflow using HTTP Request Who is this for? This workflow is perfect for...
Provide latest euro exchange rates from European Central Bank via Webhook
What is this workflow doing? This simple workflow is pulling the latest Euro foreign exchange reference rates from the E...
Convert Tour PDFs to Vector Database using Google Drive, LangChain & OpenAI
🧩 Workflow: Process Tour PDF from Google Drive to Pinecone Vector DB with OpenAI Embeddings Overview This workflow au...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments