Join the Apache Airflow slack. After creating account in slack you can join #troubleshooting and #development where you can look for help in using and developing Airflow respectively. Ask at the devlist, see 'Join the devlist' link above; Check Stack Overflow. The above is the simplest way you can use Airflow to send messages to Slack. However, if you want to configure Airflow to send messages to Slack on task failures, create a function and add onfailurecallback to your tasks with the name of the created slack function. An example is below.
Latest versionReleased:
Provider package apache-airflow-providers-slack for Apache Airflow
Project description
Package apache-airflow-providers-slack
Release: 3.0.0
Provider package
This is a provider package for slack provider. All classes for this provider packageare in airflow.providers.slack python package.
You can find package information and changelog for the providerin the documentation.
Installation
NOTE!
On November 2020, new version of PIP (20.3) has been released with a new, 2020 resolver. This resolverdoes not yet work with Apache Airflow and might lead to errors in installation - depends on your choiceof extras. In order to install Airflow you need to either downgrade pip to version 20.2.4pip install --upgradepip20.2.4 or, in case you use Pip 20.3, you need to add option--use-deprecatedlegacy-resolver to your pip install command.
You can install this package on top of an existing airflow 2.* installation viapip install apache-airflow-providers-slack
PIP requirements
| PIP package | Version required |
|---|---|
| slack_sdk | >=3.0.0,<4.0.0 |
Cross provider package dependencies
Those are dependencies that might be needed in order to use all the features of the package.You need to install the specified backport providers package in order to use them.
You can install such cross-provider dependencies when installing from PyPI. For example:
| Dependent package | Extra |
|---|---|
| apache-airflow-providers-http | http |
Release historyRelease notifications | RSS feed

3.0.0
3.0.0rc1 pre-release
2.0.0

2.0.0rc1 pre-release
1.0.0
1.0.0rc1 pre-release
1.0.0b2 pre-release
1.0.0b1 pre-release
Airflow Slack Notification On Failure
Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
| Filename, size | File type | Python version | Upload date | Hashes |
|---|---|---|---|---|
| Filename, size apache_airflow_providers_slack-3.0.0-py3-none-any.whl (18.9 kB) | File type Wheel | Python version py3 | Upload date | Hashes |
| Filename, size apache-airflow-providers-slack-3.0.0.tar.gz (15.0 kB) | File type Source | Python version None | Upload date | Hashes |
Hashes for apache_airflow_providers_slack-3.0.0-py3-none-any.whl
| Algorithm | Hash digest |
|---|---|
| SHA256 | 6e906a0baccb5b24b052b0bd8bd3558c7949e4ef017500814b79f83c1f3e9f37 |
| MD5 | 7bc5c70d3d31876bfbfb82531c4596c5 |
| BLAKE2-256 | 6fdf8e7cd69285151c0ca37906020cc2159841d337606c5810dd11600ec58a2a |
Hashes for apache-airflow-providers-slack-3.0.0.tar.gz
Airflow Slack Community
| Algorithm | Hash digest |
|---|---|
| SHA256 | 4a1f3fb5a14b695336b9dd5f9be67896e6a04bf0ad0cbbc5992f38ab78aa099f |
| MD5 | a4e48a09966469ab21e23eed6c90adef |
| BLAKE2-256 | 5475d17e35d74d590dc36145d2789a29201b3d73e36953ec4f700ea4a3a456a0 |




