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 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
Sends real-time feedback to the LINE user
How to use:
Set up a LINE Messaging API channel and get your channel access token.
Add your OpenAI API credentials in n8n.
Replace placeholders for {channel access token}, {your id}, and Google Sheet IDs with your own.
Activate the workflow and send a food image or text message to your LINE bot.
Related Templates
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
Automate Daily Keyword Research with Google Sheets, Suggest API & Custom Search
Who's it for This workflow is perfect for SEO specialists, marketers, bloggers, and content creators who want to automa...
Bulk Automated Google Drive Files Sharing and Direct Download Link Generation
This N8N workflow automates the process of sharing files from Google Drive. It includes OAuth2 authentication, batch pro...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments