{"product_id":"docker-container-monitor-via-telegram-bot-ai-log-insights","title":"Docker Container Monitor via Telegram Bot + AI Log Insights","description":"\u003ch3\u003eTurn Docker uptime into instant Telegram insights—plus AI log summaries\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow gives you a smart Telegram command center for your Docker homelab: monitor container health, get alerts when something fails, view logs, and restart services remotely—all with GPT-powered log analysis that replaces raw terminal output with a clear, structured breakdown.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eReceives container heartbeat alerts via webhook\u003c\/b\u003e so you’re notified the moment a container changes status or fails.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eSends Telegram notifications\u003c\/b\u003e for status changes and failure events.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eLets you request logs from chat\u003c\/b\u003e, then automatically analyzes those logs with an LLM (GPT) and summarizes them clearly.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eEnables remote control\u003c\/b\u003e from Telegram, including restarting services on demand.\u003c\/li\u003e\n  \u003cli\u003eSupports manual commands such as \u003cb\u003e“status”\u003c\/b\u003e and \u003cb\u003e“update all containers”\u003c\/b\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eHomelab on-call assistant:\u003c\/b\u003e Get an alert in Telegram when a container goes unhealthy, then request logs to understand the cause immediately.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eFaster incident response:\u003c\/b\u003e Restart a failing service directly from chat without SSHing into the host.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eOperational visibility:\u003c\/b\u003e Run “status” to quickly review container health from your phone.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eClean troubleshooting:\u003c\/b\u003e Replace noisy logs with an AI summary that highlights what matters.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cb\u003eIntegrations\/inputs:\u003c\/b\u003e Telegram Bot API credentials, plus \u003cb\u003eSSH access to your Docker host\u003c\/b\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eWorkflow nodes (tech stack):\u003c\/b\u003e \u003ccode\u003ewebhook\u003c\/code\u003e, \u003ccode\u003eif\u003c\/code\u003e, \u003ccode\u003eswitch\u003c\/code\u003e, \u003ccode\u003emerge\u003c\/code\u003e, \u003ccode\u003ecode\u003c\/code\u003e, and \u003ccode\u003essh\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cb\u003eAI log insights:\u003c\/b\u003e Logs requested from Telegram are analyzed by a \u003cb\u003eGPT LLM\u003c\/b\u003e and returned as structured summaries.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eRequirements \u0026amp; setup\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCreate a Telegram bot and add its token as workflow credentials.\u003c\/li\u003e\n  \u003cli\u003eProvide SSH credentials for the Docker host in the SSH node.\u003c\/li\u003e\n  \u003cli\u003eDeploy the workflow and configure the webhook endpoint.\u003c\/li\u003e\n  \u003cli\u003eTailor container names and heartbeat logic to your environment.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003cp\u003e\u003cb\u003eNote:\u003c\/b\u003e If you’re on Kubernetes, you can adapt the SSH commands accordingly, and you can swap the AI model provider if needed.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45767900135603,"sku":"N8N-10476","price":5.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/UFgnCCVBBhHu80uGp0Pi9_nTbOheOM.png?v=1786093829","url":"https:\/\/buyflowscripts.com\/products\/docker-container-monitor-via-telegram-bot-ai-log-insights","provider":"N8N Commerce","version":"1.0","type":"link"}