Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Automation → WatcherCreate

AI-generated

Summary

Create a new automation watcher in the Zen ERP system by specifying the watcher's details as a JSON object.

Inputs

  • Body (required) — A JSON object containing the watcher's properties including 'id' (integer), 'event' (string), 'uri' (string), optional 'tags' (string), and optional 'properties' (object).

Output shape

a single JSON object reflecting the created watcher, or an error object if creation fails

The operation returns the created watcher's data in JSON format paired with the input item index. If multiple items are processed, each result is returned separately. Errors include message and stack trace details when available.

Examples

Example 1: Create a watcher for a specific event

Provide a JSON object with fields: id, event, uri, tags (optional), and properties (optional).

Discussion