Skip to main content
Takes a full file path and keeps only the last part: the filename itself, including its extension. Everything before the final slash is dropped. Use this when a field holds a complete path but you only need the file’s name, for example to store or display an image’s name without all the folders in front of it.

Fields

This mapper has no settings to configure. It always returns the filename from the path you give it.

Sample data

FieldValue
(no settings)
Input:
{ "path": "/uploads/products/scarf-blue.jpg" }
Output:
{ "path": "scarf-blue.jpg" }