Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini
Configured with Agent, Chain LLM, Google Sheets, HTTP Request, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Data store
- Web / API
- Transform
- Routing
- AI & models
- Trigger
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.
| Node | Category | Type | Operation |
|---|---|---|---|
| Window Buffer Memory | Data store | Memory Buffer Window | See node parameters |
| Line: Get Image | Web / API | HTTP Request | See node parameters |
| Message Type | Transform | Edit Fields | See node parameters |
| Message Classification | Routing | Switch | See node parameters |
| Text Message Processing | AI & models | Agent | See node parameters |
| Image Message Processing | AI & models | Chain LLM | See node parameters |
| Line: Response to User | Web / API | HTTP Request | POST |
| Line: Text Response to User | Web / API | HTTP Request | POST |
| Text from Slip Result | Data store | Google Sheets | append |
| Line: Messaging API | Trigger | Webhook | See node parameters |
| Google Gemini for Text | AI & models | LM Chat Google Gemini | See node parameters |
| Google Gemini for Image | AI & models | LM Chat Google Gemini | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- 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
googlePalmApigoogleSheetsOAuth2ApihttpHeaderAuth
Workflow notes
Extract text from image
Extract text from image
Prompt for Gemini Analyze image and then return in JSON Response that has the only following value: Status, From, To, Date, Amount
Gemini AI Assistant
Gemini AI Assistant
AI Assistant using Gemini 2.0 Flash Experiment unlocks new possibilities for AI agents - intelligent systems that can use memory, reasoning, and planning to complete tasks for you.
Reply to User
Reply to User
Reply the processing result to the user without coding or OCR processing.
Insert result to Google Sheet
Insert result to Google Sheet
Get all important information from the Pay Slip and insert into Google Sheet in the same format that we have provided in our prompt.
Get Line Message from User
Get Line Message from User
User can send message in both text and Pay Slip image then classify the message type in text or image so we could have single workflow for AI Assistant that support anything.
Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini
Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini
Purpose and structure
This folder contains the Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini workflow. Its executable nodes use agent, chainLlm, googleSheets, httpRequest, lmChatGoogleGemini, memoryBufferWindow, set, switch, 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: Messaging API
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/Http/1811_HTTP_GoogleSheets_Automate_Webhook.json MIT; preserve source notices.