Get instant alerts on your phone when Claude needs your attention.
-
Open Telegram on your phone
-
Search for @BotFather and open it
-
Send
/newbot -
Enter a name for your bot (e.g.,
CodeHero Alerts) -
Enter a username for your bot (must end in
bot, e.g.,codehero_bot) -
BotFather will send you a message with your token - copy it
Use this token to access the HTTP API: 0000000000:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- Click the link BotFather gave you (t.me/your_bot_username)
- Or search for your bot's username in Telegram
- Press Start or send
/start - Important: Send one more message (e.g., type "hello" and send)
- This is required for the next step to work
-
Open this URL in your browser (replace
<TOKEN>with your actual token):https://api.telegram.org/bot<TOKEN>/getUpdates -
You'll see JSON text. Look for:
"chat":{"id":123456789,"first_name":"Your Name"...}
-
The number after
"id":is your Chat ID (e.g.,123456789)
- Go to your Dashboard (
https://YOUR_IP:9453) - Click the ⚙️ button (top right, near Logout)
- Enter your Bot Token
- Enter your Chat ID
- Select which notifications you want:
- ✅ Ticket completed
- ⏳ Awaiting input (recommended)
- ❌ Ticket failed (recommended)
⚠️ Watchdog alert (recommended)
- Click Test Notification
- Check your Telegram - you should receive a test message
- If successful, click Save Settings
| Event | When |
|---|---|
| ⏳ Awaiting Input | Claude finished a task and needs your review or response |
| ❌ Task Failed | Something went wrong during execution |
| A ticket appears stuck (repeated errors, no progress) |
⏳ Task Completed - Awaiting Review
📁 Project: MyWebsite
🎫 Ticket: WEB-0042
Add user authentication to the login page
- Make sure you sent
/startAND one more message to your bot - Wait a few seconds and refresh the page
- Double-check your Bot Token (no extra spaces)
- Double-check your Chat ID (numbers only)
- Make sure you started a chat with your bot
- Send another message to your bot
- Refresh the getUpdates URL
You can reply directly to notifications in Telegram!
When you receive a notification, simply reply to it with your message. The system will:
- Detect which ticket you're replying to
- Add your message to the ticket conversation
- If the ticket was "awaiting input", it reopens automatically
Start your reply with ? to ask a quick question without reopening the ticket:
?what's wrong
?τι δεν πάει καλά
?status
The system will:
- Use Claude Haiku to generate a short summary
- Send the answer back to your Telegram
- NOT reopen the ticket (stays in current status)
This is useful for quickly checking on progress without triggering Claude to work again.
| Your Reply | What Happens |
|---|---|
fix the login bug |
Message added, ticket reopens, Claude starts working |
?what's the error? |
You get a short summary, ticket stays as-is |
looks good, thanks |
Message added, ticket reopens |
?τι γίνεται |
Summary in Greek, ticket stays as-is |
- Notifications are sent instantly when ticket status changes
- Settings are saved in
/etc/codehero/system.conf - The daemon restarts automatically when you save settings
- You can disable notifications anytime from the Settings panel
- Two-way communication polls every 10 seconds
- Questions use Claude Haiku for fast, low-cost responses