A Telegram AI bot is a Telegram account run by software. You message it like a contact, and an AI agent answers.
Headcount Cloud is your own agent farm on a free Cloudflare account. The bot, the Slack app and the phone app all talk to that one farm, so your 42 agents keep working with your laptop shut and you approve from wherever you are.
You need a live farm (about 20 minutes to set up, once) plus Telegram, a Slack workspace, or both.
Which route should you use?
Headcount Cloud, if you want answers at any hour. An app on your own computer only makes sense if you have no farm yet and leave it on.
| Route | With your computer off | Approvals | What it needs |
|---|---|---|---|
| Headcount Cloud and Telegram | Works 24/7 | Approve and Reject buttons | A free bot from @BotFather |
| Headcount Cloud and Slack | Works 24/7 | Approve, Reject, Open in dashboard | A Slack workspace you can add apps to |
| Headcount Cloud phone app | Works 24/7 | Opens the card in the app | Your phone's browser |
| Hermes on your computer | Stops | Reply yes in the chat | Apple chip Mac (macOS 13+) or Windows 11 22H2+, plus an AI account |
| OpenClaw on your computer | Stops | Reply yes in the chat | Intel Mac, Windows 10 or older Windows 11, plus a ChatGPT sign-in |
Step 1Create your Telegram bot and link it to your farm
In Telegram, open @BotFather, send /newbot, pick a name and a username ending in "bot", and copy the token it gives you.
Treat that token like a password. Telegram's bot docs warn it "can be used by anyone to control your bot", and BotFather's /token command makes a new one if it leaks.
- Open Telegram in your farm's menu, paste the token and click Connect.
- The page says Waiting and shows a 6 digit code.
- Send that code to your bot. Within seconds the page changes to Linked.
From then on the bot answers only the chat that sent the code and tells anyone else it's private.
Step 2Talk to your farm and approve from Telegram
Send /help for the full list of commands, though /status, /brief and /ask cover most days.
/statusshows what's running, what waits for you and what got done today./briefsends your farm's day in one message, spend included./ask agent-name questionopens a chat with one agent./run agent-name taskstarts a background job./approvalssends the waiting cards again.
Plain messages work too. When an agent wants to post, send, publish or spend, the card arrives with Approve and Reject buttons, and its questions come as a message you reply to.
Each job sends one message that updates as it works, then a Done message with the result. The Daily Numbers Pulse flow adds 5 lines of numbers on Telegram every evening.
Step 3Connect Slack
From your farm's Settings, open Slack and click Create the Slack app, which is free and takes about 3 minutes.
- Slack opens with the app filled in. Pick your workspace, click Next, then Create.
- Click Install to Workspace, then Allow.
- Copy the Bot User OAuth Token (OAuth and Permissions, starts with
xoxb-) and the Signing Secret (Basic Information, App Credentials, Show). Paste both in the farm and click Connect. - Pick the channel for updates.
- In Slack, type
/headcount linkand the 6 digit code the farm shows. Only linked people can approve. - Click Test, and a hello lands in your channel.
The prefilled app is a Slack app manifest, a settings file Slack reads to build it.
Then use /headcount status, /headcount brief or /headcount run agent-name task, message the bot directly, or mention it in a channel. Approval cards carry Approve, Reject and Open in dashboard, and show who decided.
Step 4Install the phone app
On your phone, open your farm's link, sign in, then go to Settings, Phone app and tap Install the app.

On Android with Chrome or Edge, tap Install. On an iPhone with Safari, tap Share, then Add to Home Screen.
Then tap Notify me on this phone on each device to hear when an agent needs your yes, where your phone supports it. Apple only allows web push for web apps added to the Home Screen, so on an iPhone, switch it on from the installed app.
If notes don't arrive, Telegram is the dependable backup.
Can you run a Telegram bot without Headcount Cloud?
Yes, with an agent app on your computer, but the agents answer only while it's on and awake. Setup takes about 30 minutes and needs a paid ChatGPT plan (Plus or higher) or an API key from OpenAI, Anthropic or OpenRouter.
Our Hermes route is written for a Mac with an Apple chip on macOS 13 Ventura or later, or a Windows 11 PC on version 22H2 or later:
- Download headcount-ai.zip from My products in your dashboard and unzip it.
- Install the free Hermes desktop app from Nous Research, then connect your AI account under Settings, Providers.
- Send Hermes the setup message from your dashboard's Telegram guide. It installs the 42 agents and asks before changing anything.
- Open Messaging, Telegram, Create with QR, scan the code and tap Start on your new bot.
- Set Settings, Advanced, Keep computer awake to Always, and keep the laptop plugged in with the lid open.
On an Intel Mac, Windows 10 or an older Windows 11, use OpenClaw with a ChatGPT sign-in and the same setup message plus --runtime openclaw. Paste a @BotFather token into its Telegram channel (OpenClaw's Telegram steps), then approve your first message under Settings, Channels, DM access requests.
If something goes wrong
- A silent bot on Headcount Cloud usually isn't linked. Open Telegram in the farm, and if it shows a code, send it to your bot.
- If Telegram says the bot is in use somewhere else, two apps share one bot. Make a separate bot with
/newbotfor each. - If Slack never answers, open Event Subscriptions in your Slack app's settings and click Retry unless the Request URL says Verified.
- "The signing secret did not match" means you pasted the Client Secret instead of the Signing Secret.
- "I am not in that channel" goes away after
/invite @Headcount. For a private channel, invite the bot, then paste the channel ID in the farm.
Fix common Headcount AI errors covers the rest, and the approvals and auto-run guide explains what each card holds.











