Commands
The Commands tab of a Module, provides a direct way to invoke specific functionality on a module without requiring a re-deployment.
Think of the Commands Tab as an interactive API testing console built into the Nexus interface - allowing you to send JSON payloads to the module and receive immediate responses.

Key UI Elements
Command Drop-down - Lists all available commands for the selected module
Refresh – Updates the list of commands in case new ones are exposed
Show Schema – Displays the JSON Schema defining the exact structure of the required payload
Payload Field – A text editor where you insert the JSON payload that will be sent to the module
Send Payload – Executes the selected command with the provided payload
Response Panel – Displays the response returned by the module
How It Works
When a module is developed with the Nexus SDK, its developer can expose one or more commands. These commands become available in the Commands tab for that module.
From here, you can:
Select a command from the Command drop-down menu.
(Optional) Click Show Schema to see the JSON Schema for the expected payload format.

Enter/Fill out the JSON payload in the Payload section

Click Send Payload to execute the command on the module
View the Response in the right-hand panel

Use Cases
The Commands tab is particularly useful for:
Debugging and Troubleshooting – Test module behavior with different inputs to identify and resolve issues quickly.
Rapid Iteration – Try different configurations or trigger specific actions without a full redeployment.
Operational Tasks – Manually invoke data synchronization, file listing, or other module-specific functions.
Important Notes
Only modules developed with the Nexus SDK will expose commands in this tab
Payloads must strictly follow the JSON Schema format provided by Show Schema
Incorrect payload formatting can result in command execution errors
Changes made through commands are runtime actions - they do not permanently alter the module configuration unless the module is designed to store state
Last updated
Was this helpful?