Automator get first 3 letters of parent folder
As an Example on how to get the  3 chars.:

You can get the details from some unix code that gets the folder name from parents path and gets the first 3 letters and transforms it into upper case.

Passes it on to the storage var. to use in the Make folder or what ever you use.



for f in "$@"
do
    sufx=`basename "$f" |cut -c-3 | tr "[a-z]" "[A-Z]"`

echo _"$sufx"
done