Templates / Process Thai documents with TyphoonOCR & AI to Google Sheets (multi-page PDF)

Process Thai documents with TyphoonOCR & AI to Google Sheets (multi-page PDF)

Ready for 3.0

by Jaruphat J. ✓ · 709 views · created 2025-08-26 · AI Summarization, Multimodal AI

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-10-19.

What this workflow does

This AI workflow has 14 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenRouter Chat Model and Google Sheets.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Load PDFs from doc Folder (Read/Write Files from Disk): reads a file from disk
  2. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  3. Read/Write Files from Disk: writes a file to disk
  4. Set_Input_Path (Code): runs custom JavaScript code
  5. Split PDF page (Execute Command): runs a shell command on the n8n host
  6. Read Splite PDF Page (Read/Write Files from Disk): reads a file from disk
  7. Extract Text with Typhoon OCR (Execute Command): runs a shell command on the n8n host
  8. Aggregate: combines items into one
  9. Structure Text to JSON with LLM (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
  10. Parse JSON to Sheet Format (Code): runs custom JavaScript code

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

Services it uses

OpenRouter Chat ModelGoogle Sheets

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.

Nodes used (9)

From the author

⚠️ Note: This template requires a community node and works only on self-hosted n8n installations. It uses the Typhoon OCR Python package, pdfseparate from poppler-utils, and custom command execution. Make sure to install all required dependencies locally. ---…

Excerpt from Jaruphat J.'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.