listing-import-extracted
Source of truth:
packages/notifications/src/translations.ts
Quick facts
Section titled “Quick facts”| Domain | Channels | Recipients |
|---|---|---|
| — | — | — |
Trigger sites
Section titled “Trigger sites”| Source | Context |
|---|---|
apps/worker/src/ai-import-extraction.ts:643 | notifyExtracted |
Payload — ListingImportExtractedData
Section titled “Payload — ListingImportExtractedData”export interface ListingImportExtractedData { batchId: string; /** PREVIEW | FAILED */ status: string; /** Rows waiting in the preview (0 on FAILED). */ listings: number; /** Rows with a value read below the confidence threshold or another warning. */ warnings: number; /** Pages the model could not read (the `pages_failed` banner). */ pagesFailed: number; fileName: string; reviewUrl: string;}Channel steps
Section titled “Channel steps”Trigger step
Section titled “Trigger step”The caller invokes triggerWorkflow('listing-import-extracted', recipientIds, data) where data is the ListingImportExtractedData shape above. The server pre-translates the payload via getTranslatedPayload('listing-import-extracted', recipientLocale, data) from @repo/notifications before sending, producing { inAppBody, emailSubject, emailBody } for the dashboard templates to render.
See also
Section titled “See also”- Notifications overview — the workflow grid, source-of-truth file map.
- Configuration — env vars, dashboard checklist, channel mapping.