Use this robust n8n workflow to automatically monitor Google Drive, extract text from PDF, DOCX, and TXT files, translate documents using the DeepL API, and save the localized results back to cloud storage. Optimize your translation pipeline with this pre-built n8n templates solution.
Download this n8n workflow template and start using it instantly.
Managing documentation across multiple language markets is a complex, time-consuming process. This n8n workflow solves this problem by creating a fully automated localization pipeline.
When a new file (PDF, DOCX, TXT, or Markdown) is uploaded to a designated Google Drive folder, the workflow springs into action. It automatically identifies the file type and uses the appropriate method to extract the text. The core of this robust n8n solution then iterates through a customizable list of target languages, performing a translation for each using the DeepL n8n node.
Finally, the translated binary files are saved back to a specified destination folder in Google Drive, complete with language codes appended to the filename (e.g., document_EN.pdf). A final Gmail notification provides a summary of the completed job. This entire process is driven by a powerful n8n trigger watching your Google Drive folder, ensuring efficiency and accuracy.
This comprehensive n8n workflow executes the following steps:
Configuration (Edit Here) n8n node (folder IDs, target languages, notification email).Detect File Format) inspects the file's mimeType to determine if it is a PDF, DOCX, TXT, or Markdown file. The flow is routed to the specific download and extraction path required for that format.Extract Text from PDF, Extract Text from DOCX, etc.) pull the raw textual content.Split by Language n8n node then breaks the single item into multiple items—one for every target language specified in the configuration array.Translate a language DeepL n8n node performs the translation.Save to Google Drive n8n node then uploads the localized document to the destination folder.Record in Notion n8n node.To deploy this powerful n8n workflow, follow these setup instructions:
Configuration (Edit Here) n8n node (marked in yellow):sourceFolderId and destinationFolderId with your Google Drive folder IDs.targetLanguages array (e.g., ["JA", "EN", "DE"]).notificationEmail.enableNotion and notionDatabaseId as required.This n8n workflow relies on several specialized n8n node types to achieve complex file manipulation and external service integration:
Google Drive Trigger (n8n trigger):
Function: Starts the n8n workflow when a new file is uploaded to the specified Google Drive folder.
Key Configuration: Configured to trigger on the fileCreated event within a specific folder ID.
Configuration (Edit Here) (Set n8n node):
Function: Stores all user-configurable parameters like folder IDs, translation language codes (defaulting to EN, ZH, KO, ES, FR, DE), and notification settings, centralizing setup for this n8n templates solution.
Key Configuration: Defines assignments for sourceFolderId, destinationFolderId, and targetLanguages array.
Detect File Format (Switch n8n node):
Function: Directs the execution flow based on the incoming file's mimeType (PDF, DOCX, TXT, Markdown) to ensure the correct download and extraction method is used.
Key Configuration: Multiple conditional paths checking for specific application/pdf, application/vnd.openxmlformats-officedocument.wordprocessingml.document, etc.
Download [Type] (Google Drive n8n node):
Function: Downloads the content of the file from Google Drive into the n8n execution context.
Key Configuration: Uses the file ID dynamically retrieved from the Google Drive n8n trigger data.
Translate a language (DeepL n8n node):
Function: Performs the core translation logic, translating the extracted text to the target language of the current item.
Key Configuration: Text input is dynamically mapped from extractedText; Translate To is mapped from the current item's language code ($json.targetLanguages).
Code in JavaScript (Code n8n node):
Function: Converts the translated text string back into a binary buffer object, which is necessary for the subsequent Google Drive upload to recognize it as a file.
Key Configuration: Contains custom JavaScript logic to create a UTF-8 Buffer from the translatedText and return both JSON and binary data.
Save to Google Drive (Google Drive n8n node):
Function: Uploads the newly created translated binary file to the specified destination folder in Google Drive.
Key Configuration: Uses dynamic expressions for name (the new filename with language code) and folderId.
Send Gmail Notification (Gmail n8n node):
Function: Sends a confirmation email summary upon completion of all translations, using data aggregated from the entire n8n workflow run.
Key Configuration: Uses dynamic expressions to populate the email subject and body with details like original filename and translated languages.
Use this comprehensive n8n workflow to automate multilingual audio translation. It leverages ElevenLabs for text-to-speech and OpenAI Whisper and Chat for transcription and translation, forming powerful n8n templates.

Use this powerful n8n workflow to automate text translation and generation via the lucataco/seed-x-ppo model on Replicate. Features smart API polling and robust error handling.

Automate asynchronous AI text generation and translation using the lucataco/seed-x-ppo model on Replicate. This robust n8n workflow uses a critical polling pattern for reliable results.

Use this n8n workflow to generate and serve a 1x1 transparent tracking pixel. Monitor email opens efficiently using this customizable n8n templates solution.

Use this comprehensive n8n workflow to deploy an MCP server, providing AI agents with real-time access to transportation laws, incentives, and contact information via specialized n8n templates.









































