Actions8
Create Node
AI-generatedSummary
Create a new PIM node within the MediaCockpit system by specifying its node type and parent node ID, optionally providing an external key, and handling conflicts either by failing or fetching an existing node with the same external key.
Inputs
- Node Type (required) — The type identifier of the node to create (e.g., NT_SHOP_ART).
- Parent Node ID (required) — The ID or key of the parent node under which the new node will be created.
- External Key — Optional external key to assign to the new node for external referencing.
- On Conflict — Defines behavior if a node with the given external key already exists: either fail the operation or fetch the existing node instead.
Output shape
a single item containing a JSON object with success status, details of the created node including nodeType, parentNodeId, externalKey, and the full response from the MediaCockpit API; or the existing node data if a conflict is handled by fetching.
If a conflict (HTTP 409) occurs during creation and 'On Conflict' is set to 'Fetch Existing' with a valid external key, the node will return the existing node's details fetched by that external key instead of failing. Errors during creation throw detailed node operation errors including HTTP status and response info.