Actions

Notification

Post a macOS notification and keep going — no waiting, no answer.

action.notification
ACTIONNotification

At a glance

Emits
notified, title, body
Not the same as
Notification Prompt, which stops and waits for a reply

Set it up

Write the title and body with {{...}} for anything upstream. An Action URL makes the notification clickable — a web address opens in the browser, a file path in Finder.

The Notification inspector, with the body built from upstream keys.
The Notification inspector, with the body built from upstream keys.

Configure

FieldDefaultWhat it does
Title—The bold first line. Supports {{var}}.
Body—The message under it. Supports {{var}}.
Action URL—Opened when you click the notification. A URL or a file path.
Always DisplayOnPosts as time-sensitive, so it shows during a Focus.

Output

KeyTypeValue
notifiedBooleanWhether the notification was posted
titleStringThe title after {{...}} resolved
bodyStringThe body after {{...}} resolved

Example: say which file changed

File Changed watches a config file, Template writes the sentence, Notification shows it.

A trigger, a template and a notification.
A trigger, a template and a notification.

Paste this into the Flow Builder to get the same flow:

Watch ~/.config/app.json and notify me which file changed and how.

Good to know

This node replaces the payload rather than adding to it. Only notified, title and body come out, so put it at the end of a branch.

Notifications off for Watchflows? It does not fail: notified is false and an error of permission_denied: notifications comes out, so you can branch on it.