All integrations
Slack logo

Run agents with Slack

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

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

What agents do with Slack

How it works

  1. Connect Slack once

    Sign in under Settings → Connections. Rush keeps the sign-in; no script or laptop holds a token.

  2. Hand an agent the work

    From the console, on a schedule, or with one API call that names slack.

  3. Get the result back

    Files, an answer or a PR, with a record of every step the agent took.

Agents that use Slack

For developers: 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. 14 published jobs use it; this page lists them.

Keep reading