How to Build Your First AI Agent on Telegram (Zero Coding Required) — Complete 2025 Tutorial
Let me be upfront about something: I am not a developer. No CS degree. I can barely write a formula in Excel without Googling it.
And I built a working AI agent that messages me every morning, books my meetings, and talks to leads — all from my Telegram.
Here's exactly how I did it, step by step.
What You're Going to Build
By the end of this tutorial, you'll have:
• An AI assistant named whatever you want, running 24/7 on a cloud server
• A Telegram bot that you control by typing messages — from your phone or laptop
• Scheduled messages (like a daily motivational quote or task list)
• Google Calendar integration — add meetings by texting your bot
Total time: 2–4 hours for your first setup. Faster once you know the system.
The Stack We're Using
|
Tool |
What It Does |
Why This One |
|
OpenClaw |
The AI agent framework — the 'brain' |
Open source, runs 24/7, connects to everything |
|
Hostinger VPS |
The cloud server where your agent lives |
One-click OpenClaw deploy, affordable, secure |
|
Telegram BotFather |
Creates your Telegram bot |
Free, instant, no approval needed |
|
Google Cloud Console |
Connects Gmail & Calendar to your agent |
Free tier covers personal use |
Step 1: Set Up Your VPS on Hostinger
Go to Hostinger and create a VPS account. When selecting your OS, choose Ubuntu. Set a password you'll remember.
Why a VPS and not your own computer? Two reasons: security (your agent doesn't have access to your personal files) and uptime (it runs even when your laptop is off).
Once inside the Hostinger dashboard, find the OpenClaw option in the one-click installs panel. Click it. It will ask for your OpenClaw Gateway Token — you get that from OpenClaw's site. Paste it in.
That's it. OpenClaw is now installed on your cloud server.
Step 2: Create Your Agent's Personality
When you first open OpenClaw, it's going to ask you some questions:
• What's your name?
• What should I call you?
• What kind of presence do you want from me?
Don't skip this. The personality you set here determines how your agent communicates with you and your customers. Be specific. I told mine to be 'sharp, playful, and friendly' — because I wanted quick answers but didn't want it to feel robotic.
You can also give your agent a name. I called mine 'Ved' — Sanskrit for knowledge. A little dramatic, but it stuck.
Step 3: Connect to Telegram
Open Telegram and search for BotFather. This is Telegram's official bot creation tool.
1. Type /newbot
2. Give your bot a name (this is what users see)
3. Give it a username (must end in 'bot')
4. Copy the token BotFather gives you — keep this private
Back in OpenClaw, paste that token when prompted. OpenClaw will confirm: 'Telegram is wired in.'
Now go to your bot in Telegram, hit Start, and send any message. Your agent is live.
Pro tip: Send your first message from a different phone or a teammate's account to test it as a fresh user would experience it.
Step 4: Set Up Scheduled Messages
Want a motivational quote every morning? A task list at 9 AM? Here's how:
Just type the instruction to your agent in plain English:
'Give me a motivational quote at 7:00 AM daily on Telegram.'
It will confirm the schedule and start sending. You can change the time anytime by just telling it. No menus. No settings panels.
Step 5: Connect Google Calendar
This is where it gets genuinely useful. You'll need to go to Google Cloud Console and do a bit of setup — but your agent will walk you through every step. Just ask it:
'I want to link my Google Calendar with you so I can add meetings from here.'
It will tell you exactly which APIs to enable (Gmail, Calendar, Drive, Sheets), how to create OAuth credentials, and how to paste the JSON file back into your setup.
Once done, you can add meetings by texting: 'Add a 5 PM meeting with Sarah on Friday — 60 minutes.' Done. It appears in your calendar.
Step 6: Build a Lead Qualification Bot
This is the business use case. Instead of you (or an employee) answering every inquiry, your agent handles the first conversation.
Give your agent a prompt like this:
'You are my Telegram lead qualification assistant. When someone messages, greet them warmly. Then ask: (1) What's your name? (2) What do you need help with? (3) Are you a creator, business owner, student, or professional? (4) What's your main goal right now? After collecting their info, share my booking link: [your link].'
Test it by having a friend message your bot cold. Watch it run the full conversation, collect the info, and send the booking link — all without you touching anything.
What Happens in the Dashboard
Every conversation your agent has shows up in your OpenClaw dashboard in real time. You can monitor leads, check scheduled jobs (called cron jobs), and see exactly which tools your agent is using.
The Skills section shows you which platforms are connected — Google Workspace, Notion, Apple Reminders, and more. Add them one by one as you need them.
The Learning Curve Is Real — But Small
First hour: confusing. Second hour: clicking. Third hour: 'Oh, this is how it works.' By hour four, you're thinking about what to automate next.
The hardest part is the Google API setup. But your agent literally walks you through it. I didn't look up a single tutorial for that step — I just kept asking the agent to handle it.
Read More: Once your agent is running, the most important question is infrastructure — your laptop is not a reliable home for a production AI agent.
Read More: Building this agent is step one — monetizing it is step two, and one person turned a single AI agent into $8,500 in their first month.
Read More: The broader opportunity here is in AI agent development as a service businesses are paying top dollar for.
Read More: And if you want to build multiple agents working in parallel, study how one solo founder manages 16 AI employees generating $8K/month.
