SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

System → Push Error Message

AI-generated

Summary

Displays an error notification toast in the SiYuan UI.

Inputs

  • message (required) — The text to display in the notification.
  • timeout — How long the notification stays visible, in milliseconds (default: 7000).

Output shape

a single record indicating success or failure

The operation returns a JSON object indicating success (typically empty or containing success metadata). It does not emit workflow data items.

Examples

Example 1: Alert a user when a workflow fails

Use the Error Message operation with the error text from a previous node's error output.

Example 2: Show a temporary error popup

Set a short timeout (e.g., 2000ms) for a quick alert.

Links

Discussion