Actions20
Directory → Create
AI-generatedSummary
Create a directory under the KeyValue storage root for later use with records. The operation creates the directory recursively and returns its name with a created: true flag; it errors if that directory already exists.
Inputs
- Directory Name (required) — Name of the directory to create under the configured KeyValue storage root, which defaults to
~/.n8n-keyvalue.
Output shape
One item per input item, with JSON containing directory and created: true.
The storage root can be changed with the
N8N_KEYVALUE_DIRenvironment variable. An existing directory causes an error.