Nodes/ComfyUI-Custom-Scripts/SystemNotification 🐍
ComfyUI Node Runs on cloud

SystemNotification 🐍

Get an OS-level ping when ComfyUI finishes, even minimized

By pythongosssssΒ·Created 3 years agoΒ·Updated 6 months agoΒ· 3,150
SystemNotification 🐍
  • any
  • *
β—„messageYour notification has triggered.β–Ί
β—„modeβ–Ύβ–Ί

Same idea as this pack's Play Sound node, different channel: instead of (or alongside) an audio ping, System Notification fires a real browser/OS-level notification when your workflow finishes. The advantage over a sound is you don't even need the ComfyUI tab visible - minimize the window, switch to something else entirely, and you'll still get the system popup telling you it's done.

Another one from ComfyUI-Custom-Scripts, pythongosssss's utility pack. Genuinely handy if you tend to tab away during a long render and just want a nudge when it's ready.

The inputs that matter

message is the notification text (default: "Your notification has triggered.") - worth customizing to say something actually useful, like which workflow just finished, if you're running several in parallel across sessions. any is a wildcard passthrough input, same trick as Play Sound - wire it in right after whatever produces your final output (a SaveImage, typically), so the notification fires exactly when that thing completes rather than at some arbitrary earlier point.

mode works exactly like its Play Sound sibling: always fires on every single execution, on empty queue waits until the whole queue has drained and fires once at the end. If you've queued up a batch, on empty queue is the one you actually want - nobody needs fifty separate popups.

Output

A wildcard, list-typed passthrough of any - dropping this node inline doesn't break the wire to whatever's already downstream of your save node. It's also flagged as an output node, so it's fine to leave as a dead end if there's nothing after it.

Installing it

  • ComfyUI Manager - search "ComfyUI-Custom-Scripts", install, restart.
  • Manual - cd ComfyUI/custom_nodes && git clone https://github.com/pythongosssss/ComfyUI-Custom-Scripts, restart.

No models, no extra dependencies. Pure client-side JS.

Common issues

No notification appears at all. Almost always a browser permission problem. The site needs explicit notification permission granted, and if you dismissed or denied that prompt once, most browsers won't ask again automatically - you'll need to go into your browser's site settings for the ComfyUI URL and re-enable notifications manually.

Notification fires but you never see it. OS-level "Do Not Disturb" or focus modes suppress browser notifications the same as any other app's. Check your system notification settings, not the node - there's nothing ComfyUI-side to fix here.

Works while the tab's open but nothing happens after closing the browser. Expected behavior. This is a client-side notification tied to a live browser session - the browser (and the tab, even backgrounded) has to still be running for it to fire. It's not a server-side push notification, so it won't reach you after you've fully closed ComfyUI.

Fires on every single image instead of once at the end of a batch. Check mode - you're on always. Switch to on empty queue.

Categoryutils

Inputs (3)

NameTypeDefaultDescription
messageSTRINGYour notification has triggered.β€”
any*β€”
modeCOMBO2 options: always, on empty queue

Outputs (1)

NameTypeDescription
**β€”