Automation library · Documents and files

Translate PDFs into multiple languages with Google Translate

Started by someone submitting a form, and works across Gmail and n8n data table. 20 steps, 2 branches: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
2Branches: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 1Logic 11Service 8

The steps in the order they run, from what starts it.

  1. 1Document Translation Request (Form Trigger)Form triggerStarts it
  2. 2Process Form DataCodeLogic
  3. 3Extract Text from PDFExtract From FileService
  4. 4Convert to HTMLCodeLogic
  5. 5Translate to Language 1Google TranslateService
  6. 6Has 2nd Language?IfLogic
  7. 7Prepare HTML 1CodeLogic
  8. 8Translate to Language 2Google TranslateService
  9. 9Convert HTML to PDF 1Http RequestService
  10. 10Prepare HTML 2CodeLogic
  11. 11Finalize PDF 1CodeLogic
  12. 12Convert HTML to PDF 2Http RequestService
  13. 13Merge DocumentsMergeLogic
  14. 14Finalize PDF 2CodeLogic
  15. 15Prepare EmailCodeLogic
  16. 16Cost – Build recordCodeLogic
  17. 17Data TableData TableService
  18. 18Send Two Attachments?IfLogic
  19. 19Send Email (2 PDFs)GmailService
  20. 20Send Email(1 PDF)GmailService

How it's built

Starts on
Someone submitting a form
Steps
20, with 2 branches
Size
Medium: a working afternoon
Connects to
Gmail, n8n data table
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Gmail account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on someone submitting a form.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 20 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 20 steps before you point it at anything that matters.