<@ULVA73B9P> What's the difference between the `sl...
# ask-marvin
c
@Marvin What's the difference between the
slack-incoming-webhook
and
slack-webhook
block types
m
The difference between slack-incoming-webhook and slack-webhook block types seems to revolve around their specific implementations and their intended use cases within Prefect's integrations. Here are the key points: Slack-webhook: - Aimed at sending messages to a Slack channel, typically formatted with blocks, attachments, and text. - Examples and relevant details: - URL: https://docs.prefect.io/latest/integrations/prefect-slack/messages/ - Used to configure the content of the message thoroughly. - Preferred when you need structured messages using Slack's block or attachment structures. - Supports methods like
send_incoming_webhook_message
. Slack-incoming-webhook: - Provides a simpler means of sending notifications to Slack, specifically designed for use with Prefect's automation actions like
Send a Notification
. - Pull request #14418 (https://github.com/PrefectHQ/prefect/issues/14418) mentions using this block type specifically for notification actions. For more details, refer to the following: - Prefect blocks guide: https://docs.prefect.io/latest/concepts/blocks/ - Additional context about the integration differences and some recent issues: - SlackWebhook related issue: https://github.com/PrefectHQ/prefect/issues/13120 - Request for slack token for notifications: https://github.com/PrefectHQ/prefect/issues/13118 Feel free to check the provided documentation for more specifics regarding their configuration and capabilities.