DecisionRules icon

DecisionRules

DecisionRules Actions

Management Folder → Import Folder

AI-generated

Summary

Import a folder structure into DecisionRules by providing the folder data in JSON format to a specified target folder identified either by its Node ID or its path.

Inputs

  • identifierTypeFolder (required) — Select whether to identify the target folder by its Node ID or its path.
  • Node ID — The ID of the target folder/node where the folder data will be imported. Leave empty to import into the root folder. This input is used only if 'Identify By' is set to 'Node ID'.
  • Path to Folder — The path of the target folder where the folder data will be imported, e.g. '/New Folder'. This input is used only if 'Identify By' is set to 'Path'.
  • Folder data (JSON body) (required) — The folder structure data to import, supplied as JSON via the node's input data.

Output shape

a single item containing the JSON response from the import API call

The output contains the JSON response from the DecisionRules API representing the result of the import operation. Errors during the import cause the node to fail with an error.

Discussion