Skip to content

Add Slack Incoming Webhook alert destinations - #521

Merged
unjica merged 8 commits into
developfrom
feature/223-slack-alerts
Jul 17, 2026
Merged

unjica merged 8 commits into
developfrom
feature/223-slack-alerts

Conversation

@unjica

@unjica unjica commented Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • First-party Slack alert delivery via Incoming Webhooks on Alerts → Delivery (provider-validated hooks.slack.com/services/… URLs)
  • Shared ProjectWebhook.provider + channel payload formatters (Slack Block Kit; Discord/Teams/Telegram formatters ready for follow-up PRs) on top of the existing durable webhook worker (Integration: outbound HTTPS alert webhooks #225)
  • Integrations catalog marks Slack available / connected when an enabled Slack destination exists

Closes #223

What this ships vs deferred

Test plan

  • pnpm lint
  • pnpm --filter api test (730 passed)
  • Bugbot vs develop — no findings
  • Migrate ProjectWebhook.provider / config on a staging DB and add a Slack Incoming Webhook; fire or Test from Alerts → Delivery
  • Confirm Integrations → Slack shows connected when enabled

Made with Cursor

Introduce ProjectWebhook providers and channel-specific payloads so Slack (and later Discord/Teams/Telegram) reuse the existing durable delivery worker, with first-party Slack UI on Alerts → Delivery.

Co-authored-by: Cursor <[email protected]>
unjica and others added 6 commits July 17, 2026 17:06
A value import from project-webhooks pulled dashboard-api (cookies) into the client bundle and broke the dashboard build.

Co-authored-by: Cursor <[email protected]>
Reuse shared channel payload formatting to post Discord embeds, mark the Integrations catalog entry available, and document the webhook URL shape.

Co-authored-by: Cursor <[email protected]>
Expose Teams Incoming Webhook and Telegram Bot API sendMessage destinations on Alerts → Delivery, mark both Integrations catalog entries available, and document provider URL shapes.

Co-authored-by: Cursor <[email protected]>
…eams-alerts

Add Telegram and Microsoft Teams alert channels
…erts

Add Discord webhook alert destinations

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 2 potential issues.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 44353d0. Configure here.

Treat Bot API ok:false as failure despite HTTP 200, and restrict Teams URLs to Incoming Webhook / Power Automate hosts instead of any *.office.com endpoint.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 5eed407 into develop Jul 17, 2026
6 of 8 checks passed
@unjica
unjica deleted the feature/223-slack-alerts branch July 17, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration: Slack alert notifications

1 participant