Workflow observability
Set observability: true on a Workflow to send execution telemetry to the DNotifier dashboard — agent runs, AI calls, search, documents, and custom steps.
Enable observability
const workflow = new DNotifier.Workflow({
name: "support-router",
description: "Route support questions",
observability: true,
async entry(ctx) {
// ...
},
});Requirements:
observability: trueon the workflowawait notifier.connect()beforerunWorkflowHTTP transport (recommended)
No extra API keys beyond your app credentials.
What you see in the dashboard
Workflow start / finish
Execution with status and duration
ctx.runAgent / ctx.runAgents
Agent steps
ctx.sendAI
AI steps (latency, optional token usage, provider / model when set on the call or agent)
ctx.search / document methods
Search and document steps
ctx.recordStep
Custom labeled steps
Open the Workflows section in the dashboard — see Dashboard overview.
runWorkflow return value
Use executionId to find the same run in the dashboard.
Custom steps
Labels on SDK calls
AI session logging vs workflow observability vs history
AI session logging
logs: true on DNotifier
Logs
Workflow observability
observability: true on Workflow
Workflows
AI message history
saveHistory: true on sendAI
fetchAIHistory
You can (and usually should) use all three in production.
Next steps
Last updated