Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

System/Workflow → WorkflowCreate

AI-generated

Summary

Create a new workflow in the Zen ERP system by providing a JSON body with workflow details such as id, status, code, description, tags, and properties.

Inputs

  • Body (required) — A JSON object defining the workflow to create, including fields like id (integer), status (string), code (string), description (string), tags (string), and properties (object).

Output shape

a single JSON object containing the created workflow's details as returned by the Zen ERP API

The returned data corresponds to the created workflow. In case of failure and if 'Continue On Fail' is enabled, returns an error object with message and optional description and stacktrace.

Examples

Example 1: Create a workflow

Set 'Body' JSON to define the new workflow's attributes such as code and status.

Discussion