跳转到内容
Agentic Workflowdocs
v0.8.2免费安装

节点 / extension

Show Notification

Show a native browser notification You can use this node when a background or browser-triggered workflow needs to notify the user..

页面内操作 扩展程序网页应用 — 不可用

此内容尚不支持你的语言。

Show a native notification from a workflow, with options to replace an earlier one, keep it on screen or make it silent.

工作流 · price-on-page-watch.awf 6 个步骤

Price On Page Watch:包含 6 个步骤的工作流,从 When the price changes 开始,到 Remember this price 结束。

Show Notification shows a system notification (through your computer’s notification center) with a Title and a Message. Under Options you can fine-tune it:

  • Icon URL: a picture for the notification. Empty means the AWFlow icon.
  • Notification ID: give the notification a fixed id. A new notification with the same id replaces the old one instead of piling up, which is handy for progress or status messages.
  • Priority: Low, Normal (default) or High.
  • Require Interaction: keep the notification on screen until you dismiss it (Chrome only; Firefox closes notifications on its own).
  • Silent: show it without a sound (Chrome only).

The workflow does not wait for you to click the notification; it continues straight away.

  • Tell the user a background or triggered workflow has finished, or has found something.
  • Show a status that updates during a long run, using the same Notification ID each time.
  • For a notification with action buttons, use Browser Notification. To ask the user something and wait, use In-Page Form.
设置项类型作用
Title (必填)Text
Message (必填)Long text
Options Group
Options › Icon URL Text
Options › Notification ID TextOptional stable ID used to replace an existing notification.
Options › Priority ChoiceOptions: Low, Normal, High. 默认值:Normal
Options › Require Interaction ToggleKeep the notification on screen until it is dismissed. Chrome only: Firefox closes notifications on its own. 默认值:Off
Options › Silent ToggleShow the notification without a sound. Chrome only: Firefox ignores this option. 默认值:Off

Title and Message accept expressions, for example Message = Saved {{ $input.title }}. Notification ID can be any text you choose, such as price-watch.

  • Output

Each output item has these fields:

Field类型What it holds
notificationId Text
title Text
message Text
created Always true
Shape of an output item
{
"notificationId": "…",
"title": "…",
"message": "…",
"created": true
}

notificationId is your Notification ID, or a generated id when you left it empty. title and message are the text that was shown.

None. This node needs no connection and has no slots for other nodes.

No credential is needed. Notifications must be allowed for your browser in your operating system’s settings.

  1. A Schedule trigger runs every 30 minutes.
  2. Http Request checks a status page’s API.
  3. IF checks whether {{ $input.status }} is not ok.
  4. Show Notification on the true branch, with Title = Service problem, Notification ID = status-check and Require Interaction on, so the alert stays until you see it and each new alert replaces the previous one instead of stacking up.
  • Nothing appears. Notifications for your browser are turned off in the operating system’s settings, or a focus / do-not-disturb mode is on. Allow them and try again.
  • “Notification title and message are required”. Title or Message is empty, often because an expression resolved to nothing.
  • The notification closes by itself. Turn on Require Interaction. Firefox always closes notifications after a while.
  • Notifications pile up. Set the same Notification ID on every run so each one replaces the last.
Get an alert when a price on a page drops 中级 · 8 分钟 无需设置
编辑此页

最近更新:

Was this page useful?
向 Aria 询问“Show Notification”