Skip to content

Centralize sendPayload logic into a unified WebhookService class #22879

@linear

Description

@linear

Problem

The sendPayload function responsible for dispatching webhook events is currently being invoked from multiple places across the codebase depending on the trigger. This has led to inconsistent behaviors, including:

Proposal

Create a centralized method that acts as the single entry point for triggering and sending webhook payloads across the system.

This would:

  • Standardize delivery behavior
  • Put in place the foundation for automatic log deliveries via WebhookDeliveryService
  • Use Trigger.dev instead of tasker

Metadata

Metadata

Assignees

No one assigned

    Labels

    choreenterprisearea: enterprise, audit log, organisation, SAML, SSOwebhooksarea: webhooks, callback, webhook payload

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions