Automation library · Documents and files

Translate documents to multiple languages with Google Drive

Started by an event in a connected app, and works across Gmail, Google Drive and Notion. 27 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large

27 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Logic 12Service 14

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

  1. 1Google Drive TriggerGoogle Drive triggerStarts it
  2. 2Error HandlerCodeLogic
  3. 3Merge ConfigurationMergeLogic
  4. 4Configuration (Edit Here)SetLogic
  5. 5Send Error NotificationGmailService
  6. 6Detect File FormatSwitchLogic
  7. 7Download PDFGoogle DriveService
  8. 8Download DOCXGoogle DriveService
  9. 9Download TXTGoogle DriveService
  10. 10Download MarkdownGoogle DriveService
  11. 11Extract Text from PDFExtract From FileService
  12. 12Extract Text from DOCXExtract From FileService
  13. 13Read TXT FileExtract From FileService
  14. 14Read Markdown FileExtract From FileService
  15. 15Format Text DataSetLogic
  16. 16Split by LanguageSplit OutLogic
  17. 17Translate a languageDeep LService
  18. 18Generate FilenameSetLogic
  19. 19Code in JavaScriptCodeLogic
  20. 20Create Translated FileWrite Binary FileService
  21. 21Save to Google DriveGoogle DriveService
  22. 22Check if Notion EnabledIfLogic
  23. 23Record in NotionNotionService
  24. 24Merge ResultsMergeLogic
  25. 25Aggregate TranslationsAggregateLogic
  26. 26Prepare NotificationSetLogic
  27. 27Send Gmail NotificationGmailService

How it's built

Starts on
An event in a connected app
Steps
27, with 2 branches
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Drive, Notion
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

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

What starts it?

It starts on an event in a connected app.

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?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

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 27 steps before you point it at anything that matters.