I have found here some very useful tools:
Unfortunately I'm not able to get the function 'run' up and running:
I have copied the code example, I have replaced "ACCOUNT" and "PROFILE", and I have added a console.log to the Callback function for testing.
When running the code in the console, first I get an error message ('Uncaught TypeError: (intermediate value)(...).then(...).then(...).then(...).delay is not a function'), then the first profile is getting loaded and 'Libraries are present' is printed into the console. After that, only 'Waiting...' is printed into the console for a few times (I have enabled the Automator Debug mode).
Does anyone has had success in using this tool?