Prevent duplicate DM notifications for multi-keyword matches #19

Closed
opened 2026-03-11 19:14:24 -07:00 by amari · 0 comments

Description

Currently, when a message contains multiple keywords that trigger DM notifications, the system sends separate DM for each keyword match. This creates a frustrating experience where users receive multiple notifications for a single message.

We'd love to consolidate this so that each message triggers only one DM notification, regardless of how many keywords it contains. This keeps inboxes cleaner and helps users stay focused on what matters.

Why This Matters

Imagine a message that mentions both "urgent" and "review needed" — right now you'd get two separate DMs about the same message. Let's fix that! Users deserve a streamlined notification experience that respects their attention.

Acceptance Criteria

  • When a message contains multiple keyword matches, only one DM notification is sent per message
  • The DM should clearly indicate which keywords were matched (so the user knows why they were notified)
  • The notification is delivered promptly and reliably
  • Existing single-keyword notifications continue to work as expected
  • The solution works across all keyword types and matching scenarios

Implementation Notes

  • Consider deduplicating at the notification-sending stage
  • You may want to include all matched keywords in the DM content so users have full context
  • Add logging to help us monitor the change and ensure it's working smoothly
## Description Currently, when a message contains multiple keywords that trigger DM notifications, the system sends separate DM for each keyword match. This creates a frustrating experience where users receive multiple notifications for a single message. We'd love to consolidate this so that each message triggers only one DM notification, regardless of how many keywords it contains. This keeps inboxes cleaner and helps users stay focused on what matters. ## Why This Matters Imagine a message that mentions both "urgent" and "review needed" — right now you'd get two separate DMs about the same message. Let's fix that! Users deserve a streamlined notification experience that respects their attention. ## Acceptance Criteria - ✨ When a message contains multiple keyword matches, only one DM notification is sent per message - ✨ The DM should clearly indicate which keywords were matched (so the user knows why they were notified) - ✨ The notification is delivered promptly and reliably - ✨ Existing single-keyword notifications continue to work as expected - ✨ The solution works across all keyword types and matching scenarios ## Implementation Notes - Consider deduplicating at the notification-sending stage - You may want to include all matched keywords in the DM content so users have full context - Add logging to help us monitor the change and ensure it's working smoothly
naomi closed this issue 2026-03-12 23:47:46 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/amari#19