Actions12
- Guardrail Actions
- RAG Document Actions
- Workflow Actions
- Agent Passport Actions
Guardrail → Guard Input
AI-generatedSummary
Evaluate input text for prompt injection, jailbreaks, and other threats using SoterAI's detection engines, then route clean or flagged texts accordingly while optionally redacting or warning about unsafe content.
Inputs
- inputText (required) — The user message to check for prompt injection, jailbreaks, and other threats; map this from previous node output, e.g., {{ $json.chatInput }}.
- detectionEngine — Choose detection mode: Auto (cloud first, fallback to local), Cloud only, or Local only (uses bundled rules without network).
- onThreat — How to handle detected threats: block and flag, continue despite threat, redact unsafe content and continue, or warn and continue.
- sensitivity — Detection threshold setting: Balanced (default stop unsafe), Lenient (fewer blocks, continue borderline), or Strict (more blocks, less false negatives).
- userMessages — Customize customer-facing replies for various detection outcomes (allowed, blocked, off-topic, prompt injection, redacted, etc.).
- options — Additional settings such as allowed semantic topics, enforcement on sensitive data, exact always-allow messages, ignored identifiers and words, concurrency, metadata for auditing, project override, timeouts, session ID for conversation context, system prompt context, and topic handling mode.
Output shape
two separate outputs per input item: 'Safe' output for clean or allowed text, 'Flagged' output for blocked or failed items with detected threats. The node modifies or redacts text inline depending on configuration.
This operation routes each item down either Safe or Flagged outputs according to verdict and 'onThreat' settings. It returns a cleaned version of input text for downstream usage. Raw API response is optionally attached. Identical items may reuse API calls to optimize usage. Session ID maintains conversational context for multi-turn guard checks.