Workflow Overview:

Extracting text from images using AI is valuable because it requires no coding. It incorporates Google Gemini 2.0 Flash model for important text extraction from images. If you code without AI, you may have to use multiple conditions, which can cause a lot of bugs. However, with Google Gemini, you don’t need any coding, and even if the Pay Slip is different, Gemini will extract it automatically.

Workflow Description:

Users utilize the Line Messaging API to send a Pay Slip image or message to the chatbot.

1. Create a Line Business ID.
2. Classify the message as either an image or text.
3. If the message is a Pay Slip image, it will process using Gemini 2.0 Flash EXP and extract important information, responding in JSON format with the following values: Status, From, To, Date, Amount.

If the message is text, it will process using the Gemini 2.0 Flash EXP model as the AI Assistant. If the message is an image, it will extract the important fields, reply to the user, and insert the data into Google Sheets.

Key Features:

– Extract text from images with No Code: Without N8N, you would have to write code to extract text from images, but with N8N and Google Gemini 2.0 Flash EXP together, there’s no need for coding. It can process all slip vendors or other document vendors.

– Multipurpose Chatbot: This chatbot accepts both text and images, so there’s no need to create multiple chatbot accounts.

– Reduce human error: This workflow allows any officer to verify document status when the job ends.

Note: You can change the information by modifying your prompt and the Google Sheets column names accordingly.