← All nodes
Files & Folders

File Path Builder

Builds a file path per row from a template: {Column} takes the row's value, {date} today's date, {time} the time; characters a file name cannot hold become _.

When to use it

Use it before File Copy, Zip Create or an export loop, when each row's file should land in its own folder or under its own name.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
Path templatetextYesexports/{Region}/{Customer}_{date}.csv
Output columntext—File Path

Example

A folder per region

  • Path template=exports/{Region}/{Customer}.csv
Customers
CustomerRegion
Harbour FoodsWest
Cole & SonsEast
With a path each
CustomerRegionFile Path
Harbour FoodsWestexports/West/Harbour Foods.csv
Cole & SonsEastexports/East/Cole & Sons.csv

Worth knowing

  • Column names in braces match ignoring case. An unknown name becomes blank, so check the spelling if a part goes missing.
  • Slashes in the template separate folders; slashes inside a value are kept as folder separators too.
  • $Variables are filled in before the template, so $OutputRoot/{Region} works.

Others in Files & Folders