Actions40
- AI Actions
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Generate Actions
- Operator Actions
- PDF Actions
- Storage Actions
Overview
The 0-CodeKit node, when configured with the AI resource and the Translation operation, translates input text from its original language into a specified target language. This is useful for automating multilingual workflows, such as translating customer messages, product descriptions, or any other text data within your n8n automation.
Practical examples:
- Automatically translate support tickets to English before processing.
- Localize marketing content by translating it into multiple languages.
- Convert user-generated content into a common language for analysis.
Properties
| Name | Meaning |
|---|---|
| Text | The text you want to translate. |
| Result Language | The language to translate to. Options include a wide range of languages (e.g., English, French, Japanese, etc.). |
Output
The output will be a JSON object containing the result of the translation. While the exact structure may depend on the API response, typically you can expect fields such as:
{
"translatedText": "Bonjour le monde",
"resultLang": "fr"
}
translatedText: The translated version of the input text.resultLang: The language code of the translation result.
Additional metadata may be included depending on the underlying service.
Dependencies
- External Service: Requires access to the CodeKit API.
- API Key: You must configure the
codeKitApicredential in n8n for authentication.
Troubleshooting
Common issues:
- Missing or invalid API key: Ensure the
codeKitApicredential is set up correctly in n8n. - Unsupported language code: If an invalid or unsupported language code is provided, the node may return an error.
- Empty input text: If the "Text" property is empty, the node will likely fail or return no translation.
Error messages:
"error":"Request failed with status code 401": Check your API credentials."error":"Invalid language code": Verify that the selected "Result Language" is supported."error":"Text parameter missing": Make sure the "Text" field is filled in.
Links and References
- n8n Documentation
- CodeKit API Documentation (link to be replaced with actual documentation if available)
- List of ISO 639-1 Language Codes