Translator to multiple languages.
Unleashing Business Potential through Language Engineering.
🧩 Overview
This workflow automates the translation of a user‑supplied text into five languages (Spanish, English, Italian, Catalan, German), converts each translation into a formatted Microsoft Word (.docx) file, and uploads the resulting documents to a designated Google Drive folder.
The process is driven by a series of language‑model calls, document‑generation steps, and file‑management components that are orchestrated through clear, high‑level interactions.
⚙️ Main Features
- Multi‑language translation using a single prompt across five DeepSeek models.
- Dynamic filename creation that incorporates the current date into each file name.
- Automatic Word Docx generation from translated text.
- Seamless Google Drive integration: files are uploaded to a specified folder with optional sharing settings.
- Parallel processing – each language path runs independently, enabling efficient batch handling.
🔄 Workflow Steps
| Component Name | Role in the Workflow | Key Inputs | Key Outputs |
|---|---|---|---|
| Text Input | Captures the raw text to be translated | Input Text (user message) | Message containing the same text |
| Current Date (Spanish) | Provides current date for Spanish filename | Timezone (e.g., UTC) | Message with the date |
| Prompt (Spanish) | Builds filename “castellano{date}.docx” | Date (from Current Date) | Message containing the filename |
| Deepseek Model (Spanish) | Translates to Spanish | Text (from Text Input) | Text of Spanish translation |
| Docx Writer (Spanish) | Creates a .docx file from the translation | File Content (Spanish translation) | Data with path to the .docx file |
| Binary (Spanish) | Encodes the .docx file for upload | File (from Docx Writer) | Data (binary content) |
| GDrive Files Component (Spanish) | Uploads the .docx to Drive | Content (binary), Filename (from Prompt), Folder (“Documentos traducidos”) | Data confirming upload |
| Current Date (English) | Provides current date for English filename | Timezone | Message with the date |
| Prompt (English) | Builds filename “inglés{date}.docx” | Date | Message containing the filename |
| Deepseek Model (English) | Translates to English | Text | Text of English translation |
| Docx Writer (English) | Creates a .docx file from the translation | File Content | Data with path to the .docx file |
| Binary (English) | Encodes the .docx file | File | Data (binary) |
| GDrive Files Component (English) | Uploads the .docx to Drive | Content, Filename, Folder | Data confirming upload |
| Current Date (Italian) | Provides current date for Italian filename | Timezone | Message with the date |
| Prompt (Italian) | Builds filename “italiano{date}.docx” | Date | Message containing the filename |
| Deepseek Model (Italian) | Translates to Italian | Text | Text of Italian translation |
| Docx Writer (Italian) | Creates a .docx file from the translation | File Content | Data with path to the .docx file |
| Binary (Italian) | Encodes the .docx file | File | Data (binary) |
| GDrive Files Component (Italian) | Uploads the .docx to Drive | Content, Filename, Folder | Data confirming upload |
| Current Date (Catalan) | Provides current date for Catalan filename | Timezone | Message with the date |
| Prompt (Catalan) | Builds filename “català{date}.docx” | Date | Message containing the filename |
| Deepseek Model (Catalan) | Translates to Catalan | Text | Text of Catalan translation |
| Docx Writer (Catalan) | Creates a .docx file from the translation | File Content | Data with path to the .docx file |
| Binary (Catalan) | Encodes the .docx file | File | Data (binary) |
| GDrive Files Component (Catalan) | Uploads the .docx to Drive | Content, Filename, Folder | Data confirming upload |
| Current Date (German) | Provides current date for German filename | Timezone | Message with the date |
| Prompt (German) | Builds filename “aleman{date}.docx” | Date | Message containing the filename |
| Deepseek Model (German) | Translates to German | Text | Text of German translation |
| Docx Writer (German) | Creates a .docx file from the translation | File Content | Data with path to the .docx file |
| Binary (German) | Encodes the .docx file | File | Data (binary) |
| GDrive Files Component (German) | Uploads the .docx to Drive | Content, Filename, Folder | Data confirming upload |
All date‑generation steps use the same UTC timezone unless a different setting is chosen.
All GDrive upload components target the folder “Documentos traducidos”.
Each translation path operates independently, allowing parallel execution.
🧠 Notes
- The workflow relies on the DeepSeek LLM API; an API key must be supplied via the credential configuration of each language model component.
- The “System Message” field of each DeepSeek model instructs the model to produce a direct translation without additional commentary, ensuring clean output.
- The Prompt components use a single curly‑brace syntax to inject the current date; this value is supplied by the corresponding Current Date component.
- Binary components encode the .docx files to base64 before passing them to the GDrive Files Component, which then uploads the file as a new document in the target folder.
- Sharing options are left at their defaults; no email notifications are sent, and the uploaded files are given reader permissions.
- Parallel executions are configured to run up to five tasks concurrently per batch, balancing speed and resource usage.
- If any translation path fails (e.g., API error), the downstream components for that language are skipped, preventing a single failure from blocking the entire workflow.