Whoops, sorry about the late reply. Missed this when scanning through new posts.
Make sure the first action in the workflow takes files in as input. Automator (the app itself) likes to stick some initial action that will bring up a dialog so that it's self contained. Just don't use that (delete it if necessary).