PDF workflow and Shell

is it possible to have an applescript that calls a shell command to process files using an automator workflow ??

Sorry are you saying, you want an Apple script to call a Shell script which calls a Automator workflow?, or

are you saying, you want an Apple script to call a Automator workflow which has a Shell script in it?

In both cases you can use : example

set the_workflow to "Macintosh HD:Users:USERNAME:Library:Workflows:Applications:Finder:Scale Image.workflow" as string

tell application "Automator Launcher" to open (the_workflow as alias)

I want to run a workflow giving it an input (file to process) and output(the results of the process) file specification either directly or indirectly form applescript

Not sure that can be done, what does your script do/what is your end goal?

I figured it out I had to save the work flow as an app then have the app open the file via the script