🔬 Translate documents to multiple languages with Google Drive and DeepL

⚡ 508 views · 🔬 Document Extraction & Analysis

Description

Who’s it for

This workflow is perfect for content creators, international teams, and businesses that need to translate documents into multiple languages automatically. Whether you’re localizing documentation, translating marketing materials, or creating multilingual content, this workflow saves hours of manual work.

What it does

Automatically monitors a Google Drive folder for new documents (PDF, DOCX, TXT, or Markdown) and translates them into multiple languages using DeepL API. Each translated document is saved with a language-specific filename (e.g., document_en.pdf, document_zh.pdf) in a designated folder. You receive an email notification when all translations are complete.

How it works

  1. Monitors a Google Drive folder for new files
  2. Detects file format (PDF/DOCX/TXT/Markdown) and extracts text
  3. Translates the content into your chosen languages (default: English, Chinese, Korean, Spanish, French, German)
  4. Saves translated files with language codes in the filename
  5. Sends an email notification with translation summary
  6. Optional: Records translation history in Notion database

Set up instructions

Requirements

Setup steps

  1. Create Google Drive folders:

    • Create a “Source” folder for original files
    • Create a “Translated” folder for output
    • Copy the folder IDs from the URLs
  2. Get DeepL API key:

  3. Configure the workflow:

    • Open the “Configuration (Edit Here)” node (yellow node)
    • Replace folder IDs with your own
    • Set your notification email
    • Choose target languages
  4. Set up credentials:

    • Add Google Drive OAuth2 credentials
    • Add DeepL API credentials
    • Add Gmail OAuth2 credentials
  5. Activate the workflow and upload a test file!

Customization options

Supported languages

EN (English), ZH (Chinese), KO (Korean), JA (Japanese), ES (Spanish), FR (French), DE (German), IT (Italian), PT (Portuguese), RU (Russian), and 20+ more.

Performance

Technical Details

Notes

What You’ll Learn

This workflow demonstrates several n8n patterns:

Perfect for learning automation best practices while solving a real business problem!

đź”— Nodes Used

Write Binary File, Google Drive, Gmail, DeepL, Notion, Google Drive Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup