tour-completed
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 |
|---|---|
packages/api/src/services/tours.ts:605 | updateTourStatus |
Payload — TourCompletedData
Section titled “Payload — TourCompletedData”interface TourCompletedData { propertyAddress: string; scheduledAt: string; listingUrl: string;}Channel steps
Section titled “Channel steps”Trigger step
Section titled “Trigger step”The caller invokes triggerWorkflow('tour-completed', recipientIds, data) where data is the TourCompletedData shape above. The server pre-translates the payload via getTranslatedPayload('tour-completed', 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.