{
  "id": 23036638,
  "title": "Node.js Support Routing: Notification Audit Log for Email, SMS, and Polling",
  "url": "https://urgent.news/2026/12/02/node-js-support-routing-notification-audit-log-for-email-sms-and",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-02T00:28:59.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/vaughnknight3189/nodejs-support-routing-notification-audit-log-for-email-sms-and-polling-17og"
  },
  "original_language": null,
  "account": "The notification audit log for email, SMS, and polling in a Node.js application requires an append-only audit log and a separate view of delivery history. This design allows support teams to explain a routing decision without searching through unrelated logs. The notification center backend should expose email and SMS delivery history by starting with the form, not the transport. The process involves a contact submission, committed routing decision and pending work, dispatcher, email or SMS adapter, observed status, delivery-history projection, and authenticated polling response. The audit record should retain the sequence of observations alongside this path. The distinction between routing decision, dispatch attempt, and delivery outcome is crucial for support investigations. For a bounded prototype, use a request-bound send to integrate validation, queue selection, and adapter calls into one handler. Implement a stable deduplication key for intake and a transaction that commits all necessary elements together. This approach allows support teams to investigate without ambiguity and provides a clear explanation of routing decisions. The TypeScript code provided illustrates the history projection and polling boundary functions for a Node.js service, which can be adapted to the specific application's storage and authentication mechanisms.",
  "summary": "Pick this approach Integration effort Evidence it should expose Send inside the contact-form handler Few initial components; request handling owns delivery errors Intake decision and each send attempt Persist intake and dispatch work together Requires a transactional store and a dispatcher Committed route, pending work, and attempt history Route through an existing event pipeline Fits a team that…",
  "summary_source": "publisher",
  "key_points": [],
  "editors_take": "Separating routing decisions from delivery outcomes helps support teams investigate notification issues without ambiguity by providing a clear history of every step in the process.",
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}