← All N8N workflows
Data & databasesCodeGoogle DriveGoogle SheetsHTTP RequestEdit Fields

LINE BOT - Google Sheets Record Receipt

Configured with Google Drive, Google Sheets, HTTP Request, Webhook. Review the connections and setup before adapting this template.

Workflow preview
TransformImage slip URL in LineEdit FieldsWeb / APIGet image to BinaryHTTP RequestTriggerLine Chat BotWebhookFiles / mediaUpload image to GoogleDriveGoogle DriveData storeRecord in Google SheetsGoogle SheetsWeb / APISend Image URL to OCRSpace for Text…HTTP RequestCodeExtract TransactionDetailsCode

Node categories in this workflow

  • Transform
  • Web / API
  • Trigger
  • Files / media
  • Data store
  • Code

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Image slip URL in LineTransformEdit FieldsSee node parameters
Get image to BinaryWeb / APIHTTP RequestSee node parameters
Line Chat BotTriggerWebhookSee node parameters
Upload image to Google DriveFiles / mediaGoogle DriveSee node parameters
Record in Google SheetsData storeGoogle Sheetsappend
Send Image URL to OCR Space for Text ExtractionWeb / APIHTTP RequestSee node parameters
Extract Transaction DetailsCodeCodeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • googleDriveOAuth2Api
  • googleSheetsOAuth2Api
  • httpHeaderAuth

Workflow notes

Prepare data

Prepare data

- Get content image from Line https://api-data.line.me/v2/bot/message/xxx/content

- Get image URL to Binary

OCR and get value

OCR and get value

- OCR API by SpaceOCR https://api.ocr.space/parse/imageurl?apikey=REPLACE_WITH_CREDENTIAL&language=tha&isOverlayRequired=false&OCREngine=2&filetype=JPG&url=xxx

- Parse Transaction Details

LINE Webhook Trigger

LINE Webhook Trigger

(Receive Image)

LINE BOT - Google Sheets Record Receipt

LINE BOT - Google Sheets Record Receipt

Purpose and structure

This folder contains the LINE BOT - Google Sheets Record Receipt workflow. Its executable nodes use code, googleDrive, googleSheets, httpRequest, set, webhook. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Line Chat Bot

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Webhook/1612_Webhook_Code_Automate_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • Upload image to Google Drive
  • Store Data in Google Sheets

More in Data & databases