Automator: Ask for Finder Item if one not used as input
I'd like to send a mail message with an attachment. I've got a script that does what I want if a file is dropped on the Automator Application. But if the Application is launched with a double-click there is no attachment. If I use the Automator action to "Ask for Finder Item" it always asks, even if I drop a file on the Application. Is there a way to check if an file has already been used as an input? And continue if it already has a file dropped on it, but Ask for Finder Item if no item was dropped?
Mac mini, 10.15