Slack and Telegram channels
On this page
Labels on this page
- Aster, the personal agent
- Personal Assistant
- the project agent
- Project Assistant
- a named agent
- Agent
- Aster in Slack or Telegram
- Settings → Channels
- a named agent's bot
- Channels tab
A channel is a place outside the Chat App where an agent answers, such as Slack or Telegram: DMs for Aster, channels and groups for a named agent’s own bot. Aster (Personal Assistant in the app) answers your direct messages through the bot your administrator connects, and a named agent gets a bot of its own that can also answer in channels and groups. Yandex Telemost joins the list when your site turns it on.
The screen below shows the Channels tab of a named agent, with its Slack and Telegram bots connected and the Answer in every channel and group switch on.
- Slack bot Installed in the workspace Connected Setup detailsDisconnect bot
- Telegram bot Webhook configured Connected Setup detailsDisconnect bot
You don't need to add channels one by one: each channel the Agent answers in is added to the list. People still need a linked account and access to the Agent.
- Slack #sales-pipeline Remove
- Slack #deal-desk Remove
- Telegram Sales team Remove
Which agent answers where
Aster answers direct messages only, a named agent answers direct messages and, if its manager allows it, channels and groups, and the project agent has no channel at all.
| Aster | Named agent | Project agent | |
|---|---|---|---|
| Bot | The platform bot your administrator connects | Its own Slack or Telegram bot | None |
| Direct messages | Yes, once you link your account | Yes, for people with access to the agent | No |
| Channels and groups | No | Yes, in its authorized channels, or in every channel when Answer in every channel and group is on | No |
| Who pays | You, from your budget | By the agent’s Who pays setting | Nobody: it has no runs from a channel |
Whoever writes to an agent in a channel needs two things: a linked account on the platform, and access to that agent. Membership of a Slack workspace or a Telegram group grants nothing by itself.
Talk to Aster in Slack or Telegram
You link your Slack or Telegram identity once under Settings → Channels, and from then on each direct message with the bot is a conversation with Aster.
- Open Settings → Channels in the Chat App. The page lists the channels your administrator has connected; if none are, it says so.
- Choose Sign in with Slack or Sign in with Telegram and confirm your identity at the provider. The channel shows Connected with the date it was verified.
- Write to the bot in a direct message. Each direct message remains a separate conversation, and Aster brings the same files, Collections, Projects, chat history, Skills, connections and Memory it has in the Chat App.
Under Default model and Reasoning level you set what your next messages in channels use; Jobs keep their own model settings. /stop and /reset work in a direct message, and Telegram adds /start, /topic name and /rename name for topics. You can send files and voice messages: a voice message is transcribed, and a file goes through the same extraction and scans as an upload in the browser, within the provider’s size limit of 25 MB for Slack and 20 MB for Telegram. Every run from a direct message charges your own budget. You can Pause, Resume or Disconnect a channel from the same page, and the page shows the delivery state of your Jobs that post there, with Retry delivery when one failed.
Give a named agent its own bot
A named agent’s manager connects a bot on the agent’s Channels tab, and the bot answers as that agent wherever it is invited.
- Open the agent in Agents and choose Channels.
- For Slack, choose Connect Slack bot. Create Slack bot makes and configures a bot for the agent, and you approve its installation in Slack. Connect an existing bot takes the Slack App ID, Signing secret and Bot token of a bot you already have, and Create manually from template is for a bot you set up yourself.
- For Telegram, choose Connect Telegram bot, create a bot in Telegram with BotFather and paste its Bot token. The webhook is configured for you.
- Turn on Answer in every channel and group to let the bot answer in every channel, group and room it is in. Off, the agent answers only in the channels listed under Authorized channels, or Authorized groups for Telegram, where you can Remove one. Each channel the agent answers in while the switch is on is added to that list, and turning the switch off keeps the list. Availability in General decides whether the agent answers in direct messages, in channels, or both.
In a channel, a mention starts a thread with the bot, and the answer goes into that thread; a later reply in the thread that mentions no agent goes to the agent addressed last. Messages that mention no agent are ignored unless the agent’s manager turns on Read all messages (see Replies without a mention); a Job with a Slack event source can also start on every message from people in one authorized channel, without a mention (see Jobs). When several agents serve one conversation, the first mentioned agent answers and consults the others privately. In Telegram, the bot answers when a message mentions its username or replies to it, and a plain @username mention needs privacy mode off or an administrator role for the bot.
A bot asks for approval the same way the Chat App does: a tool that needs a decision shows a card with Approve, Allow for this thread and Deny, and only the person whose message started the turn can answer it. A Job that posts to a person as a named agent needs that person’s consent first, which they give under Scheduled Agent messages with Allow scheduled messages. In Slack, anyone who can use the agent can also ask it, from any conversation, to read recent messages of every authorized channel, so authorize a channel with that in mind. Setup details shows the bot’s configuration, and Disconnect bot removes it.
Replies without a mention
Under Replies without a mention on the Channels tab, Read all messages lets a named agent read every message in the channels and groups it serves and join in when a message needs it. The agent hears its authorized channels, and every channel its bots are in while Answer in every channel and group is on. A quick check reads each new message with the last few messages around it and decides whether to start the agent at all, using the When to reply text, or the agent’s name and What it does when that text is empty. Write in When to reply when the agent should speak up and when it must stay out. A message the check skips starts no run; it shows only under Listening decisions on the agent’s Activity tab. A message that passes starts an ordinary run with the agent’s tools, and the agent then answers in the thread or finishes without posting. A run can therefore act, for example update a record, on a message nobody addressed to it, so give the agent instructions for that case. A mention of another agent always wins, and senders still need a linked account and access to the agent. Each checked message adds a small cost, and a run is paid like any other run of the agent. Read all messages is unavailable when the site has no screening model.
The bot must also receive the messages that do not mention it.
In Slack, the app needs the message.channels and message.groups events, which Copy app manifest under Setup details includes; the tab shows a warning until a channel message reaches the bot, so post one in a channel with the bot and reload the page.
Only a collaborator on the Slack app can change its events at api.slack.com/apps: for a bot made with Create Slack bot, that is the administrator who set up automatic bot creation, and for a bot you created yourself, it is you.
In Telegram, turn privacy mode off with /setprivacy in BotFather, add the bot to each group again and refresh the bot, or make the bot an administrator of the group.
Your own Slack account as a connection
Your Slack account can also be a connection, so Aster and its Jobs search, read and post in Slack as you.
Once your administrator turns it on, Settings → Connections lists Slack in the catalogue with the line “Search, read and post in Slack as you”. It can search messages, files and people, read messages in your channels and conversations, read files, canvases and lists, send and schedule messages, create channels, add reactions and upload files. This connection is for people only: a named agent cannot connect or use a Slack account, and no setting changes that. Connections and tool approvals explains how each of those tools runs automatically or asks you first.
For administrators
Your administrator connects the platform bots in ControlTower once, and every named agent’s bot builds on that installation.
- For Slack, the administrator creates one Slack app for the deployment from the manifest ControlTower provides, connects its credentials, enables Event Subscriptions with the URL the form shows and reinstalls the app if Slack asks. Automatic bot creation for named agents needs a workspace configuration token from the administrator, and a named agent’s bot must belong to the platform workspace.
- For Telegram, the administrator creates the platform bot with BotFather, configures the Login Widget and enters the token.
- Yandex Telemost is opt-in per site through the
integrations_optional_enabledsetting, and the Chat App shows only the channels configured on the platform. - The personal Slack connection has its own enable switch, which appears only while the Slack channel is connected.
The ControlTower section covers the admin console, and What is SecondStack shows where the channels sit on the map.
What channels do not do
- The supported channels at v3.7.2 are Slack, Telegram and Yandex Telemost. Other messengers have no bot.
- Aster never answers in a channel or a group, and it ignores group direct messages. Only a named agent’s bot does.
- The project agent has no bot. A Project Job that posts to a channel uses the Job’s destination, and a channel conversation never becomes a Project thread.
- No agent writes to a channel on its own. Only a Job you scheduled posts without a message first, and there is no outreach tool.
- Bots ignore messages from other bots, forwarded bot content and provider features such as inline queries, Mini Apps and payments.
- A named agent’s bot cannot yet edit Slack canvases or lists or add reactions at v3.7.2. Your own Slack connection can.
- Conversations in a channel stay separate from your Chat App threads. They share the agent and its memory, never the thread.