Translate English PDFs to Any 2 Languages with Cost Tracking via Google Translate & ConvertAPI
This n8n template automates PDF translation into 1 or 2 target languages while maintaining professional formatting. Users submit PDFs via web form and receive translated documents via email with preserved headings, paragraphs, and bullet points.
Key Features:
- Dual-Language Translation - Translate PDFs into 1 or 2 target languages in a single submission (20+ languages supported including Hindi, Telugu, Spanish, French, German, Chinese, Japanese)
- Format Preservation - Maintains original document structure with headings, paragraphs, and bullet points intact in professional A4 PDFs
- Automated Cost Tracking - Calculates and logs translation expenses in real-time; stores data in n8n Data Table for analytics and budget management
- Smart Workflow Routing - Conditional branching processes only selected languages; parallel translation for dual-language efficiency
- Web Form Interface - User-friendly upload form with email delivery; no technical knowledge required for end users
- Professional Email Delivery - Automated notifications with translated PDFs and detailed cost breakdown included
- Production-Ready - Comprehensive error handling, modular design, and detailed documentation throughout workflow
- Multi-Service Integration - Google Translate API + ConvertAPI + Gmail + n8n Data Table work seamlessly together
🎯 Use Cases
Use Cases
-
International Business Contracts
- Legal teams translate English contracts into Hindi and Spanish for regional partners, tracking translation costs per document for client billing and budget management.
-
Multilingual Product Documentation
- SaaS companies convert English user manuals into French and German for European markets, monitoring translation expenses across multiple product releases for cost forecasting.
-
Educational Content Distribution
- E-learning platforms translate English course materials into Telugu and Tamil for Indian students, tracking per-document costs to optimize content localization budgets.
-
Healthcare Patient Information
- Medical facilities translate English health guidelines into Spanish and Chinese for diverse patient populations, logging translation costs for insurance reimbursement and compliance reporting.
-
Marketing Campaign Materials
- Marketing agencies convert English promotional PDFs into Japanese and Korean for Asian market campaigns, tracking translation expenses per campaign for ROI analysis and client invoicing.
🔄 Workflow Architecture
Trigger & Pre-Processing
Accepts PDF uploads via web form, extracts user email and language selections, converts PDF to text, and transforms content into structured HTML with preserved formatting for translation.
Branch Control
Checks if a second target language was selected and routes the workflow accordingly—always processes Language 1, conditionally processes Language 2 only if specified.
Language Translation
Translates structured HTML content using Google Translate API, injects custom CSS styling, converts translated HTML to professional PDFs via ConvertAPI, and finalizes PDF files with language-specific naming.
Join & EMail Prep
Merges translated PDF outputs from both lanes (Language 1 and optional Language 2), assembles email data with proper attachments, and prepares user notification with document details.
Cost Logging
Calculates translation expenses including Google Translate character costs, ConvertAPI PDF conversion fees, and Gmail delivery costs, then stores detailed cost breakdown in data table for analytics.
Send EMails
Routes to appropriate email node based on number of translations (1 or 2 PDFs), sends translated documents to user via Gmail with cost summary and professional formatting.
Automate PDF translation into 1 or 2 languages with preserved formatting—upload via web form, translate with Google Translate API, convert to professional PDFs via ConvertAPI, and deliver via email with complete cost breakdowns. Built-in cost tracking logs every translation expense to n8n Data Table for budget management and analytics.