n8n Telegram Bot Builder

    by AMIN REDA

    1

    Design conversational Telegram bots in n8n with AI replies, session state, confirm/reject buttons that cannot double-fire, and automatic cleanup.

    Free

    Security scanned

    Works with the AI Agents you already use

    About this skill

    Design Telegram bots in n8n that hold real conversations and survive real users.

    1. Bot setup. Create the bot with BotFather, store the token in n8n credentials, and use the Telegram Trigger node for message and callback_query updates.
    2. Route update types. Add a Switch node: text message, button callback, command (/start, /help, /cancel), photo or other media. Unsupported types get a friendly reply.
    3. Session state. Keep one record per chat_id in a Sheet, data table or Redis with fields such as step, collected_data (JSON), last_activity.
      • Load the session at the start of each update; create it on /start.
      • Save after every step.
      • /cancel clears it.
    4. Conversational AI step. Pass the new message plus the saved collected_data to an AI Agent that returns JSON: extracted fields, missing_fields, and a reply_text. If fields are missing, send one clear clarifying question, not a list of ten.
    5. Confirm before acting. Show a summary with Confirm / Edit / Cancel inline buttons. Only perform the real action after Confirm.
    6. Buttons without duplicates. Put an action and record id in callback_data. On click:
      • Answer the callback query right away to stop the spinner.
      • Check the record's current status; if already decided, reply "already handled" and stop.
      • Otherwise update status first, then perform the action, then edit the original message to remove the buttons.
    7. Timeout cleanup. Add a Schedule Trigger (for example hourly) that finds sessions whose last_activity is older than the limit, resets them, and optionally sends a short "session closed" message.
    8. Error handling. Wrap external calls with retries; on failure tell the user plainly and alert the owner via an Error Trigger workflow.

    Designs the bot flow and prompts; it does not create the bot or deploy the workflow for you.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Frequently Asked Questions

    Design conversational Telegram bots in n8n with AI replies, session state, confirm/reject buttons that cannot double-fire, and automatic cleanup.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use n8n Telegram Bot Builder on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.

    Free