---
title: Automate Image File Renaming
slug: fYMj-automate-image-file-renaming
icon: {"faIcon":"fa-solid fa-pen-fancy"}
docTags: 
createdAt: 2025-07-07T20:59:43.853Z
---



This feature lets you automatically rename uploaded images based on the selected answer in a single choice question. It’s useful when you want your image files to reflect what was selected—making them easier to organize, identify, and use in reports or exports.

You can rename media files in real time, right when the user selects an option and uploads a photo in the same field.

✅ Works with any Single Choice question
&#x20;❌ Only renames media inside that same control (not elsewhere in the inspection)

**What You Can Do**

- Rename uploaded photos based on the user’s answer
- Use specific naming conventions for easier searching later
- Improve organization and reduce manual renaming

**Common Examples**

| Use Case              | What It Does                                                     |
| --------------------- | ---------------------------------------------------------------- |
| Flood Line Detected   | If user selects "Yes", renames the photo as “FloodLine\_Visible” |
| Roof Condition        | If user selects "Damaged", renames the photo to “Roof\_Damage”   |
| Inspection Passed     | If user selects "Fail", photo gets renamed to “Failure\_Image”   |
| Water Intrusion Check | If user selects "Yes", names file “Water\_Intrusion\_Detected”   |

**How to Set Up Automated Renaming**

**1. Add a Single Choice Question to Your Template**
&#x20;In the Template Builder, use a Single Choice control (e.g., Yes / No / NA).

**2. Open the Logic Tab**
&#x20;Click on the field and go to the “Logic” tab in the right-hand panel.


::Image[]{src="https://api.archbee.com/api/optimize/unP1Gi2kJPeu5kZwV6HW6/4YqrgOISOZqKtePogY1i__image.png" size="40" width="666" height="524" position="center" showCaption="false"}

**3. Add Logic Based on the Selected Answer**
&#x20;Click **Add Logic**, then:

- Set the condition:
  &#x20;If single choice is equal to \[Yes]
- Add the action:
  &#x20;Then rename media file to \[FloodLine\_Visible]



::Image[]{src="https://api.archbee.com/api/optimize/unP1Gi2kJPeu5kZwV6HW6/cnv-SwmQJD0CgJA-Pn3KE_image.png" size="40" width="660" height="818" position="center" showCaption="false"}

Repeat for other answer choices if needed.

**Things to Know**

- Media files are renamed as soon as they’re uploaded, after the answer is selected
- Only affects images uploaded to the same control (not linked from other fields)
- Doesn’t rename files retroactively
- Supports static file names (dynamic inputs or variables are not yet supported)
- Works with PDF report exports and backend file management

If you have any questions or need help applying this feature in your workflow, reach out to our team at support\@vlx.ai or start a live chat from inside the platform.
