How To

Add Plugin Command

  1. Go to the nodes page: https://storm.dev/nodes and click on the node box of which you want to add a plugin command. You can search the list of nodes by, the nodes by name, id, team or filters online / offline or configured / to be configured.

    Responsive image

  2. Click in the Plugins section and click on the "+" icon of the plugin whose command you want to configure.

    Responsive image

  3. In the form insert:
    Responsive image
    • the tile of plugin command, you can have several commands for the same plugin.
    • the description of command
    • the return type of plugin
    • if the return value is integer you can put conditions on the return value which if checked, send you an alert. If the return value is a json you can put the conditions (different depending on whether the json field is a string or an integer) on the json fields indicated as a json path, e.g. $ .store.book [0] .title or $ ['sore'] ['book'] [0] ['title'].
    • if you have set the alert conditions, you must also put the notification channels which are the bots connected to the workspace of which the node on which you are configuring the plugin command and the emails of the users of the same workspace is part.
    • the scheduled time interval of the execution, which can also be disabled. In this case you can run the command from the dashboard.
    • the endpoint option, which if activated allows you to call the execution of the plugin through a request that will be shown under the swhitch.
    • the endpoint option, which if activated allows you to call the execution of the plugin through a request that will be shown under the swhitch.
    • the plugin for which you are setting the plugin command.
    • the plugin's arguments, identified as topic name and value, the ones you need and you can also add optional arguments.
  4. Click the save plugin command to create the plugin command.