workflows.fit
Back to n8n workflows
n8n templateFreeBy kote2

Log food calories from images to Google Sheets using LINE and OpenAI Vision

This workflow allows a LINE user to send either text or an image of food to a connected LINE bot. If text is sent, the AI agent responds directly via LINE. If an image is sent, the workflow downloads it from LINE’s AP...

Data & StorageProductivityDevelopmentCore NodesAILangchainSwitchAgent
Loading interactive preview...

Template notes

This workflow allows a LINE user to send either text or an image of food to a connected LINE bot.

If text is sent, the AI agent responds directly via LINE.

If an image is sent, the workflow downloads it from LINE’s API, analyzes it using OpenAI’s Vision model, estimates calories (only if the image contains food), and formats the result into JSON.

Detected dishes and calories are appended to a Google Sheet, and a confirmation message is sent back to the user via LINE.

Key Features:

Integrates LINE Messaging API webhook with n8n

Uses OpenAI Vision to detect food and estimate calories

Automatically logs results into Google Sheets