Skip to content

subscription-canceled

Source of truth: packages/notifications/src/translations.ts

DomainChannelsRecipients

No triggerWorkflow calls found in the scanned source paths.

interface SubscriptionCanceledData {
billingUrl: string;
}

The caller invokes triggerWorkflow('subscription-canceled', recipientIds, data) where data is the SubscriptionCanceledData shape above. The server pre-translates the payload via getTranslatedPayload('subscription-canceled', recipientLocale, data) from @repo/notifications before sending, producing { inAppBody, emailSubject, emailBody } for the dashboard templates to render.