# 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="/files/JezQBD08DwoGLIxdN576" 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/helmut4-components/streamdesigner/wildcards/result-or-return-wildcards-2/stream-last_result.md)
* [{node.result.?}](/helmut4-releases/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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/nodes/actions/file-and-folder-22/folder-increment-name-action.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
