Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Slack connector and tool setup

The Slack connector lets workflows use Slack actions with an authorized workspace account or bot. Use it to retrieve Slack information or perform the operations enabled for your organization.

Before you start

For a custom OAuth connector, have permission to configure the Slack application and authorize it in the intended workspace.

Choose Slack authentication

Open the Slack connector options and choose OAuth or a bot-token method.

Slack connector authentication options

Use the authentication method supported by the intended action and account model.

Configure an OAuth connector

Start the organization OAuth connector and review its setup fields.

OAuth connector configuration fields

Identify the application credentials and scopes it requires before configuring Slack.

In the Slack application's OAuth settings, register the exact StackAI callback and required scopes.

OAuth connector configuration fields

The redirect and permission settings must match the connector's requirements.

Enter the Slack application credentials in the corresponding StackAI fields.

OAuth connector configuration fields

Keep the client secret confidential when sharing configuration information.

Authorize the Slack workspace

Create a workspace connection through the configured connector.

Slack workspace authorization flow

Review the Slack authorization request for the intended workspace before accepting access.

Use a bot-token connection when required

Use the bot-token connection form when the integration requires a bot account.

Slack bot-token connection option

OAuth and bot-token connections have different authorization requirements and are not interchangeable for every action.

Configure and run a Slack action

Add List Users to the workflow and choose the intended Slack connection.

Slack action inputs and results

This retrieves workspace users without posting a message.

Review the options for including deactivated users and bot users.

Slack action inputs and results

These settings determine which accounts appear in the result.

Run the action and inspect the returned user records.

Slack action inputs and results

Confirm that the response matches the workspace and filtering options you selected.

Important behavior

OAuth and bot-token connections are not interchangeable for every Slack action. Check the action’s supported connection type.

The List Users options determine whether deactivated users and bot users appear in the result.

Continue

Last updated

Was this helpful?