I have an automator workflow that starts by running an AppleScript that returns a file path. This gets returned as a POSIX file path.
set filePath to (path to