0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

AI → Check Content Policy

AI-generated

Overview

The node provides an interface to check text content against a content policy using an AI-powered service. It is useful for scenarios where you want to ensure that user-generated or external text complies with specific guidelines or policies before further processing or publishing. For example, it can be used to automatically moderate comments, filter inappropriate content, or verify compliance with legal or organizational standards.

Properties

Name Meaning
Text Content The text content to analyze for policy compliance. Example: "This is the text to analyze for policy compliance"

Output

The node outputs a JSON object containing the results of the content policy check. This typically includes whether the text complies with the policy and may provide details or flags about specific issues found in the text. The exact structure depends on the API response but generally indicates if the content is acceptable or not.

No binary data output is involved.

Dependencies

  • Requires an API key credential for authentication with the external AI content policy checking service.
  • The node sends a POST request to the endpoint /ai/checkcontentpolicy with the text content in the request body.
  • The base URL for the API is https://prod.0codekit.com.
  • Proper configuration of the API key credential in n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Providing empty or excessively long text content might result in errors or unexpected responses.
    • Network connectivity issues can prevent reaching the API endpoint.
  • Error Messages:

    • Authentication errors usually indicate problems with the API key; verify the credential setup.
    • Validation errors may occur if the "Text Content" property is missing or empty; ensure it is provided.
    • API rate limits or quota exceeded errors require checking usage limits with the service provider.

Links and References

  • 0CodeKit API Documentation (assumed base URL for reference)
  • General best practices for content moderation and policy compliance in AI applications.

Discussion