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 → Detect Language
AI-generatedOverview
The node provides a language detection feature under the AI resource. It analyzes a given text input and identifies the language in which the text is written. This functionality is useful in scenarios such as content localization, multilingual data processing, or automatic routing of messages based on language.
For example, you can use this node to detect the language of customer feedback submitted in various languages, enabling you to route it to appropriate teams or trigger language-specific workflows.
Properties
| Name | Meaning |
|---|---|
| Text Content | The text content to analyze for language detection. Example: "Hello, how are you today?" |
Output
The node outputs a JSON object containing the detected language information. Typically, this includes the language code or name that corresponds to the input text's language.
If the node supports binary data output (not indicated here), it would represent additional data related to the detection process, but in this case, the output is purely JSON-based.
Dependencies
- Requires an API key credential for authentication with the external service at
https://prod.0codekit.com. - The node sends a POST request to the
/ai/languagedetectionendpoint with the text content in the request body. - Proper configuration of the API key credential in n8n is necessary for successful operation.
Troubleshooting
Common issues:
- Empty or missing text input will likely cause the node to fail or return no meaningful result.
- Invalid or missing API credentials will result in authentication errors.
- Network connectivity problems may prevent the node from reaching the external API.
Error messages:
- Authentication errors typically indicate invalid or missing API keys; verify your credential setup.
- Validation errors may occur if the text input is empty or too short; ensure the input text is provided.
- Timeout or network errors suggest connectivity issues; check your internet connection and API availability.
Links and References
- 0CodeKit API Documentation (general reference to the base URL used)
- Language detection concepts: https://en.wikipedia.org/wiki/Language_detection