---
title: "Rename File Step"
url: "https://docs.robotiq.ai/en/article/rename-file-step"
language: "en"
last_updated: "2025-12-25T10:38:47.526Z"
---

# Rename File Step

The Rename File Step changes a file's name during a process. Use it to organize files or update names as part of your automation.

## How to Use the Rename File Step

Add this step to your process to rename an existing file.

### Step 1: Add the Rename File Step

1.  Drag and drop the **Rename File Step** into your process workflow.
2.  Click on the step to open its properties.

### Step 2: Configure File Path and New Name

1.  In the **File path** field, enter the full path to the file you want to rename. You can use a string variable or a direct path.
2.  In the **New Name (with extension)** field, enter the new name for the file, including its extension (for example, `report_final.pdf`). You can use a string variable or a direct value.

## Parameters Explained

**Step name** (Optional)

-   A custom name for this specific step in your process.
-   Example: `Rename Report`
-   Use this to make your process easier to read.

**File path** (Required)

-   The complete path to the file you want to rename.
-   Example: `C:\Reports\report_draft.pdf` or a variable like `{{filePathVariable}}`
-   This must be an existing file.

**New Name (with extension)** (Required)

-   The new name you want to give the file, including its file extension.
-   Example: `report_final.pdf` or a variable like `{{newFileNameVariable}}`
-   The file extension is important so the operating system recognizes the file type.

## Related Articles

-   [Rename Folder Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/rename-folder-step)
-   [Change File Extension Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/change-file-extension-step)
-   [Delete File Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/delete-file-step)
-   [Set Variable Value Step - Robotiq.ai Help Center](https://docs.robotiq.ai/en/article/set-variable-value-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/971cf878-933e-4768-b424-ff5f3401b1aa)
