Back to Templates

Telegram bot starter template setup & AI Agent Chatbot

Created by

Created by: Victor Gold || victorlucky

Victor Gold

Last update

Last update 3 days ago

Categories

Share


Telegram Bot Starter template workflow + n8n AI Agent Chatbot

provides a foundational setup for creating powerful Telegram bots with n8n. It handles incoming messages, photos, files, and voice notes, making it an excellent starting point for developers looking to create bots for customer engagement, support, or interactive services.

Sign up to n8n now → and try it!

Key Features:

  • Dynamic Message Handling: Respond to text messages, photos, files, and more.
  • Modular Design: Easily integrate additional workflows such as user registration, payment modules, or custom commands.
  • Error Handling: Ensure the bot gracefully manages errors and user inputs.

Extensibility:

This workflow is the base for building any Telegram bot. Additional modules, such as a user registration module, payment integration, and user profile management, are available for easy connection to expand the bot’s functionality.

Who Can Use This Workflow?

  • Developers looking for a quick way to build and customize Telegram bots.
  • Businesses and service providers who need customer interaction automation.

Setup Instructions:

  1. Replace Telegram credentials with your own API credentials.
  2. Customize responses for different message types (text, photo, file).
  3. If integrating with external services (like Google Sheets), update the necessary credentials and links.

UPDATES:

🔥 Get the most up-to-date and expanded version →

June 25:

  • New! AI Agent + Setup Instructions
  • Simple setup instructions and examples are included inside the workflow as sticky notes.

Sep 24:

  • Improved message handler: Updated logic to handle various types of messages using Switch (text, photo, file, voice, and callback).
  • Payment processing: Added new nodes for sending invoices and handling payments via Telegram

Aug 24:

  • Changed processing of system events: “new user” and ‘user who blocked bot’ events

Please reach out to Victor if you need further assistance with your n8n workflows and automations! Sign up to n8n →, you have to try it!