Use Get File Name to extract the final file or folder name from path text without reading the filesystem. It works with Windows drive paths, UNC shares, POSIX paths, and relative paths.
Connectors
- Path (text, required): the path to inspect.
- Name (text): the final normalized path segment.
Example
C:\Clients\Acme\Brief.docx returns Brief.docx. /srv/acme/assets returns assets.
Trailing separators and . segments are normalized. A root such as C:\ or / fails explicitly because it has no final file or folder name. The block never checks whether the path exists.
Errors and recovery
When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | path — Path | text | yes |
| Output | result — Name | text | on success |
