Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs when someone submits an n8n form. Along the way it connects Gmail.
How it runs
Trigger: When someone submits an n8n form.
- Process Form Data (Code): runs custom JavaScript code
- Extract Text from PDF (Extract from File): extracts data from a file
- Convert to HTML (Code): runs custom JavaScript code
- Translate to Language (Google Translate): uses Google Translate
- Has 2nd Language? (If): checks a condition and branches into true / false
- Prepare HTML (Code): runs custom JavaScript code
- Translate to Language (Google Translate): uses Google Translate
- Convert HTML to PDF (HTTP Request): calls an HTTP API
- Prepare HTML (Code): runs custom JavaScript code
- Finalize PDF (Code): runs custom JavaScript code
…plus 9 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Code
n8n-nodes-base.code - Extract from File
n8n-nodes-base.extractFromFile - Google Translate
n8n-nodes-base.googleTranslate - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - n8n Form Trigger
n8n-nodes-base.formTrigger - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Gmail
n8n-nodes-base.gmail
From the author
Description 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.…