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.

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.

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.

The redirect and permission settings must match the connector's requirements.
Enter the Slack application credentials in the corresponding StackAI fields.

Keep the client secret confidential when sharing configuration information.
Authorize the Slack workspace
Create a workspace connection through the configured connector.

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.

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.

This retrieves workspace users without posting a message.
Review the options for including deactivated users and bot users.

These settings determine which accounts appear in the result.
Run the action and inspect the returned user records.

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?

