Line Chatbot: Extract Text from Payslip with Gemini
detail.loadingPreview
A Line chatbot that extracts structured data from payslip images using Gemini AI.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow enables a Line chatbot to receive an image of a payslip, process it using Gemini AI to extract key information (Status, From, To, Date, Amount), and then store this data in Google Sheets and reply to the user with the extracted information.
Key Features
- Receives image messages via Line.
- Utilizes Gemini AI for optical character recognition (OCR) and data extraction from images.
- Supports text-based interactions for general chat.
- Stores extracted payslip data into a Google Sheet.
- Replies to the user with the extracted information or a confirmation message.
How To Use
- Set up Line Messaging API: Obtain necessary credentials and configure your Line bot.
- Set up Google Sheets: Create a Google Sheet with columns for 'To', 'Date', 'From', and 'Amount'.
- Configure n8n Credentials: Add HTTP header authentication credentials for Line.
- Set Environment Variables: Define
BASE_URLandAPI_BASE_URLin your n8n environment. - Import Workflow: Import this JSON into your n8n instance.
- Configure Nodes: Update the Google Sheets node with your specific spreadsheet details and ensure the Line API nodes are correctly configured with your bot token.
- Trigger the Workflow: Send an image of a payslip to your Line chatbot.
Apps Used
Workflow JSON
{
"id": "d9013f8d-42e7-43ab-9e0c-4eed33f00ce1",
"name": "Line Chatbot: Extract Text from Payslip with Gemini",
"nodes": 0,
"category": "AI & Integrations",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: d9013f8d-42e7...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Integrating AI with Open-Meteo API for Enhanced Weather Forecasting
This workflow demonstrates integrating AI with the Open-Meteo API to provide enhanced weather forecasts.
Community AI Slack Bot
An AI-powered Slack bot that responds to user queries using OpenAI and can be extended with custom tools.
Integrating AI with Open-Meteo API for Enhanced Weather Forecasting
Leverage AI and the Open-Meteo API to build an enhanced weather forecasting tool.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Weekly Cocktail Inspiration for Your Team
Automatically share engaging cocktail recipes with your team or community every week. This workflow fetches a random recipe, generates a beautiful visual card using Bannerbear, and posts it directly to your Rocket.Chat channel, fostering fun and connection.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.