{"product_id":"telegram-claude-sonnet-chatbot-n8n-workflow-automation","title":"Telegram Claude Sonnet Chatbot n8n Workflow Automation","description":"\u003ch3\u003eTurn your Telegram bot into a Claude-powered conversational assistant—automated with n8n\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow listens for every new message your Telegram bot receives, sends the user’s text to \u003cstrong\u003eAnthropic Claude (Sonnet 4.6)\u003c\/strong\u003e with short-term per-chat context, and then posts Claude’s reply back into the same Telegram chat automatically.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on new Telegram messages\u003c\/strong\u003e using the Telegram Trigger node.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts message text and chat ID\u003c\/strong\u003e from the Telegram update.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends the message to an Anthropic Claude-powered AI Agent\u003c\/strong\u003e (via an n8n AI Agent using a friendly system prompt).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRetains recent context per chat ID\u003c\/strong\u003e so conversations stay coherent within the same Telegram thread.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns Claude’s response to the originating Telegram chat\u003c\/strong\u003e by sending the generated text back to the same chat.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eSetup (quick and practical)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCreate a Telegram bot with \u003cstrong\u003eBotFather\u003c\/strong\u003e and add your Telegram API credentials in the \u003cstrong\u003eTelegram Trigger\u003c\/strong\u003e and \u003cstrong\u003eTelegram\u003c\/strong\u003e nodes.\u003c\/li\u003e\n  \u003cli\u003eAdd an \u003cstrong\u003eAnthropic (Claude)\u003c\/strong\u003e API credential and select \u003cstrong\u003eClaude Sonnet 4.6\u003c\/strong\u003e in the language model node.\u003c\/li\u003e\n  \u003cli\u003eActivate the workflow and start a conversation with your bot in Telegram to begin receiving AI replies.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eProvide instant Q\u0026amp;A support directly in Telegram for your SaaS or service.\u003c\/li\u003e\n  \u003cli\u003eAnswer user questions conversationally while preserving context for each Telegram chat.\u003c\/li\u003e\n  \u003cli\u003ePrototype an AI assistant experience without building a separate chat backend—just Telegram + n8n + Claude.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n automation workflow\u003c\/strong\u003e built with nodes including \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003etelegram\u003c\/strong\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e, \u003cstrong\u003en8nn8n-nodes-langchainagent\u003c\/strong\u003e, and \u003cstrong\u003en8nn8n-nodes-langchainlm chat anthropic\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eUses an \u003cstrong\u003eAnthropic Claude\u003c\/strong\u003e language model (selected as \u003cstrong\u003eClaude Sonnet 4.6\u003c\/strong\u003e) and an AI Agent to generate responses.\u003c\/li\u003e\n  \u003cli\u003eRoutes replies back through the \u003cstrong\u003eTelegram\u003c\/strong\u003e node to the correct chat using the extracted \u003cstrong\u003echat ID\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45767897579699,"sku":"N8N-17879","price":60.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/tmWcVKo7JG-7gb_TCJ9Fz_TP1xPNRr.png?v=1786093570","url":"https:\/\/buyflowscripts.com\/products\/telegram-claude-sonnet-chatbot-n8n-workflow-automation","provider":"N8N Commerce","version":"1.0","type":"link"}