---
title: "Empty Folder Step"
url: "https://docs.robotiq.ai/en/article/empty-folder-step"
language: "en"
last_updated: "2025-12-25T10:37:18.221Z"
---

# Empty Folder Step

The Empty Folder Step clears everything out of a specific folder. Use it to get a folder ready for new files or to clean up old, temporary data.

## How to Use the Empty Folder Step

Add this step to your process when you need to get rid of all files and subfolders in a directory.

### Step 1: Add the Empty Folder Step

1.  Open your process in the Robotiq.ai editor.
2.  Drag and drop the **Empty Folder Step** into your workflow.

### Step 2: Set the Folder Path

1.  Select the **Empty Folder Step** in your process.
2.  In the step properties, find the **Folder Path** setting.
3.  Type in the name of an existing text variable that has the full path to the folder you want to empty.

**Important:** This step permanently deletes everything inside the folder you pick. Double-check that the folder path is correct before you run the process.

## What the Settings Mean

**Step name** (Optional)

-   A custom name for this step in your process.
-   Example: "Clear Temp Files"
-   Use this to make your process easier to follow.

**Folder Path** (Required)

-   The variable that holds the full path to the folder you want to empty.
-   This variable must be text.
-   Example: `myFolderPathVariable` (where `myFolderPathVariable` has a value like "C:\\Users\\YourUser\\Documents\\Temp")

## Related Articles

-   [Create Folder Step](https://docs.robotiq.ai/en/article/create-folder-step)
-   [Delete Folder Step](https://docs.robotiq.ai/en/article/delete-folder-step)
-   [Folder Exists Step](https://docs.robotiq.ai/en/article/folder-exists-step)

## Need Help?

Can't find what you're looking for? Join the [Robotiq Community](https://community.robotiq.ai/home/) to get help from other users and the Robotiq team.

![](https://cdn-assets.productfruits.com/1f30c2fb-19ad-4916-b00a-2b4342987bd9)
