Slack Connection¶
The Slack connection type enables Slack Integrations.
Authenticating to Slack¶
Authenticate to Slack using a Slack API token.
Default Connection IDs¶
The SlackHook and SlackAPIOperator use slack_default
by default.
Configuring the Connection¶
- Password (optional)
Specify the Slack API token.
When specifying the connection in environment variable you should specify it using URI syntax.
Note that all components of the URI should be URL-encoded.
For example:
export AIRFLOW_CONN_SLACK_DEFAULT='slack://:token@'