Chat with us
Up to 60% OFF with Recurring Discounts on Premium Upgrades & Whitelabel FlexUp to 60% OFF on Premium Upgrade & Whitelabel00:00:00:00Claim
Knowledgebase/Automation/Article

How to Create a Keyword Based Bot in Telegram: Step-by-Step Guide

  • 22 Sep 2026
  • 8 min read
  • 0 views
TL;DR:
Create a Telegram keyword bot with BotSailor by connecting your bot, enabling Keyword Replies, configuring trigger words, adding automated messages, saving the flow, and testing the response in Telegram. Keyword-based automation helps businesses instantly reply to customers, share information, and manage conversations without manual support. 

What Are Keyword Replies?

Keyword replies are automated chatbot responses that are sent when a customer types a predefined word or phrase. They help businesses answer common questions instantly, welcome new users, share product details, and guide conversations without manual assistance.

In BotSailor, each keyword can activate a visual chatbot flow containing text, images, buttons, or other actions. This makes customer communication faster, more consistent, and available even when no human agent is online.

A telegram bot keyword trigger works as the starting point of an automated conversation. When a user sends a specific keyword, the bot identifies the matching phrase and launches the connected chatbot flow automatically.

In this guide, we will create a simple keyword reply for a Telegram bot named Semibot . When a customer types a configured keyword such as “hi,” the bot will automatically send a welcome message.

This process is useful for creating a telegram keyword based bot that can handle customer questions, provide instant responses, and improve engagement. Businesses can also use the same setup to build a telegram search bot that helps users find information, products, services, or support options quickly.

Trigger keyword → Start Bot Flow → Automated text reply

Step 1: Open the BotSailor Dashboard

Log in to your BotSailor account and open the main dashboard. From the left-side navigation menu, go to Chatbot Manager .

This section allows you to view, select, and manage the messaging bots connected to your BotSailor account.

Before creating a telegram bot keyword trigger , make sure your Telegram account is properly connected with BotSailor. The connected bot will receive user messages and respond according to the automation rules you create.

Step 2: Select Your Connected Bot

Inside the Chatbot Manager, you will see your connected bots and accounts. Select the bot for which you want to create the keyword reply.

For this example, select the previously created Telegram bot named Semibot .

After selecting the bot, its available management options will appear on the right side of the dashboard.

Image caption: Selecting the Semibot account from the BotSailor Chatbot Manager.

A connected Telegram bot can be customized with multiple keyword-based automations. Each telegram bot keyword trigger can activate a different flow depending on what users type.


BotSailor Chatbot Manager showing the Semibot account selection and automation section for creating Telegram keyword replies
Selecting the Semibot account from the BotSailor Chatbot Manager before creating a keyword reply automation.


Step 3: Open the Automation Section

Click the Automation tab from the top menu of the selected bot.

Select Keyword Replies . This is where you can create and manage automated responses triggered by specific customer messages.

BotSailor uses keyword-triggered replies to start predefined chatbot flows when a subscriber sends a matching word or phrase.

This feature helps you create a powerful telegram keyword based bot where different keywords can perform different actions, such as showing product information, answering FAQs, collecting customer details, or sending notifications.

Image caption: Opening the Keyword Replies section inside BotSailor.

A properly configured telegram bot keyword trigger ensures that your automation starts only when users send the correct keyword or matching phrase.


BotSailor Keyword Replies page with the Create button used to open a new chatbot flow builder
Clicking the Create button in BotSailor to start a new keyword reply flow.




Step 4: Create a New Keyword Reply

On the Keyword Replies page, click the purple + Create button located on the right side of the screen.

BotSailor will then open the visual Flow Builder, where you can configure the trigger and design the automated conversation.

Image caption: Clicking the Create button to open a new BotSailor Flow Builder.

The Flow Builder makes it simple to build a telegram bot auto reply system without writing any code. You can connect messages, images, buttons, and actions to create complete customer communication journeys.

When users search for information about how to create a telegram bot , keyword automation is one of the most useful features because it allows bots to respond instantly based on user input.




BotSailor Keyword Replies page with the Create button used to open a new chatbot flow builder
Clicking the Create button in BotSailor to start a new keyword reply flow.



Step 5: Configure the Start Bot Flow

The new Flow Builder will initially display a Start Bot Flow block. Click or double-click this block to open the Configure Reference panel.

Complete the following settings:

Trigger Keywords

Enter the words that customers may use to activate the reply. For example:

  • hello
  • hi
  • start

These keywords tell BotSailor when it should begin the automated flow.

Keyword Matching Type
Title

A telegram bot keyword trigger works by detecting these predefined words and connecting the user's message with the correct automation sequence. This allows businesses to create a fast and reliable response system without manually replying to every customer.

Choose one of the available matching options:

Exact keyword match:
The bot activates when the customer’s message matches one of the configured keywords.

String match:
The bot may activate when the keyword appears within a longer customer message.

For this example, select Exact keyword match .

Choosing the correct matching type is important because it determines how your telegram bot keyword trigger identifies user messages and starts the automated workflow.

Enter a clear internal title for the flow, such as:

Sanos Ice Cream Shop

The title helps you identify and manage the flow from your Keyword Replies list.

BotSailor’s official guidance similarly recommends configuring the trigger keyword, matching type, and bot title from the Start Bot Flow block.

Click Save Changes after completing the configuration.

Image caption: Adding trigger keywords, selecting the matching type, and entering a flow title.



BotSailor Flow Builder showing the Configure Reference panel with trigger keywords, exact keyword match settings, flow title field, and Save Changes button.
Configuring trigger keywords and matching settings in the BotSailor Flow Builder to create an automated keyword reply workflow.



Step 6: Add a Text Message

After saving the Start Bot Flow settings, click the connector beside Compose Next Message .

A menu containing the available Flow Builder components will appear. These may include:

  • Text
  • Image
  • Video
  • Audio
  • File
  • AI Reply
  • User Input Flow
  • HTTP API
  • Condition
  • Other automation components

Select Text to create a simple automated reply.

BotSailor’s visual Flow Builder allows different message components to be connected without writing code.

This makes it easier to create a telegram bot auto reply system where every customer receives an instant response after entering a specific keyword.

Image caption: Selecting the Text component from the Compose Next Message menu.


BotSailor Flow Builder showing the completed connection between Start Bot Flow and automated text reply blocks
Reviewing and saving the completed keyword reply workflow in BotSailor.


Step 7: Write the Customer Reply Message

Click the newly added Text block. The Configure Text Message panel will open on the left side.

Enter the message that customers should receive after using one of the trigger keywords.

For example:

Hi! 👋 Welcome to our ice cream shop. 🍦 How can I help you today? Would you like to see our available flavours and prices?

You may also use available customer variables, such as first name or last name, to personalize the reply.

Make sure the message is:

  • Friendly and easy to understand
  • Relevant to the customer’s keyword
  • Short enough to read quickly
  • Clear about what the customer should do next

Click Save Changes after writing the message.

Image caption: Configuring the automated welcome message for customers.

A well-designed telegram bot keyword trigger should always connect with a useful response. Instead of only sending a greeting, businesses can create complete conversations for sales, support, order tracking, and customer assistance.


Telegram chat screen displaying the successful keyword-triggered automated reply from the Semibot account
Testing the Telegram keyword reply and confirming that the automated message is delivered successfully.


Step 8: Save the Complete Bot Flow

Review the connection between the Start Bot Flow block and the Text block.

The flow should follow this structure:

Trigger keyword → Start Bot Flow → Automated text reply

When everything is configured correctly, click the main Save button in the upper-right corner of the Flow Builder.

This final save is important because it stores the complete keyword reply flow in your BotSailor account.

Image caption: Saving the completed keyword reply flow from the upper-right corner.

After saving, your Telegram automation is ready to work as a telegram keyword based bot . Users can send specific keywords, and the bot will automatically respond according to the flow you created.



BotSailor Flow Builder menu displaying available message components including Text, Image, Video, and AI Reply options
Saving the completed keyword reply flow from the upper-right corner.


Step 9: Test the Keyword Reply in Telegram

After saving the flow, open Telegram and search for your connected bot. In this example, the bot is named Semibot .

Open the conversation and, if necessary, press Start or send:

/start

Next, send one of the trigger keywords configured in the Flow Builder.

For example:

hi

The bot should immediately return the automated reply:

Hi! 👋 Welcome to our ice cream shop. 🍦 How can I help you today? Would you like to see our available flavours and prices?

BotSailor recommends testing with the assigned trigger word and checking that it matches the keyword configured in the bot flow.

Image caption: The final keyword-triggered reply displayed successfully in Telegram.

Testing is an important step when building a telegram bot keyword trigger because it confirms that the automation recognizes the correct keyword and sends the expected response.

This same method can also be used when creating a telegram search bot that helps users find information through specific commands or keywords.



BotSailor chatbot Flow Builder showing an automated welcome message configuration with connected text block
The final keyword-triggered reply displayed successfully in Telegram.



Final Result

You have successfully created a keyword reply in the BotSailor Flow Builder.

Whenever a customer sends one of the configured trigger keywords, Semibot will automatically deliver the prepared response.

You can follow the same process to create separate replies for keywords such as:

  • Price
  • Menu
  • Order
  • Delivery
  • Location
  • Support

A well-structured telegram bot keyword trigger can help businesses automate repetitive conversations, improve customer response time, and provide 24/7 assistance.

You can create multiple automation flows to build a complete telegram bot auto reply system for customer service, sales, marketing, and support.

Use a unique trigger and a relevant response for each flow to prevent multiple automations from responding to the same customer message.


Relevant Link: How to Connect Telegram to BotSailor: A Complete Step-by-Step Guide


Sanoary Rahaman Istiaque

Sanoary Rahaman Istiaque

FAQ

Frequently Asked Questions

Find answers to common questions about this topic

A keyword reply is an automated message sent when a user types a predefined word or phrase, such as “Hi,” “Price,” or “Support.”

Go to Chatbot Manager, select your bot, open the Automation section, choose Keyword Replies, and click the + Create button.

Exact Keyword Match triggers the reply only when the message matches the configured keyword. String Match can trigger the reply when the keyword appears within a longer message.

Yes. You can add multiple trigger keywords, such as “hello,” “hi,” and “start,” to activate the same automated reply.

Open Telegram, find your connected bot, and send one of the configured trigger keywords. The bot should immediately send the reply message created in the Flow Builder.

Related Articles

Knowledgebase

How to Send Sequence Messages on Telegram Using BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 22 Sep 2026
Knowledgebase

How to Set Up a Get Started Message in Telegram: Step-by-Step Guide

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 22 Sep 2026
Knowledgebase

How to Collect Customer Email Addresses on Telegram Using BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Create a Location Reply Button for a Telegram Bot in BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Create a Birthday Reply Button for a Telegram Bot in BotSailor

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 24 Sep 2026
Knowledgebase

How to Configure Webchat and Connect It to Your WordPress Website

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 28 Sep 2026
Knowledgebase

How to Configure Webchat and Connect It to Your WordPress Website Chat

Sanoary Rahaman Istiaque
Sanoary Rahaman Istiaque
  • 28 Sep 2026