All integrations

Run agents with Slack

Connect Slack once, and every run that names it works in Slack on the account you connected.

Connect SlackOpens Settings → Connections in the console.

What an agent can do in Slack

Read channels and threads, and post when a run asks.

Jobs on Rush that use Slack

Agents that use Slack

How Slack connects

Slack is a built-in app: you sign in on Slack's own page, through Rush's own app, so you register no OAuth app.

Connect it once in the console under Settings → Connections, or from your server with POST /me/connections. The sign-in finishes in a browser signed in to the console as the same person, and a link not finished within 10 minutes expires.

After that, a run that names slack in connections, or runs a saved agent that names it, gets it; your connections reach no run that does not name them.

POST https://api.phoenix.so/me/connections

{
  "type": "app",
  "name": "slack"
}

Whose Slack account the agent uses

Your Slack connection is personal: it belongs to the person who signed in. A run started in the console uses that person's Slack, and a run started with an API key uses the Slack of the member who created the key.

An agent made from a template for one of your app's users cannot hold a Slack connection: Slack connects only as a person's own account.

More Communication integrations

Frequently asked questions

How do I connect Slack to Rush?

Open Settings → Connections in the console and connect Slack, or send POST /me/connections with {"type":"app","name":"slack"} and open the authorize_url it returns while signed in to the console. The connection reads pending until the sign-in finishes, then connected.

Does every run get my Slack account?

No. A run gets your Slack connection only when it names it in connections ("connections": ["slack"]), or runs a saved agent that names it. A saved agent names its connections once, and every run of it gets them.

What can an agent do in Slack?

Read channels and threads, and post when a run asks. 9 published jobs use it; this page lists them.

Keep reading