Skip to content

Chat Channels

You can chat with Fontana agents from Slack and Microsoft Teams. Conversations run on the same governed agent runtime as Flow chat: every external thread is a Fontana thread, so handoff, sub-agents, tools, and audit coverage behave as they do in the app. You configure connections and identity linking on AI → Chat Channels (/ai/channels), or from the menu next to the Agents title in the catalog sidebar.

This page covers what Slack and Teams share: how a message becomes a Fontana turn, who answers it, how people link their identity, and how connections are stored and managed. Setup is a separate guide for each product:

  • Slack explains the app manifest, the bot token (xoxb-…), the app-level token (xapp-…), and each connection setting.
  • Microsoft Teams explains the Microsoft tenant form, the creator client secret, and how each agent’s bot is created and installed.
One message from Slack or Teams to a Fontana agent and backYou send a message or mention the agent in Slack or Microsoft Teams. The channel connection, whose bot tokens are in Vault, receives it. Fontana checks that your chat identity is linked to a Fontana account, then the agent turn runs on the same runtime as Flow chat, with your permissions, tools, and Knowledge Graph access. Before a consequential change the agent asks you first. The reply is posted back into the same thread, and the conversation is saved and listed in your Flow history.SENDSEVENTAS YOUA CHANGE?ANSWERSSAVEDPOSTED BACKYOUYou, in Slack or Teamsa message or @mentionCHANNELChannel connectionbot tokens kept in VaultIDENTITYIdentity checkyour linked Fontana accountAGENTAgent turnsame runtime as Flow chatAPPROVALAsks you firstcard in Slack, link in TeamsREPLYReply in the threadanswer and tool summariesRECORDConversation recordlisted in your Flow history

One message from Slack or Teams: the connection receives it, Fontana checks your linked account, the agent answers in the same thread, and the conversation lands in your Flow history.

Messages from Slack and Teams enter the same turn pipeline as Flow chat. A message that arrives while a turn is running queues and resumes when the agent is idle. Channel threads appear in your Flow AI history alongside in-app conversations.

Fontana saves the assistant reply first, then delivers it to the external thread. If the external thread was deleted, the message is marked undeliverable rather than lost.

A new Slack conversation starts with the default agent on the connection, and an existing Slack thread keeps the agent already on it. A Teams conversation is answered by the agent that owns that bot. Handoff and sub-agents work from there as usual.

Direct messages from linked people always reach the agent. In a channel, the agent replies when you mention it, except in channels listed as free response. A mention copies the Slack or Teams thread into one Fontana conversation and the reply is posted back in that thread; the Slack and Teams guides describe where the copy starts and how it continues.

Several linked people can share one conversation, and each person’s question runs with their own permissions and spending cap. Messages from people who have not linked an account stay in the transcript; the agent replies to linked people. In Teams the bot reads history only in the team or chat where you installed it.

A Slack connection sets the channel whitelist, the free-response channels, how threads continue, whether Fontana users, bots, or both may invoke the agent, and how much of a turn Slack shows (messages only, tool names, or tool names with arguments and results). An agent’s Slack ability inherits these settings as Using inherited value and can replace them. The ability also chooses which Slack connection the agent posts through; left blank, Fontana uses the connection that agent owns, or the one owned by your default chat agent. The Teams ability uses the same four settings.

An empty channel whitelist allows no channel, and a direct message is allowed when that person’s id is on the whitelist. When the ability is off, or the channel is outside the whitelist in effect, the platform receives a short explanation and the agent does not start. The Slack guide lists each setting.

Slack uses Block Kit and Teams uses Adaptive Cards for formatted answers, tool summaries (including Knowledge Graph search, task lists, and file reads), and approval cards. Slack keeps every tool call from one turn in one message and edits it as the next tool finishes; Teams posts one summary per tool. A live status line (for example Thinking…) updates while the turn runs and is removed when it finishes. Model reasoning stays in Flow.

A Mermaid diagram in a reply is posted to Slack as an image in its position, with the text before and after it as separate messages; Teams shows the diagram source.

Each person links their Slack or Teams identity to their Fontana account before chatting:

  1. An unlinked person messages the bot and receives a Flow deep link containing a one-time link code.
  2. They open the link, sign in to Flow, and claim the code on AI → Chat Channels.
  3. From then on, their channel messages run with their own Fontana identity, permissions, and spending caps.

A direct message, or an @mention, from someone who has not linked an account receives linking instructions. Other messages in a channel stay in Slack until a linked person continues the thread. You can review and unlink your own identities on the same page at any time.

When an agent turn needs your approval (Human in the Loop), the agent posts an approval card. On a Slack-bound thread the card posts in the current thread; from Flow chat, the agent can target a Slack channel by naming the connection (installationId) and the channel. Your click resumes the turn and returns the same { action, values } envelope as a form answered in Flow. Cancel on the card returns { action: "cancel", values: null }, which is different from Stop on a tool in Flow.

Button clicks resume the turn only through the approval tool, hitl_slackBlocks; a message posted with the Slack MCP post_message tool and blocks is display-only. Microsoft Teams and in-app approval send you to the Flow thread, where you answer the hitl_askHuman form.

Managing connections requires the agents:write permission. Follow Slack or Microsoft Teams. Fontana stores the secrets in Vault.

Each connection’s settings are a file in the system namespace of Fontana Files, under config/channels/: platform, name, default agent, whether it is enabled, the Slack workspace or Microsoft tenant, the Slack connection settings, the Teams bot’s Microsoft ids, who created it, and the people whose Slack or Teams identities are linked. The Microsoft tenant connection for Teams is config/channels/teams-creator.yaml, which also records which Teams administrator signed in and when.

Creating, saving, enabling, and deleting a connection on AI → Chat Channels write these files, as do claiming a link code and unlinking an identity. The files name people by their Fontana user id and hold no token, client secret, or refresh token; those stay in Vault. You can also edit a file with the Fontana Files tools, which needs write access to the system namespace (files:admin). If a saved file cannot be read, the connection keeps its last good settings and the error shows on AI → Chat Channels. Delete a connection on AI → Chat Channels so its credentials are removed from Vault as well.

You can enable or disable a connection at any time; a disabled connection stops receiving and delivering immediately. Enabled means Fontana may run that connection. Connected means the last start succeeded: Slack Socket Mode is up, or the Teams bot credentials loaded. The list shows Connected, Starting, Failed, or Disabled, and a failed row includes an error tip. While Chat Channels cannot reach the channel service, each row shows Unknown until it is healthy again.

  • Slack: manifest, bot token, app-level token, and connection settings
  • Microsoft Teams: Microsoft tenant, creator client secret, and each agent’s bot
  • Agents: default agent selection, handoff, and sub-agents
  • Human in the Loop: hitl_askHuman in Flow; hitl_slackBlocks on Slack
  • Security: Vault-backed secrets and workspace isolation