slack

The slack connection can be used to access Slack resources.

Arguments

NameTypeRequired?Description
tokenStringOptionalAn API token for slack.

All arguments are optional, and a slack connection with no arguments will behave the same as the Slack default connection.

Attributes (Read-Only)

AttributeTypeDescription
envMapA map of the resolved connection-related environment variables (SLACK_TOKEN)

Default Connection

The Slack connection type includes an implicit, default connection (connection.slack.default) that will be configured to set the token to the SLACK_TOKEN environment variable.

Examples

Static Connections

Using Slack Connections in HTTP Step