DecisionRules icon

DecisionRules

DecisionRules Actions

Management Rule → Create New Rule Version

AI-generated

Summary

Create a new version of an existing management rule identified by its unique ID or alias by submitting a JSON definition as input data.

Inputs

  • Rule ID or Alias (required) — The unique identifier or alias for the rule to create a new version for.

Output shape

a single JSON object representing the newly created rule version.

The node expects a single JSON input (first item) containing the definition of the new rule version to create. The output is the API response deserialized as JSON. Errors are thrown as n8n NodeApiErrors.

Examples

Example 1: Creating a new version

Set Resource to 'Management Rule', Operation to 'Create New Rule Version', specify the existing Rule ID or Alias, and provide the new version's JSON definition as input data.

Discussion