Skip to main content
The Command Validation command (Command Type: 1) validates whether specific strings are present in or absent from the provided data. It throws an error when the configured condition is not met.

Overview

The Command Validation command provides functionality for:
  • Validating that required strings exist in the data (include mode)
  • Validating that specific strings are absent from the data (exclude mode)
  • Combining multiple values with OR logic (any match required) or AND logic (all matches required)

Command Type

Command Type ID: 1

Parameters

matchMode Values

combineLogic Values

Usage Examples

Validate String is Present (include / or)

Validate All Required Strings Exist (include / and)

Validate No Error Strings are Present (exclude / or)

Validate None of Multiple Strings are Present (exclude / and)

Common Use Cases

  • Response Guard: Ensure a success indicator is present in an HTTP or WebSocket response before processing
  • Error Detection: Throw early if an error string is found in the data
  • Completeness Check: Verify all required field names are present in the raw data
  • Blocklist Check: Reject data that contains any forbidden string
  • JSON Parse - Parse data before validating
  • Http Request - Validate HTTP response content
  • Filter - Filter data by field values after validation