Google Translate Action Block
The Google Translate Action Block enables text translation and language detection via the Google Cloud Translation API within your workflows.
⚠️
Requires a Google Cloud API key or service account with the Cloud Translation API enabled.
Supported Actions
- Translate Text - Translate text into 100+ supported languages.
- Detect Language - Identify the language of input text with confidence scores.
- Get Supported Languages - Retrieve a list of all supported language codes.
Configuration
- API Key - Google Cloud API key or service account credentials.
- Source Language - Optional source language code (auto-detected if omitted).
- Target Language - Required target language code (e.g.,
en,es,zh,hi). - Text - The text content to translate or detect.
- Format - Input format: plain text or HTML.
Use Cases
- Provide real-time translation in a multilingual chatbot.
- Auto-detect the language of user inputs and translate them before processing.
- Translate workflow outputs (reports, notifications) into the recipient's preferred language.