Line Chatbot Extract Text from Pay Slip with Gemini

This workflow primarily utilizes AI technology to automatically identify and extract key information from payslip images sent by users in chat tools, including status, sender, receiver, date, and amount. The extracted data is replied to the user in real-time and simultaneously saved to a spreadsheet. This process not only enhances the efficiency of payslip information processing and reduces manual input errors but also achieves intelligent classification and contextual memory, significantly improving the user interaction experience. It is suitable for the automation needs of corporate HR and finance departments.

Workflow Diagram
Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini Workflow diagram

Workflow Name

Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini

Key Features and Highlights

This workflow leverages the Google Gemini 2.0 AI model to automatically recognize and extract key information (Status, From, To, Date, Amount) from pay slip images sent by users via the Line chatbot. The parsed results are instantly replied to the user while simultaneously being saved to a Google Sheets spreadsheet. This enables no-code intelligent image text recognition and information management. It supports intelligent classification of text and image messages and incorporates contextual memory capabilities to enhance the interactive experience.

Core Problems Addressed

Traditional pay slip information extraction relies on manual input or complex OCR processes, which are inefficient and prone to errors. This workflow uses AI image analysis technology to automatically extract structured data from images, solving the issues of cumbersome, error-prone, and non-real-time pay slip data acquisition. It achieves automated, intelligent processing and data archiving.

Application Scenarios

  • Automated processing of employee pay slip information by corporate HR or finance departments
  • Employees quickly querying and sending pay slip data via chat tools
  • Structuring pay slip data into spreadsheets for easy statistical analysis
  • Any customer service or automation scenario requiring key information extraction from images with automatic replies

Main Workflow Steps

  1. Users send messages through the Line chatbot, supporting both text and pay slip images.
  2. The workflow receives messages via Webhook and classifies them based on message type (text or image).
  3. Text messages are processed with Google Gemini AI for natural language understanding; image messages are analyzed by Google Gemini to extract key pay slip information.
  4. Context nodes maintain user session memory to enhance interactive intelligence.
  5. Extracted structured data is inserted into Google Sheets for convenient querying and management.
  6. Processing results are instantly replied to users through the Line Messaging API, ensuring a seamless interactive experience.

Involved Systems or Services

  • Line Messaging API (message reception and reply)
  • Google Gemini 2.0 AI model (intelligent text and image processing)
  • Google Sheets (structured data storage)
  • n8n workflow automation platform

Target Users and Value Proposition

  • Enterprise digital transformation leaders aiming to improve HR and finance department efficiency
  • Chatbot developers seeking rapid integration of AI-powered image text recognition
  • Business users requiring quick conversion of image information into structured data
  • Organizations looking to reduce manual input errors and enhance data accuracy and response speed

This workflow, through highly integrated AI recognition and automated processes, significantly lowers the barriers and costs of pay slip information processing, achieving an effective combination of intelligent customer service and data management.