Skip to main content

Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets

Workflow preview

Workflow preview
100%
Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who is this for? This workflow is ideal for businesses, accountants, and finance teams who receive bank slip images via LINE and want to automate the extraction of transaction details. It eliminate...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.webhook, n8n-nodes-base.googledrive, n8n-nodes-base.googlesheets, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Jaruphat J..

Original n8n.io source

1.1 Workflow description

Title
Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets
Workflow name
Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets

Who is this for?

This workflow is ideal for businesses, accountants, and finance teams who receive bank slip images via LINE and want to automate the extraction of transaction details. It eliminates manual data entry and speeds up financial tracking.

What problem does this workflow solve? Many businesses receive bank transfer slips via LINE from customers, but manually recording transaction details into spreadsheets is time-consuming and error-prone. This workflow automates the entire process, extracting structured data from the bank slips and storing it in Google Sheets for seamless record-keeping.

What this workflow does:

  • Receives bank slip images from LINE BOT
  • Extracts transaction details (sender, receiver, amount, transaction ID) using SpaceOCR
  • Automatically logs extracted data into Google Sheets
  • Works with Standard Bank Slips & PromptPay transactions
  • Eliminates manual data entry and reduces errors

Setup Instructions:

1. Prerequisites

  • A LINE BOT with Messaging API enabled
  • A SpaceOCR API Key (Get from https://spaceocr.com/)
  • A Google Sheets account to store extracted data
  • An n8n instance running (Cloud or Self-hosted)

2. Setup Google Sheets

Create a Google Sheet with the following structure:

A (Date) B (Time) C (Sender) D (Receiver) E (Bank Name) F (Amount) G (Transaction ID)

  • Ensure your Google Sheets API is enabled and connected to n8n.

For an example of the required format, check this Google Sheets template: Google Sheets Template

3. Configure n8n Workflow

1. Webhook Node (Receives bank slip from LINE BOT)
  • Set method: POST
  • Set Path: /line-webhook
2. HTTP Request (Download Image from LINE Message)
  • Retrieves image URL from the LINE message payload
3. SpaceOCR Node (Extract Text from Bank Slip)
  • Input: image URL from LINE
  • API Key: Your SpaceOCR API Key
4. Google Sheets Node (Save Transaction Data)
  • Select your Google Sheet
  • Map extracted data (sender, receiver, amount, etc.) to the respective columns

4. Deploy & Test

Activate the workflow in n8n Set Webhook URL in LINE Developer Console Send a test bank slip image to the LINE BOT Check Google Sheets for extracted transaction data

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Image slip URL in Line

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Get image to Binary

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Line Chat Bot

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 1

Block 5 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Upload image to Google Drive

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 10 - Record in Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 11 - Send Image URL to OCR Space for Text Extraction

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 12 - Extract Transaction Details

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

3. Summary Table

Workflow Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets
Complexity intermediate
Nodes 12
Categories Document Extraction, Multimodal AI
Author Jaruphat J.
Published 25 Feb 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3008/3008.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract Thai bank slip data from LINE using SpaceOCR and save to Google Sheets do?

Who is this for? This workflow is ideal for businesses, accountants, and finance teams who receive bank slip images via LINE and want to automate the extraction of transaction details. It eliminate...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, Multimodal AI use case.