ya
Yandex Translate is a machine translation service from Yandex Cloud supporting translation between dozens of languages with automatic language detection.
With the Yandex Translate integration in AACFlow, you can:
- Translate Text: Translate one or more text strings to a target language
- Detect Language: Automatically identify the language of a text
- List Languages: Retrieve all supported language pairs
This integration enables multilingual content processing, automatic localization, and language detection in automated workflows.
Usage Instructions
Integrate Yandex Translate into the workflow for text translation and language detection. Requires a Yandex Cloud API key and folder ID from your Yandex Cloud console. Create API keys under IAM → Service Accounts → API Keys.
Tools
yandex_translate
Translate text to a target language
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Yandex Cloud API key |
folderId | string | Yes | Yandex Cloud folder ID |
texts | string | Yes | Text(s) to translate (one per line) |
targetLanguageCode | string | Yes | Target language code (e.g., en, ru, fr) |
sourceLanguageCode | string | No | Source language code (auto-detected if omitted) |
Output
| Parameter | Type | Description |
|---|---|---|
translations | array | Array of translated text strings |
detectedLanguage | string | Detected source language code |
yandex_translate_detect
Detect the language of a text
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Yandex Cloud API key |
folderId | string | Yes | Yandex Cloud folder ID |
detectText | string | Yes | Text to detect language for |
languageCodeHints | string | No | Comma-separated language hints (e.g., ru,en,de) |
Output
| Parameter | Type | Description |
|---|---|---|
languageCode | string | Detected language code |
yandex_translate_languages
List supported languages
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
apiKey | string | Yes | Yandex Cloud API key |
folderId | string | Yes | Yandex Cloud folder ID |
Output
| Parameter | Type | Description |
|---|---|---|
languages | array | Array of supported language objects |
Links
- Official API: https://yandex.cloud/ru/docs/translate/
- AACFlow block source: apps/aacflow/blocks/blocks/yandex_translate.ts

