What This Workflow Does
This automation solves the tedious manual process of extracting payment details from Thai bank slips received via LINE messenger. Many Thai businesses receive payment confirmations as slip images through LINE, requiring staff to manually transcribe account numbers, amounts, dates, and reference numbers - a time-consuming and error-prone process.
The workflow automatically processes these slip images using SpaceOCR's specialized Thai text recognition, extracts all key payment fields, and logs them in Google Sheets with timestamps. This creates an auditable digital record while eliminating manual data entry mistakes that can cause payment reconciliation issues.
How It Works
1. LINE Message Trigger
The workflow activates whenever a new image message arrives in your designated LINE chat. It filters for bank slip images while ignoring other message types.
2. SpaceOCR Processing
Each image is sent to SpaceOCR which specializes in Thai font recognition. The service extracts text blocks and identifies key fields like bank name, account numbers, amounts, and transaction references.
3. Data Validation
The workflow verifies extracted amounts match Thai number formats and checks for required fields. Suspicious or incomplete data triggers an alert for manual review.
4. Google Sheets Update
Validated transactions are logged in your Google Sheet with columns for each data point plus the original image URL. Conditional formatting highlights unprocessed entries.
Pro tip: Create a separate LINE group just for payment confirmations to keep business transactions organized and make automation more reliable.
Who This Is For
This solution benefits any business operating in Thailand that receives payment confirmations via LINE:
- E-commerce stores processing customer payments
- Freelancers and service providers receiving client payments
- Accounting firms managing multiple client transactions
- Import/export businesses with frequent supplier payments
- Property managers collecting rent payments
What You'll Need
- A LINE Official Account or access to a LINE chat where slips are sent
- SpaceOCR API credentials (free tier available)
- Google Sheets with columns for: Date, Bank, Account, Amount, Reference
- n8n instance (cloud or self-hosted)
Quick Setup Guide
- Download the template JSON file
- Import into your n8n instance
- Connect your LINE account in the first node
- Add your SpaceOCR API key in the OCR node
- Link to your Google Sheet and map the columns
- Test with sample bank slip images
Key Benefits
Reduce processing time by 90%: What took hours of manual work now happens automatically in minutes.
Eliminate data entry errors: OCR accuracy exceeds manual transcription, especially for Thai numbers.
Instant payment tracking: See all transactions in real-time with attached slip images for verification.
Scalable solution: Process 10 or 10,000 slips with equal reliability.
Audit-ready records: Automated timestamps and original images create perfect documentation.