AutomationMart
Home/Browse/Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1
n8n

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

n8nn8n7 modulesv1.0
chainLlmcodeexecuteCommandgoogleSheetslmChatOpenRoutermanualTriggerreadWriteFile

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 for developers, operations teams, and automation builders in Thailand (or any Thai-speaking environment) who regularly process PDFs or scanned documents in Thai and want to extract structured text into a Google Sheet. It is ideal for: Local gove

At a glance

Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1 is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects chainLlm, code, executeCommand, googleSheets. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
chainLlm, code, executeCommand, googleSheets, lmChatOpenRouter, manualTrigger
Modules
7
Price
Free
Version
v1.0
Extract and structure Thai documents to Google Sheets using Typhoon OCR and Llama 3.1 workflow diagram

About this workflow

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 for developers, operations teams, and automation builders in Thailand (or any Thai-speaking environment) who regularly process PDFs or scanned documents in Thai and want to extract structured text into a Google Sheet. It is ideal for: Local government document processing Thai-language enterprise paperwork AI automation pipelines requiring Thai OCR --- What problem does this solve? Typhoon OCR is one of the most accurate OCR tools for Thai text. However, integrating it into an end-to-end workflow usually requires manual scripting and data wrangling. This template solves that by: Running Typhoon OCR on PDF files Using AI to extract structured data fields Automatically storing results in Google Sheets --- What this workflow does 1. Trigger: Run manually or from any automation source 2. Read Files: Load local PDF files from a doc/ folder 3. Execute Command: Run Typhoon OCR on each file using a Python command 4. LLM Extraction: Send the OCR markdown to an AI model (e.g., GPT-4 or OpenRouter) to extract fields 5. Code Node: Parse the LLM output as JSON 6. Google Sheets: Append structured data into a spreadsheet --- Setup 1. Install Requirements Python 3.10+ typhoon-ocr: pip install typhoon-ocr Install Poppler and add to system PATH (needed for pdftoppm, pdfinfo) 2. Create folders Create a folder called doc in the same directory where n8n runs (or mount it via Docker) 3. Google Sheet Create a Google Sheet with the following column headers: | book\id | date | subject | detail | signed\by | signed\by2 | contact | download\url | | -------- | ---- | ------- | ------ | ---------- | ----------- | ------- | ------------- | You can use this example Google Sheet as a reference. 4. API Key Export your TYPHOONOCRAPIKEY and OPENAIAPIKEY in your environment (or set inside the command string in Execute Command node). --- How to customize this workflow Replace the LLM provider in the Basic LLM Chain node (currently supports OpenRouter) Change output fields to match your data structure (adjust the prompt and Google Sheet headers) Add trigger nodes (e.g., Dropbox Upload, Webhook) to automate input --- About Typhoon OCR Typhoon is a multilingual LLM and toolkit optimized for Thai NLP. It includes typhoon-ocr, a Python OCR library designed for Thai-centric documents. It is open-source, highly accurate, and works well in automation pipelines. Perfect for government paperwork, PDF reports, and multilingual documents in Southeast Asia. ---

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Automatic email unsubscribe handler: Outlook to BigQuery integration

Email Unsubscribe Handler for Outlook Description This n8n workflow automatically scans recent email replies from your Outlook inbox and identifies unsubscribe requests. If a contact replies with any variation of "unsubscribe" within the past 7 days, the system performs two key actions: Saves the contact’s email address in a BigQuery unsubscribes table (for compliance and tracking). Deletes that contact from the active leads table in BigQuery (to stop future outreach). This flow can be triggere

Free

Automatic email categorization & labeling in Zoho Mail with GPT-4o-mini

AI-Powered Email Categorization & Labeling in Zoho Mail This n8n template demonstrates how to use AI text classification to automatically categorize incoming emails in Zoho Mail and apply the correct label (e.g., Support, Billing, HR). It saves time by keeping your inbox structured and ensures emails are routed to the right category. Use cases include: - Routing customer support requests to the correct team. - Organizing billing and finance communications separately. - Streamlining HR and recrui

Free

Voiceflow demo support chatbot

Submission Overview for Voiceflow Demo Workflow View the YouTube video for this workflow here. Who is this for? This workflow is ideal for businesses and developers using Voiceflow to power AI voice chatbots. It benefits teams that want to enhance chatbot functionality through integrations with platforms like Zendesk, Google Calendar, and Airtable. What problem is this workflow solving? The workflow addresses the need for seamless integration of chatbot interactions with backend systems. It auto

Free

Real-time registration form tracking with Google Sheets and Gmail notifications

Title: Gracewell Automated Registration Tracker Suite version: 1.0 tags: [education, automation, google-sheets, gmail, dashboard, form-tracking, workflow-suite] category: Academic Automation --- Description: - Automate the real-time tracking of Google Form submissions using Google Sheets and n8n. - This 3-workflow suite includes a live dashboard with submission statistics and two companion workflows - To send acknowledgement and reminder emails to students — all seamlessly connected through n

Free

Send sales forecast charts and answer Q&A on WhatsApp with OpenAI

How It Works Top Branch Workflow 1. The Data Scientist: - Ingest: Pulls historical sales data from Google Sheets. - Math Engine: Runs 7 statistical algorithms (e.g., Seasonal Naive, Linear Trend, Regression). It backtests them against your history and scientifically selects the winner with the lowest error rate. 2. The Data Analyst: - Interpret: The AI Agent takes the mathematical output and translates it into business insights, assigning confidence sc

Free

Monitor server uptime & get email alerts with Google Sheets

Web Server Monitor & Alert System This automation pings web servers at regular intervals, logs their status, and sends email alerts if a server goes down. It’s perfect for maintaining visibility over server uptime — without complex monitoring tools. 🧠 How It Works This workflow performs minute-by-minute checks on all listed servers in a Google Sheet and: ✅ Logs all reachable servers in an “Alive” log. 🔻 Sends an email alert if a server is unreachable. 📄 Logs failed servers in a “Down” sheet w

Free

Auto-curate & post LinkedIn company page using RSS + Gemini AI + Templated.io

This workflow automates your LinkedIn content curation and posting using AI. Every week, it pulls the latest marketing insights from an RSS feed (like HubSpot’s), analyzes them, and turns the best article into a crisp, human-style LinkedIn post — complete with branded visuals and headline text using the Templated API. You can fully customize it for your own brand’s voice, niche, and platform. ⚙️ What It Does 📰 Fetches articles from any RSS feed you choose 🧩 Uses AI (Gemini) to: - Pick the most

Free

Generate realistic sound effects with CassetteAI and save to Google Drive

The Sound Effects Generator is an automated workflow that allows users to create realistic sound effects using AI and save them directly to Google Drive. It generates high-quality sound effects (up to 30 seconds long) based on user prompts. --- How It Works: 1. User Input via Web Form A form is presented to the user asking for: A prompt describing the sound (e.g. "waves crashing", "laser blast"). A duration in seconds (up to 30 seconds). 2. API Request to Generate Audio The input is sent to

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free