Showing results for 
Search instead for 
Did you mean: 
Announcement | Alteryx Connect is now generally available! Find, understand, and trust all relevant information in your organization. Find out more.

Dynamically naming the output directory name and filenames


I need to direct the output files to a directory which must be named at runtime. If the directory does not exist it must be created else use the existing directory. Similarly i need to be able to create output files as well.

  • Output

Using the modified "create folders" macro from by @patrick_digan (modified attached)


I added the Macro Input/Output tools along with configured the Grouping options in the workflow so the records are passed through, and the macro is run once per directory path.


and used the Output tool's options:

output options.png