prefect-slack
Prefect integrations with Slack
Decision gist · record as of 2026-08-14
Yes, if you use Prefect and need Slack notifications. The package is actively maintained, has low install friction, uses a permissive license, and integrates cleanly with Prefect's task model. No known vulnerabilities. Install it when you want to add Slack alerting to your Prefect workflows without writing custom Slack API code.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+.
- Requires a Slack app with Bot OAuth token or Webhook URL configured in your Slack workspace.
- Low install friction with a pure-Python wheel.
License · maintenance · safety
Apache License 2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
last release 2026-08-04 (10 days) · last repo commit 2026-08-14 · 23,623 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 308,953 downloads/mo, #7,762 on PyPI
Alternatives
Verify before relying
pip install prefect-slack
from prefect import flow
from prefect_slack import SlackCredentials
from prefect_slack.messages import send_chat_message
@flow
def notify_flow():
send_chat_message(
slack_credentials=SlackCredentials(token="xoxb-your-token"),
channel="#alerts",
text="Flow completed"
)- Whether the package supports message formatting, attachments, or rich message types beyond plain text
- Whether error handling and retry logic are built in or left to the caller
- Performance characteristics when sending many messages in parallel flows
What it is and what it does
prefect-slack is a collection of tasks and blocks that bridge Prefect workflow orchestration with Slack messaging. It lets you send notifications to Slack channels directly from your Prefect flows, typically to alert on flow completion, failures, or other workflow events. The package wraps the slack_sdk and integrates with Prefect's task and block system, so you configure Slack credentials once and reuse them across flows.
The package is designed for Prefect 3.x and requires Python 3.10+. It depends on aiohttp for async HTTP, slack_sdk for Slack API access, and prefect itself. Setup involves creating a Slack app, obtaining a Bot OAuth token or Webhook URL, and passing credentials to the send_chat_message task or equivalent blocks within your flow definition.
Use it for
- Notify a Slack channel when a scheduled Prefect flow completes or fails, for real-time visibility into workflow status
- Send alerts to on-call teams via Slack when data pipeline tasks encounter errors or anomalies
- Log flow run summaries and metrics to a dedicated Slack channel for audit and monitoring purposes
- Integrate Prefect deployments with team communication by posting deployment status changes to Slack
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use Prefect and need Slack notifications.
The package is actively maintained, has low install friction, uses a permissive license, and integrates cleanly with Prefect's task model. No known vulnerabilities. Install it when you want to add Slack alerting to your Prefect workflows without writing custom Slack API code.
Install
prefect-slack on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a recent release 10 days ago. Requires Python 3.10+ and depends on aiohttp, slack_sdk, and prefect.
Requires Python 3.10+. Requires a Slack app with Bot OAuth token or Webhook URL configured in your Slack workspace.
License in practice
Licensed under Apache License 2.0 (permissive), allowing use in commercial and private projects with minimal restrictions.
Quickstart
pip install prefect-slack
from prefect import flow
from prefect_slack import SlackCredentials
from prefect_slack.messages import send_chat_message
@flow
def notify_flow():
send_chat_message(
slack_credentials=SlackCredentials(token="xoxb-your-token"),
channel="#alerts",
text="Flow completed"
)
Verify before relying
- Whether the package supports message formatting, attachments, or rich message types beyond plain text
- Whether error handling and retry logic are built in or left to the caller
- Performance characteristics when sending many messages in parallel flows
Package facts
| License | Apache License 2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesaiohttpslack_sdkprefect |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 308,953 / month, #7,762 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries |
Evidence: prefect_slack-0.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “prefect slack integration”
- prefect-slackProvides prebuilt Prefect tasks and blocks to send Slack messages…
- prefect-emailProvides Prefect workflow integration for sending emails, enabling…
- prefect-githubProvides Prefect workflow tasks and blocks for interacting with…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also prefect-email · slackweb · slackblocks · prefect-github · pyblock-builder · prefect · prefect-sqlalchemy · prefect-gitlab · slacker · slack-discovery-sdk