> For the complete documentation index, see [llms.txt](https://docs.helmut.de/helmut4-releases/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.helmut.de/helmut4-releases/v4.12.0/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/folder-increment-name-action.md).

# Folder Increment Name Action

The **Folder Increment Name Action** node generates a new folder name by incrementing the provided folder name if a folder with the same name already exists.

The node checks the specified folder path and increases the folder name by appending a number until a non-existing folder name is found. No folder is created or modified — the node only returns the next available folder path.

The resulting folder path can then be used by subsequent nodes.

#### Input Parameters

**Folder Path**\
Full folder path (including folder name) that should be checked and incremented if necessary.

<figure><img src="https://1398472304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJYkTyk9qgh7aCR6dHIm%2Fuploads%2FhxnOFHgbzIEYKiTZWnno%2Fimage.png?alt=media&amp;token=7ca82ab4-606b-402f-9b05-45626c8ddf9b" alt="" width="352"><figcaption><p>Folder Increment Name Action</p></figcaption></figure>

#### Output and Wildcards

The resulting folder path is returned and can be accessed using:

* [{stream.last\_result}](/helmut4-releases/v4.12.0/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/stream-last_result.md)
* [{node.result.?}](/helmut4-releases/v4.12.0/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/node-result.md)

#### Behavior

* Checks whether the specified folder already exists
* If it exists, increments the folder name (e.g., `myProject` → `myProject_1` → `myProject_2`, etc.)
* Returns the first available folder path
* Does not create or modify any folder
* Supports asynchronous execution

#### Typical Use Cases

* generating unique project directories
* preventing overwriting existing delivery folders
* versioning output folder names
* preparing archive destinations

#### Practical Note

Use this node when you need a safe destination folder name without overwriting or skipping the workflow.\
It’s commonly combined with **Folder Create Action** to create the returned unique folder path in the next step.
