Skip to main content

Store: Extract Filename

Split the name of the incoming file into its filename, stem, and extension, and emit each part as plain text. When the file's name carries a full path (e.g. files coming from SFTP or blob storage), only the last path component is kept (in/2026/Report.pdf → Report.pdf).

This function has no configuration.

Input​

Filerequired

The file whose name is extracted. Accepts File or JSON (a JSON payload is serialized to a file first).

Output​

Filename

Complete filename including extension (e.g. report.pdf).

Stem

Filename without its extension (e.g. report).

Extension

Extension without the leading dot (e.g. pdf). Empty when the file has no extension.