This is an example of an action, executed by Snips Flow.
It is coded in C and NodeJS. Notably, the node js script is from Snips tutorial.
This example is tested under Ubuntu and is yet to be tested under other OS platforms.
Installation of CLI(Command Line Interface) - SAM can be referenced in the following link
https://docs.snips.ai/getting-started/quick-start-raspberry-pi
To use Sam in the desktop, it requires installing SSH or opening the port 22.
Use command :
sam connect localhost
Use command visudo to authorize the access to "sudo" without password.
Add the line following :
$USER ALL=(ALL) NOPASSWD:ALL
For Linux AMD16 :
https://docs.snips.ai/articles/other-platforms/linux-amd64
For MacOS :
https://docs.snips.ai/getting-started/quick-start-macos
For creation of an assistant :
https://docs.snips.ai/getting-started/quick-start-console