Line Bot for Food Image Calorie Logging and Analysis

somdn_product_page

This n8n workflow integrates LINE Messaging API with AI-powered image analysis to log food calories in Google Sheets. When a user sends a message to the LINE bot, the workflow determines if it’s a text or an image. Text messages are responded to directly by an AI assistant, while images are downloaded and analyzed using OpenAI’s Vision model to estimate calorie content, specifically for food items. The extracted data, including dish names and calorie counts, are then appended to a Google Sheet for tracking. The user receives real-time feedback via LINE with details of the detected food and calories, providing a seamless way to log dietary information automatically.

Node Count

11 – 20 Nodes

Nodes Used

@n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmChatOpenAi, @n8n/n8n-nodes-langchain.memoryBufferWindow, @n8n/n8n-nodes-langchain.openAi, code, googleSheets, httpRequest, if, set, stickyNote, switch, webhook

Reviews

There are no reviews yet.

Be the first to review “Line Bot for Food Image Calorie Logging and Analysis”

Your email address will not be published. Required fields are marked *