SlackWebhookOperator
SlackThis operator allows you to post messages to Slack using Incoming Webhooks.
Access Instructions
Install the Slack provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
Documentation
This operator allows you to post messages to Slack using Incoming Webhooks.
Note
You cannot override the default channel (chosen by the user who installed your app), username, or icon when you’re using Incoming Webhooks to post messages. Instead, these values will always inherit from the associated Slack App configuration (link). It is possible to change this values only in Legacy Slack Integration Incoming Webhook.
Warning
This operator could take Slack Webhook Token from webhook_token
as well as from Slack Incoming Webhook connection. However, provide webhook_token
it is not secure and this attribute will be removed in the future version of provider.