Quick Start: Build Your First Bot
Let's create a simple bot that greets users when they send /hello. This will take about 5 minutes.
What We're Building
When a user sends /hello to your bot, it will reply with a personalized greeting:
Prerequisites
Before you begin, you'll need:
- A Telegram Bot Token (see next step if you don't have one)
- Access to the BotGami app
Step 1: Get Your Bot Token
If you already have a Telegram bot token, skip to Step 2.
- Open Telegram and search for @BotFather
- Send
/newbot - Follow the prompts to name your bot
- Copy the token — it looks like
123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11
Step 2: Create a New Bot in BotGami
- Open BotGami
- Click "New Bot" or "+ Create Bot"
- Give your bot a name (e.g., "My Greeting Bot")
- Paste your Telegram Bot Token
- Click Create
You'll now see the visual editor — a blank canvas where you'll build your bot.
Step 3: Add a Command Trigger
Every bot needs to know when to respond. We'll use a Command Trigger to listen for /hello.
- In the sidebar, find "Command Trigger" under Triggers
- Drag it onto the canvas
- Click on the node to open its settings
- In the Command field, type:
/hello
Your canvas should now have one node that says "Command: /hello".
Step 4: Add a Send Action
Now let's tell the bot what to say.
- From the sidebar, find "Send Node" (
action.send) under Actions - Drag it onto the canvas (to the right of the trigger)
- Click on it to open settings
- Ensure Mode is set to Text
- In the Text field, type:
Hello, {{user.first_name}}! 👋 Welcome to my bot!
{{user.first_name}}?This is called a variable. When your bot runs, it automatically replaces this with the actual user's first name. So if John messages your bot, he'll see "Hello, John! 👋"
Step 5: Connect the Nodes
Now we need to connect the trigger to the action — this tells the bot what to do after the command is received.
- Find the small white circle (dot) on the right side of the Command Trigger
- Click and drag from that circle to the white circle on the left side of Send Message
- A wire will connect them
Your flow should look like this:
Step 6: Save and Test
- Click Save (or press Ctrl+S)
- Your bot is now live!
- Open Telegram and message your bot
- Send
/hello - You should receive a personalized greeting! 🎉
Congratulations! 🎊
You just built your first bot without writing a single line of code!
What You Learned
- ✅ How to add nodes to the canvas
- ✅ How to configure node settings
- ✅ How to connect nodes with wires
- ✅ How to use variables like
{{user.first_name}}
Next Steps
Now that you've got the basics, try these:
- Add a second command → — Expand your bot
- Learn about flows → — Understand how bots work
- Explore all nodes → — See what's possible
Try changing the message text and saving again. Your bot updates instantly — no restart needed!