Translator to multiple languages.
Unleashing Business Potential through Language Engineering.
graph TD
%%{init: {'theme': 'mc','layout': 'elk'}}%%
TextInput-nz023[<div><img alt="logo" src="/_astro/type.Dy26vmDy.svg" style="height: 20px !important;width: 20px !important"/></div>Text Input]
style TextInput-nz023 stroke:#a170ff
DeepseekModel-ras91[castellano]
style DeepseekModel-ras91 stroke:#a170ff
DeepseekModel-fhodk[inglés]
style DeepseekModel-fhodk stroke:#a170ff
DeepseekModel-7vds9[italiano]
style DeepseekModel-7vds9 stroke:#a170ff
DeepseekModel-esyq4[català]
style DeepseekModel-esyq4 stroke:#a170ff
DeepseekModel-pnczv[aleman]
style DeepseekModel-pnczv stroke:#a170ff
CurrentDate-jlpl4[Current Date2]
style CurrentDate-jlpl4 stroke:#a170ff
Prompt-2fuyp[<div><img alt="logo" src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt2]
style Prompt-2fuyp stroke:#a170ff
GDriveFilesComponent-5x9cc[<div><img alt="logo" src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager2]
style GDriveFilesComponent-5x9cc stroke:#a170ff
DocxWriter-li34q[Docx Writer]
style DocxWriter-li34q stroke:#a170ff
Binary-18j3k[Binary]
style Binary-18j3k stroke:#a170ff
CurrentDate-ar4yl[Current Date3]
style CurrentDate-ar4yl stroke:#a170ff
Prompt-jediq[<div><img alt="logo" src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt3]
style Prompt-jediq stroke:#a170ff
GDriveFilesComponent-yczm3[<div><img alt="logo" src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager3]
style GDriveFilesComponent-yczm3 stroke:#a170ff
DocxWriter-3znab[Docx Writer2]
style DocxWriter-3znab stroke:#a170ff
Binary-cewlv[Binary2]
style Binary-cewlv stroke:#a170ff
CurrentDate-pdtxe[Current Date]
style CurrentDate-pdtxe stroke:#a170ff
Prompt-nsdew[<div><img alt="logo" src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt]
style Prompt-nsdew stroke:#a170ff
GDriveFilesComponent-4ztfr[<div><img alt="logo" src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager]
style GDriveFilesComponent-4ztfr stroke:#a170ff
DocxWriter-6ea9i[Docx Writer3]
style DocxWriter-6ea9i stroke:#a170ff
Binary-s1u90[Binary3]
style Binary-s1u90 stroke:#a170ff
CurrentDate-hc94e[Current Date4]
style CurrentDate-hc94e stroke:#a170ff
Prompt-4wf3k[<div><img alt="logo" src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt4]
style Prompt-4wf3k stroke:#a170ff
GDriveFilesComponent-vbuu8[<div><img alt="logo" src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager4]
style GDriveFilesComponent-vbuu8 stroke:#a170ff
DocxWriter-o0bk0[Docx Writer4]
style DocxWriter-o0bk0 stroke:#a170ff
Binary-ruhjj[Binary4]
style Binary-ruhjj stroke:#a170ff
CurrentDate-3dwc6[Current Date5]
style CurrentDate-3dwc6 stroke:#a170ff
Prompt-iukbt[<div><img alt="logo" src="/_astro/square-terminal.BMOXc-nZ.svg" style="height: 20px !important;width: 20px !important"/></div>Prompt5]
style Prompt-iukbt stroke:#a170ff
GDriveFilesComponent-it7q3[<div><img alt="logo" src="/_astro/google_drive.wKmDsV2c.svg" style="height: 20px !important;width: 20px !important"/></div>Drive File Manager5]
style GDriveFilesComponent-it7q3 stroke:#a170ff
DocxWriter-fe820[Docx Writer5]
style DocxWriter-fe820 stroke:#a170ff
Binary-avqo5[Binary5]
style Binary-avqo5 stroke:#a170ff
TextInput-nz023 -.- DeepseekModel-ras91
linkStyle 0 stroke:#a170ff
TextInput-nz023 -.- DeepseekModel-fhodk
linkStyle 1 stroke:#a170ff
TextInput-nz023 -.- DeepseekModel-7vds9
linkStyle 2 stroke:#a170ff
TextInput-nz023 -.- DeepseekModel-esyq4
linkStyle 3 stroke:#a170ff
TextInput-nz023 -.- DeepseekModel-pnczv
linkStyle 4 stroke:#a170ff
CurrentDate-jlpl4 -.- Prompt-2fuyp
linkStyle 5 stroke:#a170ff
Prompt-2fuyp -.- GDriveFilesComponent-5x9cc
linkStyle 6 stroke:#a170ff
DeepseekModel-fhodk -.- DocxWriter-li34q
linkStyle 7 stroke:#a170ff
DocxWriter-li34q -.- Binary-18j3k
linkStyle 8 stroke:#a170ff
Binary-18j3k -.- GDriveFilesComponent-5x9cc
linkStyle 9 stroke:#a170ff
CurrentDate-ar4yl -.- Prompt-jediq
linkStyle 10 stroke:#a170ff
Prompt-jediq -.- GDriveFilesComponent-yczm3
linkStyle 11 stroke:#a170ff
Binary-cewlv -.- GDriveFilesComponent-yczm3
linkStyle 12 stroke:#a170ff
DocxWriter-3znab -.- Binary-cewlv
linkStyle 13 stroke:#a170ff
DeepseekModel-ras91 -.- DocxWriter-3znab
linkStyle 14 stroke:#a170ff
CurrentDate-pdtxe -.- Prompt-nsdew
linkStyle 15 stroke:#a170ff
Prompt-nsdew -.- GDriveFilesComponent-4ztfr
linkStyle 16 stroke:#a170ff
Binary-s1u90 -.- GDriveFilesComponent-4ztfr
linkStyle 17 stroke:#a170ff
DocxWriter-6ea9i -.- Binary-s1u90
linkStyle 18 stroke:#a170ff
DeepseekModel-7vds9 -.- DocxWriter-6ea9i
linkStyle 19 stroke:#a170ff
CurrentDate-hc94e -.- Prompt-4wf3k
linkStyle 20 stroke:#a170ff
Prompt-4wf3k -.- GDriveFilesComponent-vbuu8
linkStyle 21 stroke:#a170ff
Binary-ruhjj -.- GDriveFilesComponent-vbuu8
linkStyle 22 stroke:#a170ff
DocxWriter-o0bk0 -.- Binary-ruhjj
linkStyle 23 stroke:#a170ff
DeepseekModel-esyq4 -.- DocxWriter-o0bk0
linkStyle 24 stroke:#a170ff
CurrentDate-3dwc6 -.- Prompt-iukbt
linkStyle 25 stroke:#a170ff
Prompt-iukbt -.- GDriveFilesComponent-it7q3
linkStyle 26 stroke:#a170ff
Binary-avqo5 -.- GDriveFilesComponent-it7q3
linkStyle 27 stroke:#a170ff
DocxWriter-fe820 -.- Binary-avqo5
linkStyle 28 stroke:#a170ff
DeepseekModel-pnczv -.- DocxWriter-fe820
linkStyle 29 stroke:#a170ff
🧩 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.