Templates / Translate Gmail image and PDF attachments into multiple languages with Gemini and Drive

Translate Gmail image and PDF attachments into multiple languages with Gemini and Drive

Ready for 3.0

by Agung Pambudi ✓ · 2 views · created 2026-10-23 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 30 nodes and runs on Gmail events (plus 1 other trigger). Along the way it connects Gmail and Google Drive.

How it runs

Trigger: On Gmail events (plus 1 other trigger).

  1. Set configuration (Edit Fields (Set)): sets or maps fields
  2. Generate sample email (Code): runs custom JavaScript code
  3. Has image or PDF attachment? (If): checks a condition and branches into true / false
  4. Build Translation Jobs (Code): runs custom JavaScript code
  5. Create Drive Folder (Google Drive): uses Google Drive
  6. Combine email with Drive folder (Merge): merges the data from its input branches
  7. Reply: No Image Found (Gmail): uses Gmail
  8. Dry run? (translate) (If): checks a condition and branches into true / false
  9. Share Folder (Anyone with link) (Google Drive): uses Google Drive
  10. Mock Gemini translation (Code): runs custom JavaScript code

…plus 18 more steps. See the full node list below.

Services it uses

GmailGoogle Drive

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.

  • Still check Gmail Trigger below v1.4 runs as v1.4 (drafts skipped, max emails per poll) (Gmail Trigger).
Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (10)

From the author

Quick overview This workflow monitors Gmail for labeled emails with image attachments, uses the Google Gemini API to translate text inside each image into multiple languages, uploads the translated images to a shared Google Drive folder, and replies to the…

Excerpt from Agung Pambudi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.