LINE BOT - Google Sheets Record Receipt
Triggered by a webhook. Connects Code, Google Drive, Google Sheets, HTTP request, Webhook. Prepare data - Get content image from Line {{ $env.APIBASEURL }} - Get image URL to Binary Upload image to Google Drive OCR and get value - OCR API by SpaceOCR {{ $env.APIBASEURL }} - Parse Transaction Details Store Data in Google Sheets LINE Webhook Trigger (Receive Image)
Front matter
name: LINE BOT - Google Sheets Record Receipt
description: Triggered by a webhook. Connects Code, Google Drive, Google Sheets, HTTP request, Webhook. ## Prepare data **- Get content image from Line** {{ $env.API_BASE_URL }} **- Get image URL to Binary** ## Upload image to Google Drive ## OCR and get value **- OCR API by SpaceOCR** {{ $env.API_BASE_URL }} **- Parse Transaction Details** ## Store Data in Google Sheets ## LINE Webhook Trigger **(Receive Image)**
category: Automation
kind: Workflow
software: Code|Google Drive|Google Sheets|HTTP request|WebhookLINE BOT - Google Sheets Record Receipt
Triggered by a webhook. Connects Code, Google Drive, Google Sheets, HTTP request, Webhook. ## Prepare data - Get content image from Line {{ $env.API_BASE_URL }}
- Get image URL to Binary ## Upload image to Google Drive ## OCR and get value - OCR API by SpaceOCR {{ $env.API_BASE_URL }}
- Parse Transaction Details ## Store Data in Google Sheets ## LINE Webhook Trigger (Receive Image)
Steps
- Sticky Note (stickyNote)
- Image slip URL in Line (set)
- Get image to Binary (httpRequest)
- Line Chat Bot (webhook)
- Sticky Note1 (stickyNote)
- Sticky Note2 (stickyNote)
- Sticky Note3 (stickyNote)
- Sticky Note4 (stickyNote)
- Upload image to Google Drive (googleDrive)
- Record in Google Sheets (googleSheets)
- Send Image URL to OCR Space for Text Extraction (httpRequest)
- Extract Transaction Details (code)
Import
Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).
Source: https://github.com/Zie619/n8n-workflows/blob/main/Webhook/1612_Webhook_Code_Automate_Webhook.md
Author: Zie619, n8n workflow collection. License: MIT.
Shown here with formatting for the web. Keep the author and license notice when you reuse it.
Related entries
- (G) LineChatBot + Google Sheets (as a memory)
- Webhook Workflow: Slack, Google Sheets and HTTP request
- Automate Drive-To-Store Lead Generation System (with coupon) on SuiteCRM
- Webhook Workflow: Condition, Google Sheets and HTTP request
- Line Save File to Google Drive and Log File's URL
- template-demo-chatgpt-image-1-with-drive-and-sheet copy
There are more like this in the members library
The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.