Zen ERP icon

Zen ERP

Zen ERP connector node

Actions1246

Commercial/Target → TargetCreate

AI-generated

Summary

Create a target in Zen ERP.

Inputs

  • commercial_target_targetCreate_bodyJson (required) — JSON body for target creation. Required fields: metric, value. Optional: id, targetInterval, targetGroup, tags, properties. Defined in node UI properties as a collection type with a json sub-field.

Output shape

array of n8n main-items, each containing a json field with the handler's result and a pairedItem reference to the input index.

Returned data shape is determined by the TargetCreate handler; the execute method emits results as paired json items on the main output.

Examples

Example 1: Workflow author adds the Zen ERP node, sets resource to Commercial/Target and operation to TargetCreate, then provides a JSON body with at minimum metric and value fields. The node creates the target and returns the created object(s) as n8n items.

Resource: Commercial/Target | Operation: TargetCreate | Body parameter: commercial_target_targetCreate_bodyJson (collection/json). Required fields: metric (string), value (number). Optional fields: id (integer), targetInterval (object), targetGroup (object), tags (string), properties (object).

Links

Discussion