Use Get Parent Folder to reuse the containing folder of a file or nested folder in later workflow steps. It preserves Windows, UNC, POSIX, or relative path style.
Connectors
- Path (text, required): the file or folder path to inspect.
- Parent Folder (text): the lexical parent path.
Example
\\server\clients\Acme\Brief.docx returns \\server\clients\Acme. reports/2026/q1.pdf returns reports/2026.
A single relative name returns .. A filesystem root fails explicitly because no parent exists above that root. No disk access or existence check occurs.
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 — Parent Folder | text | on success |
