Automator - Running Node Command in AppleScript Error
The PATH variable for your AppleScript doesn't contain /usr/local/bin! You can check this with do shell script "env &gt;&gt; $HOME/Desktop/env.txt".

So either configure an additional path or use the full path to node:

do shell script "cd /Users/user/Desktop/Projects/node/cli &amp;&amp; /usr/local/bin/node app.js DesktopUSA"