Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
AI → Check Content Policy
AI-generatedOverview
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/checkcontentpolicywith 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.