Slack, Discord, Telegram and Lark
Text Cook from Telegram
Make your own Telegram bot, connect it to Cook, let it use your computer, and send it work from your phone.
Before you start
- You need to be an owner or admin of your Cook workspace.
- For tasks on your own computer, install Cook Desktop and keep it open. Without it, Cook still answers, and does browser work in its cloud browser instead.
Make a bot and connect it
There is no shared Cook bot on Telegram. Your workspace runs its own bot, so it has your name and picture.
- In Telegram, open @BotFather and send
/newbot. Pick a name and a username. BotFather replies with a token. - In Cook, open Settings, then the Apps tab. Under Chat apps, press Set up on the Telegram row.
- Paste the token and press Connect bot. The card now says Connected as @yourbot.
- Press Get a pairing link, open it on your phone, and press Start in Telegram. That tells the bot the chat is yours.
After you connect, Cook never shows the token in the page again. To stop the bot, press Disconnect on the same card.
Bring in your team
When someone who is not paired writes to the bot, the owners and admins of your Cook workspace who are paired to it get a pairing request in their own chat with the bot, with Approve and Deny. Once approved, the person’s first message goes through.
A pairing link from Get a pairing link pairs the chat to whoever pressed the button in Cook, so do not send yours to a teammate.
Let it use your computer
- In the bot’s chat, send
/desktop. - Cook Desktop shows Telegram wants to use your desktop browser. Choose Always allow on this computer, or Approve one turn for a single task.
- The bot confirms in the chat.
With Always allow, every task in that chat can use this computer’s browser
and its logins, including while you are away, as long as Cook Desktop is open.
Send /desktop off to stop, or press Revoke under Desktop approvals in
the channel’s Connect this channel window.
Asking it for something
Write the way you would text a person. For example:
hey can you open trycook.ai on my computer and send me a quick video scrolling through the homepage?
The bot shows each step while it works (opening the page, recording, saving). In the walkthrough above, the video arrived 3 minutes 44 seconds later. A follow-up question in the same chat got its answer in 1 minute 30 seconds.
What comes back
- Screenshots arrive as Telegram photos.
- Recordings arrive as files you can download and play.
- Documents arrive as files. Telegram caps a bot upload at 50 MB per file.
- Replies are short: a headline, then bullet points.
Commands
| Send | What it does |
|---|---|
/desktop | Ask to use your computer’s browser |
/desktop off | Stop using your computer; tasks go back to the cloud browser |
/stop | Stop the task that is running |
/new | Start a fresh conversation |
/status | Show whether a task is running, whether your computer is connected, and what the chat may use |
/workspace | Show or switch which Cook workspace the bot works in |
/help | List what the bot can do and every command |
Telegram also lists these in the bot’s command menu, along with a few more.
If something does not arrive
- The bot does not do what you ask: the chat may not be paired to your Cook account. Press Get a pairing link in Cook and press Start in Telegram.
- Tasks run in the cloud, not on your computer: Cook Desktop is closed, or
desktop access is off. Open Cook Desktop and send
/desktop. - The Set up button is grey: only owners and admins can connect a bot.
If your team uses Slack or Discord
See If your team already uses Slack and If your team already uses Discord.