Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Production checklist

Use this checklist before launching a DNotifier integration to production. It covers credentials, transport choice, limits, observability, and operational readiness.


Account and application

Step
Action
Done

☐

Production DNotifier account at app.dnotifier.com

☐

Production app created with rotated secret (not the dev secret)

☐

Plan limits reviewed β€” messages, AI, knowledge base, users

☐

userId scheme documented (how IDs map to users, devices, bots)

β†’ Create an app Β· Pricing & plans


Credentials and secrets

Step
Action
Done

☐

Secrets stored in environment variables or a secret manager β€” not in git

☐

.env and secret files in .gitignore

☐

Browser / mobile builds do not embed production secrets

☐

Secret rotation procedure documented

β†’ Credentials & environment Β· Security best practices


Transport architecture

Step
Action
Done

☐

transport: "ws" for realtime chat and live delivery

☐

transport: "http" for AI, RAG, workflows, and serverless

☐

Node.js WebSocket clients pass WebSocketImpl (ws package)

☐

Reconnection strategy implemented for onDisconnected

β†’ Choose your transport


Messaging and data

Step
Action
Done

☐

senderId and receiverId / receiverIds validated server-side where possible

☐

saveHistory behavior defined per message type

☐

Large payloads tested against messageSizeLimit from plan

☐

Chunked message handling verified in onMessage

β†’ Plan limits & quotas Β· Large messages & chunking


AI and knowledge base (if used)

Step
Action
Done

☐

aiEnabled checked after connect() before calling sendAI

☐

Monthly AI request and word limits understood

☐

Knowledge-base document size within plan word caps

☐

logs: true enabled only when dashboard session tracking is desired

β†’ AI overview


Workflows (if used)

Step
Action
Done

☐

Agents registered before runWorkflow

☐

observability: true for production debugging in dashboard

☐

Workflow errors caught and surfaced to callers

☐

Long-running workflows tested for timeout behavior

β†’ Workflows overview


Error handling and resilience

Step
Action
Done

☐

connect() failures handled with user-visible or logged errors

☐

Auth 400 responses diagnosed (wrong secret, invalid app)

☐

Graceful disconnect() on process shutdown

☐

Idempotent reconnect (no duplicate listeners)

β†’ Error handling & reconnection Β· Troubleshooting


Monitoring and operations

Step
Action
Done

☐

Connection state exposed in UI or health checks

☐

Structured logging for connect, disconnect, send failures

☐

Dashboard reviewed for AI sessions and workflow executions

☐

On-call runbook links to Troubleshooting

β†’ Debugging


Security review

Step
Action
Done

☐

Least-privilege: each service uses its own userId

☐

Input validation on message payloads before display (XSS)

☐

TLS only β€” no custom endpoints over plain ws:// in production

☐

Rate limiting on your API layer if clients proxy through you

β†’ Security best practices


Pre-launch smoke test

Run this sequence in a staging environment:

  1. connect() with production credentials β†’ onConnected fires

  2. getPlanLimits() returns expected caps

  3. Send text message A β†’ B β†’ received in onMessage

  4. (If AI) sendAI returns a response when aiEnabled is true

  5. (If workflows) runWorkflow completes with executionId

  6. disconnect() cleans up without errors


Last updated