Skip to content

CSV import does not dispatch subscriber.created #126

Open

Description

@JuansesDev

What happens

The import path inserts rows directly with CreateSubscriber and never dispatches. Only the single-subscriber create path dispatches, so webhooks fire for UI, API and waitlist signups but not for CSV imports.

Where

  • backend/internal/service/subscriber.go:79 — dispatch on the single path.
  • backend/internal/service/subscriber.go:285 — bulk insert with no dispatch.

Impact

Any integration that syncs on subscriber.created silently misses every imported subscriber.

Proposed fix

Emit subscriber.created per imported row, or a single bulk summary event.

Acceptance

  • Importing N rows produces the corresponding events.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions