Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Commercial/Target → TargetIntervalCreate

AI-generated

Summary

Create a target interval in Zen ERP by submitting a JSON body with required fields.

Inputs

  • commercial_target_targetIntervalCreate_bodyJson — JSON body for the target interval. Default schema includes: id (integer), targetPlan (object), description (string), dateStart (date), dateEnd (date), tags (string), properties (object). Type: collection; default: {}.

Output shape

main

Returns JSON item(s) representing the created target interval. Structure determined by the executed operation handler.

Examples

Example 1: A workflow author adds the Zen ERP node, sets the operation to TargetIntervalCreate (resource Commercial/Target is pre-filtered), and provides a JSON body matching the declared schema. The node executes the operation via the zenApi credential and outputs the result on the main output.

Body parameter is mandatory for the operation; resource and operation are fixed by the node's display options for this view.

Example 2: If continueOnFail is enabled and the operation errors, an error JSON item is emitted on the main output instead of failing the workflow.

Error handling follows the node's default: caught errors produce { error: ... } items if continueOnFail is true, otherwise the error propagates.

Example 3: The node requires the zenApi credential. Input items on the main line are processed sequentially; each triggers the TargetIntervalCreate operation with the provided body.

No additional input parameters are consumed beyond the Body JSON; the resource and operation are scoped to Commercial/Target/TargetIntervalCreate by the node configuration.

Links

Discussion