Templates / Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1

Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1

Ready for 3.0

by Jaruphat J. ✓ · 3,833 views · created 2025-05-22 · 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-10-19.

What this workflow does

This AI workflow has 7 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. Extract Text with Typhoon OCR (Execute Command): runs a shell command on the n8n host
  3. Structure Text to JSON with LLM (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model
  4. Parse JSON to Sheet Format (Code): runs custom JavaScript code
  5. Save to Google Sheet (Google Sheets): append

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 (7)

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 and custom command execution. Make sure to install required dependencies locally. --- Who is this for? This template is…

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.