Skip to main content

Published

Slack

In brief: An organization admin connects the Slack workspace. Projects post selected events to a channel. Personal alerts go out as direct messages. Linked users can approve or reject a workflow invoke or plan from Slack.

Connect the workspace​

An organization admin opens Settings → Team settings → Integrations and connects the team Slack workspace. Anyone who is not an admin sees that a team admin is required. Disconnecting the workspace is also limited to organization admins.

The Slack app requests these bot scopes: chat:write, chat:write.public, channels:read, groups:read, im:write, users:read, and users:read.email. channels:read and groups:read are how TestChimp lists public and private channels.

Each person links their own Slack user from User settings. Direct messages and Slack approval buttons use that link. Linking yourself does not require organization admin. The workspace must already be connected.

Notification preferences in User settings choose email, Slack, or both for the personal types below.

Project channel rules​

In Project settings → Integrations, an admin chooses a Slack channel and the events that should post there. Channels can be public or private.

Channel rules cover:

  • SmartTest batch completed
  • Performance test batch completed
  • Release created
  • Release marked as completed
  • Release check run completed
  • Release test run completed

Batch rules can filter on execution source (CI, local agent, cloud agent, or manual) and a minimum failure count.

Personal notifications​

These go to the person they concern, as email or as a Slack direct message, according to that person's settings:

  • Issue, story, or scenario assigned to you
  • Named test run assigned
  • Tests awaiting your verification
  • Workflow approval required (before invoke)
  • Workflow plan approval required
  • Workflow execution completed
  • Workflow execution assigned to you

A cloud agent that needs a human answer, when no live ChimpHands session is attached, is a separate notification (workflow input required).

People can also subscribe to the same batch and release events used by channel rules, and receive those as direct messages.

Approve or reject from Slack​

Workflow invoke approval and plan approval messages include actions in Slack. TestChimp accepts the action only when:

  • the Slack user is linked to a TestChimp user in that organization, and
  • that person is a recipient of the approval.

Otherwise Slack is told to connect the Slack identity in TestChimp first, or that the person is not an approval recipient. A successful approve continues the execution. Reject cancels that run. The same gates are documented on How automations work and Workflow executions.

FAQ

Who can connect Slack?

An organization admin connects or disconnects the workspace from Team settings, Integrations. Each person links their own Slack user from User settings.

What can post to a channel?

SmartTest and performance batches, release created, release completed, release check completed, and release test run completed. Channels can be public or private.

Can I approve a workflow from Slack?

Yes, for invoke approval and plan approval, after you link your Slack identity and you are a recipient of that request.