How to Connect Claude Code to n8n (Telegram Alerts)
π Get Hostinger VPS (use code LEON for 10% off): https://hostinger.com/leon π Access ALL video resources & get personalized help in my community: https://www.skool.com/agentic-labs/about?ref=3fd61190e13d426dbf4f3b38adc7de69 π Start building with n8n (use my link to support my channel β€οΈ): https://n8n.partnerlinks.io/f7f19w3vrhin π¬ My AI voice-to-text software (Wispr Flow): https://wisprflow.ai/r?LEON114 β Buy me a coffee: https://www.buymeacoffee.com/leonvanzyl π΅ Donate using PayPal: https://www.paypal.com/ncp/payment/EKRQ8QSGV6CWW πΊ More Claude Code Tutorials: https://www.youtube.com/watch?v=50tzzaOvcO0&list=PL4HikwTaYE0FRIBAw9b1TREYXd0heqDlc&index=4 π Claude Code Hooks Documentation: https://docs.claude.com/en/docs/claude-code/hooks-guide π Complete N8N Masterclass: https://youtu.be/CfD17vBCPEU Discover how to supercharge your Claude Code workflows by integrating custom hooks with N8N automation. Learn to receive instant Telegram notifications when your AI agent completes tasks or requires approval, perfect for long-running agentic coding processes. This comprehensive tutorial covers setting up Claude Code hooks, creating Python scripts, configuring N8N workflows, and integrating Telegram bots for real-time updates on any device. β° TIMESTAMPS: 00:00 - Introduction to Claude Code hooks and their potential 01:15 - Understanding hook events and when they trigger 02:22 - Why this solution matters for long running agentic tasks 03:00 - Setting up your first hook in Claude Code 04:33 - Creating Python scripts for hook commands 06:26 - Using Claude Code to debug hook inputs 08:33 - Extracting the agents last message from transcripts 11:31 - Setting up N8N in the cloud with Hostinger 14:31 - Creating your first N8N workflow and Telegram bot 16:46 - Configuring webhook integration between Claude Code and N8N 20:00 - Testing the complete notification system 22:22 - Adding notification hooks for approval requests #claudecode #n8n #agenticai