Channels
Let routines, and buttons on pages, post to a Slack or Microsoft Teams channel, or to any system that takes signed JSON. Admins add each channel once.
A channel is a place outside Studio that routines post to: a Slack channel, a Microsoft Teams channel, or any system with an https address that takes JSON. An admin adds a channel once, under Organization settings → Channels. After that, anyone who makes a routine can pick it, either to post a message when something happens in Studio or to post each run's answer. A channel can also take calls from buttons on pages.
Only admins and owners add, test and remove channels, because a post sends what happened out of Studio. Members see each channel's name and kind when they pick one, and nothing more.
Add a Slack channel
- In Slack's app settings (api.slack.com/apps), open your app, or create one from scratch for your workspace.
- Under Incoming Webhooks, turn them on, then choose Add New Webhook to Workspace and pick the channel.
- Copy the URL. It starts with
https://hooks.slack.com/services/. - In Studio, open Organization settings → Channels, choose Slack, give the channel a name your team recognises (such as
#architecture-decisions), paste the URL and choose Add channel.
Slack gets each post as a message with a heading, the facts in two columns, and an Open in Studio button.
Add a Microsoft Teams channel
Teams takes posts through a workflow. Microsoft retired the old Office 365 connectors, so their URLs no longer work, and Studio says so if you paste one.
- In the Teams channel, open Workflows and pick the template Send webhook alerts to a channel. It starts with When a Teams webhook request is received and posts the card it receives.
- Name it, choose the team and the channel, and leave who can start it as Anyone: the URL itself is the key.
- Copy the URL the workflow shows.
- In Studio, open Organization settings → Channels, choose Microsoft Teams, name it, paste the URL and choose Add channel.
Teams gets each post as a card with the heading, the facts and an Open in Studio button.
Send to any system
Choose Any https URL to post to your own service, an integration platform or another tool. When you add it, Studio shows a signing secret once: copy it then. New secret replaces it later; the old one stops working at once.
Each post is a POST with a JSON body:
{
"type": "studio.event",
"id": "dlv_…",
"sentAt": "2026-11-09T10:00:00.000Z",
"routine": { "id": "rtn_…", "name": "Decisions to the change board" },
"event": "brief.decided",
"title": "Decision brief decided: Retire the legacy CRM",
"facts": [{ "label": "Decision", "value": "Replace with the SaaS CRM by Q3" }],
"text": null,
"url": "https://www.aitransformstudio.com/brief/DB-012/approve",
"detail": { "briefId": "DB-012", "title": "Retire the legacy CRM", "decision": "Replace with the SaaS CRM by Q3", "signedBy": ["Sam Lee", "Priya Shah"] }
}typeisstudio.eventfor a message about something that happened,studio.run_resultfor a run's answer, andstudio.testfor a test.- The headers say the same:
X-Studio-Eventis the type andX-Studio-Deliverythe post'sid. A post that is tried again keeps itsid, so you can ignore one you already have. - Check the signature. The header
X-Studio-Signature: t=<unix seconds>,v1=<hex>signs the post. Compute HMAC-SHA256 of<t>.<the raw body>with the signing secret, compare the hex withv1in constant time, and refuse atmore than 5 minutes old.
import { createHmac, timingSafeEqual } from "node:crypto";
function fromStudio(rawBody, header, secret) {
const { t, v1 } = Object.fromEntries(header.split(",").map((p) => p.split("=")));
if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
return v1.length === expected.length && timingSafeEqual(Buffer.from(v1), Buffer.from(expected));
}Answer with any 2xx once you have the post.
Let buttons on pages call it
A page the agent builds for you can have buttons, such as Send for approval in its toolbar or Mark reviewed on each record. A button that posts somewhere names one of your channels, and it only works once an admin allows it:
- Open Organization settings → Channels and find the channel.
- Turn on Pages can call it.
- To let people press the button on a public embed of the page, for example a page shown in Power BI or on an intranet, also turn on Also from public embeds. Anyone who can see the embed can then press the button, so turn it on only for a channel that can take that.
Studio makes each call itself; the page never sees the channel's URL. A channel to any https URL gets a signed POST like a routine's post, with "type": "studio.page_action", the button (action, label), the page's title, who pressed it (viewer: member or embed) and what the page sent (input: the record, or what is shown). A button that only reads can send a signed GET instead, with the button's action and its values in the query string; the signature then covers <t>. followed by the query string, its ? included. Your system has 3 minutes to answer a channel to any https URL (Slack and Teams answer at once); the button shows it is working meanwhile. Your system's answer goes back to the page and updates it:
{
"message": "Approval requested",
"figures": { "approved": { "value": 3, "display": "3 approved" } },
"items": [{ "id": "app-kyc-portal", "fields": { "Status": "Approved" } }]
}message shows under the button, figures replace the page's numbers by id, and items update the records they name. A Slack or Teams channel gets a message with the button's name and the record's details, and the page says Posted.
Each press is a post in the channel's log, marked From a page (and public embed when it came from one), and counts toward the channel's 120 posts an hour. A button's call is tried once: if it fails, the page says why, and the person can press it again.
When your system takes longer: answer later
If your system's work takes more than a moment, for example an integration flow that creates tickets or waits for an approval, it can answer at once and send its real answer when it is done. The person sees it on the page without pressing again.
Every call to a channel to any https URL carries a one-time address for the answer:
"callback": { "url": "https://www.aitransformstudio.com/api/page-actions/callback/…", "expiresAt": "2026-11-20T10:00:00.000Z" }- Answer at once that the work has started. Turn on Answers later on the channel (under Pages can call it), and any
2xxanswer counts as "started". This suits a platform that answers a webhook with its own run id. Without the switch, answer202, or JSON with"pending": true. What you answer shows on the page meanwhile, for example{ "pending": true, "message": "Request received. Creating the ticket…" }; without amessagethe page says Working on it… - When the work is done, POST the answer to
callback.url, as JSON in the same shape as above (message,figures,items). If the work failed, send{ "ok": false, "error": "What went wrong" }: the page shows it as an error. Studio answers200once it has the answer.
The address works for one answer, within 24 hours, and needs nothing else: keep it as secret as the channel's URL. An open page waits up to 30 minutes for the answer. Someone who leaves the page before then doesn't see it, but the log does: each call there says Waiting for the answer, when the answer came, or that it never came.
A page the agent built before 19 November 2026 can't wait like this: ask the agent to build it again and publish it to the same place.
Send test, and the log
Send test posts a short message that says it is a test. Use it right after you add a channel. Log lists the channel's latest posts: what each said, which routine sent it, and whether it went through. A post that didn't says why, such as The channel's URL is gone (404). The list also shows each channel's last post, so a channel that stopped working stands out.
Studio tries a post up to three times: again after 30 seconds and after 2 minutes, when the channel is unreachable, too slow (10 seconds), busy or erroring. A post the channel refuses (a wrong or deleted URL) is not tried again. A channel takes up to 120 posts an hour; past that, Studio holds posts back and the log says so. The log keeps 30 days.
What Studio sends, and where
- The URL is a secret. Whoever has a Slack or Teams webhook URL can post to that channel, so Studio keeps it encrypted and never shows it again: the list shows only its host and last characters. To change it, remove the channel and add it again.
- Only to public https addresses. Studio posts over https only, never to a private, internal or loopback address, and a Slack or Teams channel only to Slack's or Microsoft's own hosts. Studio doesn't follow redirects.
- Links open Studio. A message links to the decision brief, or to the run's chat, in Studio, behind sign-in. It never carries an artifact's public embed link, and never a member's email.
- Text is shown as text. Names and titles from Studio, and an agent's answer, appear as plain text: they can't mention
@channelor carry a working link. Web addresses in them are shown defanged, likehxxps://example[.]com.
Remove a channel
Remove deletes the channel and its log. A routine that posts messages there pauses, and its creator gets an email; a routine that posts its results there stops posting them and keeps its result email.
Usage analytics
See how your organization uses Studio, day by day. Agent runs and tokens, sandbox and browser hours, what the agent made, embeds and their views, routines, tools and approvals.
Embedded chat and branding
Put the chat on your own sites, such as an intranet page or a Power BI report, in your colours, with your own name and logo for the agent.