NinjaOne icon

NinjaOne

Consume the NinjaOne RMM API

Actions120

Device → Run Script

AI-generated

Summary

Run a NinjaOne automation script on the specified device. Choose the script and execution identity, and optionally provide parameters; the operation sends a run request to NinjaOne and returns its response.

Inputs

  • Authentication — Select OAuth2 (default) or Client Credentials; configure the matching NinjaOne credentials.
  • Device ID (required) — Numeric ID of the device to run the script on.
  • Script ID (required) — Numeric ID of the NinjaOne script to run.
  • Script Parameters — Optional JSON string parsed and sent as the script's parameters. Leave blank to omit parameters.
  • Run As — Execution identity: System (default) or Logged On User.

Output shape

A single response item for a non-array API response, or one item per element if the response is an array.

The operation submits a POST request to run the script. If the API returns no response body, the node outputs {"success":true}. With Continue On Fail enabled, errors are returned as an item containing an error message.

Links

Discussion