# Folder Delete Action

The **Folder Delete Action** node deletes one or more folders from the file system.

The specified directories can be removed even if they contain files and subfolders, depending on the configured behavior. The operation is performed on the host system where the stream is executed (client or server).

#### Input Parameters

**Folder Path**\
List of folder paths (including folder names) that should be deleted.

**Not Empty**\
Defines how the node behaves if the folder contains files or subfolders:

* **DELETE\_ANYWAY** — delete the folder and all its contents recursively
* **SKIP** — leave the folder unchanged and continue the workflow
* **FAIL** — stop the node with an error

<figure><img src="https://1398472304-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcJYkTyk9qgh7aCR6dHIm%2Fuploads%2Fq7uFaLet3sq9IHLujYCV%2Fimage.png?alt=media&#x26;token=1a968203-58ef-4572-93bd-d314ddf7a205" alt="" width="352"><figcaption><p>Folder Delete Action</p></figcaption></figure>

#### Behavior

* Deletes entire directories
* Can remove folders recursively with all contents
* Processes multiple folders in a single execution
* Supports asynchronous execution

#### Typical Use Cases

* removing project working directories
* cleaning temporary processing folders
* archive housekeeping workflows
* deleting failed job outputs
* resetting watchfolder environments

#### Important Note

Using **DELETE\_ANYWAY** permanently removes the folder and everything inside it.\
The deletion bypasses any recycle bin or trash functionality provided by the operating system.

#### Practical Tip

This node is typically used at the end of automated workflows to remove working directories after delivery, archiving, or transfer has successfully completed.
