Skip to Content

Slack Connection

Introduction

A Slack connection, created using the Slack connector, establishes access to Slack. Once a connection is configured, you can create instances of Slack activities associated with that connection to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Important

To use the Slack connector, you must create a Slack app and add the required scopes (as described in Slack Prerequisites).

Create or Edit a Slack Connection

A new Slack connection is created using the Slack connector from one of these locations:

An existing Slack connection can be edited from these locations:

Configure a Slack Connection

Each user interface element of the Slack connection configuration screen is described below.

Slack connection configuration

Tip

Fields with a variable icon Variable icon support using global variables, project variables, and Jitterbit variables. Begin either by typing an open square bracket [ into the field or by clicking the variable icon to display a list of the existing variables to choose from.

  • Connection Name: Enter a name to use to identify the connection. The name must be unique for each Slack connection and must not contain forward slashes / or colons :. This name is also used to identify the Slack endpoint, which refers to both a specific connection and its activities.

  • Authentication Type: Select the authentication type, either OAuth Access Token or Bot User OAuth Access Token (recommended):

    • OAuth Access Token: If OAuth Access Token was selected as the Authentication Type, enter the user token you obtained from the Slack API website.

    • Bot User OAuth Access Token: If Bot User OAuth Access Token was selected as the Authentication Type, enter the bot token you obtained from the Slack API website, as described in the Prerequisites page. This is the recommended option.

  • Use Proxy Settings (Private Agent Only): When using a Private Agent, this setting can be selected to use Private Agent proxy settings.

  • Test: Click to verify the connection using the provided configuration. When the connection is tested, the latest version of the connector is downloaded by the agent(s) in the agent group associated with the current environment. This connector supports suspending the download of the latest connector version by using the Disable Auto Connector Update organization policy.

  • Save Changes: Click to save and close the connection configuration.

  • Discard Changes: After making changes to a new or existing configuration, click to close the configuration without saving. A message asks you to confirm that you want to discard changes.

  • Delete: After opening an existing connection configuration, click to permanently delete the connection from the project and close the configuration (see Component Dependencies, Deletion, and Removal). A message asks you to confirm that you want to delete the connection.

Next Steps

After a Slack connection has been created, you place an activity type on the design canvas to create activity instances to be used either as sources (to provide data in an operation) or as targets (to consume data in an operation).

Menu actions for a connection and its activity types are accessible from the project pane and design component palette. For details, see Actions Menus in Connector Basics.

These activity types are available:

  • Search: Finds messages in Slack and is intended to be used as a source in an operation.

  • Post: Posts an object into a Slack channel and is intended to be used as a target in an operation.

  • Chat: Places chat information into Slack and is intended to be used as a target in an operation.

  • Get: Retrieves object data from Slack and is intended to be used as a source in an operation.

  • Files: Places file information into Slack and is intended to be used as a target in an operation.

  • Conversations: Posts conversations information into Slack and is intended to be used as a target in an operation.

  • Users: Places user information into Slack and is intended to be used as a target in an operation.