Shell script to combine PDFs, renaming output
A linked question How can I combine PDF files and automatically create a table of contents? offers a program to do this. I don't know the syntax for scripting it with hazel/applescript/automator/ruby what have you though.