Skip to main content

Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking

Workflow preview

Workflow preview
100%
Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 e...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.code, n8n-nodes-base.extractfromfile, n8n-nodes-base.googletranslate, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.formtrigger, n8n-nodes-base.if, n8n-nodes-base.datatable

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sridevi Edupuganti.

Original n8n.io source

1.1 Workflow description

Title
Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking
Workflow name
Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking

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.

Use Cases

• International Business Contracts • Multilingual Product Documentation • Educational Content Distribution • Healthcare Patient Information for Diverse patient population • Marketing Campaign Materials

What it does

• Accepts PDF uploads via web form • Extracts and converts text to structured HTML • Translates using Google Translate API (20+ languages including Hindi, Telugu, Spanish,
French, German, Chinese) • Converts to professional PDFs with ConvertAPI • Emails translated PDFs with cost breakdown • Tracks expenses in data table for analytics

Set up

• Configure Google Cloud Service Account (Translation API enabled) • Add ConvertAPI Query Auth credentials • Set up Gmail OAuth2 with send permissions • Create n8n Data Table named cost_tracking • Activate workflow and access form via webhook URL

Requirements

• Google Cloud account with Translation API • ConvertAPI account with credits • Gmail account for delivery • PDF files with selectable text (not scanned images)

Customize

• Edit CSS in "Prepare HTML" nodes for PDF styling • Update pricing in "Cost – Build record" node • Add languages in "Process Form Data" and form dropdown • Modify email template in Gmail nodes

Support:

Join n8n Discord or Community Forum

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Process Form Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 2 - Extract Text from PDF

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 3 - Convert to HTML

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Translate to Language 1

Type / Role
n8n-nodes-base.googleTranslate - googleTranslate
Config choices
Version 2

Block 5 - Translate to Language 2

Type / Role
n8n-nodes-base.googleTranslate - googleTranslate
Config choices
Version 2

Block 6 - Prepare HTML 1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Prepare HTML 2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Convert HTML to PDF 1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 9 - Convert HTML to PDF 2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Finalize PDF 1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Finalize PDF 2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Merge Documents

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 2.1

Block 13 - Prepare Email

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Cost – Build record

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 15 - Document Translation Request (Form Trigger)

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 1

Block 16 - Has 2nd Language?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 17 - Data Table

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 18 - Send Two Attachments?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 19 - Send Email (2 PDFs)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 20 - Send Email(1 PDF)

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking
Complexity advanced
Nodes 29
Categories Document Extraction, Multimodal AI
Author Sridevi Edupuganti
Published 15 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10864/10864.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Translate PDFs into multiple languages with Google Translate & ConvertAPI cost tracking do?

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 e...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.