On this page
Sommatic Docs
Open portal

OS Notification

Show system notification.

View as Markdown
Open in
Input and output Available io.desktop.notify Version 1.0.0 Execution: async

Shows a native operating-system notification on the machine that runs the worker and returns the notifier's response.

How it works

  1. Resolves the config. title, message, icon and appName fall back to the same keys of the incoming payload.
  2. Sends the notification with title (default Alert), message, icon and appName as the application id.
  3. Waits for the notifier callback: success leaves through out with { response }, a failure through error.

In a workflow

The node as it appears in a workflow file (draft_nodes[]), and the envelope of a successful run.

{
  "node_id": "node-notify-operator",
  "label": "Notify operator",
  "operator_slug": "io.desktop.notify",
  "operator_version": "1.0.0",
  "config": {
    "title": "Batch finished",
    "message": "{{ $json.processed }} documents processed",
    "appName": "Sommatic Orchestrator"
  }
}

Configuration

title string Optional
message string Required
icon string Optional

Path to icon

appName string Optional

Default: Sommatic Orchestrator

Behaviour in the code

What the implementation does with these keys beyond what the schema says.

appName
The schema default Sommatic Orchestrator is not applied by the code; when empty, no application id is sent.
message
Declared as required but not validated by the worker; always set it.

Output ports

out default

The notifier accepted the notification. response is the value the platform notifier reports.

Data
{
  "response": "<notifier response>"
}
error

The notifier failed. error is the error object passed by the notifier, or a message if the call threw.

Data
{
  "error": "<notifier error>"
}

In expressions

What a later node can read from this node's output with $("OS Notification").item.json.<path> (write your node's label instead of OS Notification). Editor marks the paths the workflow editor suggests under Previous Nodes (the output contract); Worker marks the paths the worker really returns through out, from the output shown in Ports.

ExpressionEditorWorker
$("OS Notification").item.json.responsestring= "<notifier response>"Notification dispatch result

Errors

Message Port Cause and fix
<notifier error> error The host has no notification service available (for example, a headless server). Run the node on a machine with a desktop session.

Input contract

title string Optional
message string Required
icon string Optional
appName string Optional

Output contract

response string Optional

Notification dispatch result

Contracts (JSON Schema)

The definition exactly as the orchestrator declares it. All is the whole *.definition.js; compare it with the sections above to spot differences between the documentation and the schema. Use it to validate a node before you publish.

{
  "slug": "io.desktop.notify",
  "name": "OS Notification",
  "category": "io",
  "version": "1.0.0",
  "description": "Show system notification.",
  "capabilities": [
    "notification",
    "desktop"
  ],
  "config_schema": {
    "type": "object",
    "properties": {
      "title": {
        "type": "string"
      },
      "message": {
        "type": "string"
      },
      "icon": {
        "type": "string",
        "description": "Path to icon"
      },
      "appName": {
        "type": "string",
        "default": "Sommatic Orchestrator"
      }
    },
    "required": [
      "message"
    ]
  },
  "input_contract_schema": {
    "type": "object",
    "properties": {
      "title": {
        "type": "string"
      },
      "message": {
        "type": "string"
      },
      "icon": {
        "type": "string"
      },
      "appName": {
        "type": "string"
      }
    },
    "required": [
      "message"
    ]
  },
  "output_contract_schema": {
    "type": "object",
    "properties": {
      "response": {
        "type": "string",
        "description": "Notification dispatch result"
      }
    }
  },
  "ports": [
    {
      "port_id": "out",
      "label": "Shown",
      "description": "Notification dispatched",
      "is_default": true,
      "supports_condition": true
    },
    {
      "port_id": "error",
      "label": "Error",
      "description": "Notification failed",
      "is_default": false,
      "supports_condition": false
    }
  ],
  "execution_mode": "async",
  "required_resources": [],
  "compatible_worker_pools": [
    "desktop-agent"
  ],
  "tags": [
    "desktop",
    "notification"
  ],
  "is_stateful": false,
  "publisher": {
    "identity": "org_link_loom",
    "profile": {
      "name": "Link Loom",
      "verified": true,
      "url": "https://me.veripass.com/link-loom",
      "logo_url": null
    }
  }
}

Execution

Execution
async
Stateful
No
Capabilities
notificationdesktop
Tags
desktopnotification

Notes and limits

  • The notification appears on the host that runs the orchestrator worker, not in the Sommatic AI web client. Use a task or a message node to reach users.
  • When persisted, an error object from the notifier may serialize as an empty object.

Reviewed against the orchestrator code · 31e874b · 2026-11-26

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs