← All N8N workflows
AI & researchAgentChain LLMGoogle SheetsHTTP RequestLM Chat Google Gemini

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.

Workflow preview
Data storeWindow Buffer MemoryMemory Buffer WindowWeb / APILine: Get ImageHTTP RequestTransformMessage TypeEdit FieldsRoutingMessage ClassificationSwitchAI & modelsText Message ProcessingAgentAI & modelsImage MessageProcessingChain LLMWeb / APILine: Response to UserHTTP RequestWeb / APILine: Text Response toUserHTTP RequestData storeText from Slip ResultGoogle SheetsTriggerLine: Messaging APIWebhookAI & modelsGoogle Gemini for TextLM Chat Google GeminiAI & modelsGoogle Gemini for ImageLM Chat Google Gemini

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Window Buffer MemoryData storeMemory Buffer WindowSee node parameters
Line: Get ImageWeb / APIHTTP RequestSee node parameters
Message TypeTransformEdit FieldsSee node parameters
Message ClassificationRoutingSwitchSee node parameters
Text Message ProcessingAI & modelsAgentSee node parameters
Image Message ProcessingAI & modelsChain LLMSee node parameters
Line: Response to UserWeb / APIHTTP RequestPOST
Line: Text Response to UserWeb / APIHTTP RequestPOST
Text from Slip ResultData storeGoogle Sheetsappend
Line: Messaging APITriggerWebhookSee node parameters
Google Gemini for TextAI & modelsLM Chat Google GeminiSee node parameters
Google Gemini for ImageAI & modelsLM Chat Google GeminiSee 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

  • googlePalmApi
  • googleSheetsOAuth2Api
  • httpHeaderAuth

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.

More in AI & research