Javelin Guardrails icon

Javelin Guardrails

Sanitize and validate content using Javelin Guardrails API

Overview

This node integrates with the Javelin Guardrails API to sanitize and validate input text content. It is useful for scenarios where content needs to be checked for security or compliance before further processing or storage. For example, it can be used to filter user-generated content, sanitize inputs in workflows, or ensure text data meets security standards.

Use Case Examples

  1. Sanitizing user comments before posting on a website.
  2. Validating text inputs in a data processing pipeline to prevent injection attacks.
  3. Filtering sensitive or inappropriate content in automated workflows.

Properties

Name Meaning
Input Text The text content to be processed and sanitized by Javelin Guardrails.
Request Source Source identifier for tracking the origin of the request, useful for analytics or debugging.

Output

JSON

  • json - The full response from the Javelin Guardrails API containing sanitized text and assessment results.

Dependencies

  • Javelin Guardrails API with authentication credentials

Troubleshooting

  • If the node throws 'Request rejected by Javelin Guardrails: Content failed security assessment', it means the input text did not pass the security checks and was rejected. Modify the input text to comply with security policies or handle the error gracefully.
  • Ensure the Javelin Guardrails API credentials are correctly configured and valid to avoid authentication errors.
  • If the node fails and 'Continue On Fail' is not enabled, the workflow will stop. Enable 'Continue On Fail' to handle errors per item and continue processing.

Links

Discussion