> For the complete documentation index, see [llms.txt](https://docs.pletor.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pletor.ai/build-agents/nodes/logic-nodes/rename-asset.md).

# Rename asset

Useful when you need organized, predictable file names, especially for workflows that output multiple assets or integrate with external systems.

Supports dynamic naming patterns built from variables in your workflow (for example, combining brand name, asset type, and date).

<figure><img src="/files/XB0zFxC2M0GAqYktumDQ" alt=""><figcaption></figcaption></figure>

### How it works

#### Inputs

**Assets to rename** — the asset(s) the node will rename, pulled from an upstream node (e.g. an AI Image output).

**Naming parts** *(optional)* — other workflow values you want to reference inside the filename, such as an uploaded or reference image. Adding them here makes them available to drop into the naming convention.

#### Naming convention

Define the filename as a pattern that mixes static text with dynamic variables. Type any fixed text directly (e.g. `t-shirt_`) and insert variables from your naming parts (type "@") to build the rest.

A live preview shows the resulting filename and asset before you run the node, so you can confirm the pattern is correct:

<figure><img src="/files/078KoBExSa0wLuC1hlXW" alt=""><figcaption><p>Asset renaming 1o1</p></figcaption></figure>

Variables can be trimmed to a portion of their value using a modifier (e.g. `last 5` keeps the last 5 characters of the source name), which keeps filenames clean when the source value is long.

<figure><img src="/files/NvMRZ1LMTbmwScmc6sdt" alt=""><figcaption></figcaption></figure>
