FYI. Unless you have already created the value, defaults write com.apple.finder AppleShowAllFiles -bool true, the workflow will silently fail.
error "2014-04-07 11:58:32.059 defaults[7149:d07]
The domain/default pair of (/Users/jasonbrown/Library/Preferences/com.apple.finder, AppleShowAllFiles) does not exist" number 1