workflows.fit
Back to n8n workflows
n8n templateFreeBy TakatoYamada

Log meal nutrition from LINE food photos to Google Sheets with Gemini AI

Log meal nutrition from LINE food photos to Google Sheets using Gemini AI --- Who is this for Health-conscious individuals, people on a diet, and anyone who wants to track daily nutrition without manual data entry. De...

Data & StorageProductivityDevelopmentCore NodesAILangchainUtilitySticky Note
Loading interactive preview...

Template notes

Log meal nutrition from LINE food photos to Google Sheets using Gemini AI

---

Who is this for

Health-conscious individuals, people on a diet, and anyone who wants to track daily nutrition without manual data entry. Designed especially for LINE users (Japan, Taiwan, Thailand, etc.) who want an effortless way to monitor calories and macronutrients from meal photos.

What this workflow does

Send a meal photo to a LINE bot and Gemini 1.5 Flash automatically identifies the food and estimates calories, protein, fat, and carbohydrates. Each meal is logged to Google Sheets with a timestamp and user ID. The workflow calculates the running daily calorie total and warns when the personal limit is exceeded. Every Monday morning, a weekly nutrition summary with AI-generated advice is pushed via LINE automatically.

How to set up

1. Create a LINE Messaging API channel and copy the Channel Access Token 2. Copy your LINE User ID for weekly Push messages 3. Set up a Google Sheet with columns: Timestamp, LINEUID, FoodName, MealType, Calories, Protein, Fat, Carbs, Confidence 4. Get a Google Gemini API key (free tier available) 5. Configure CALORIELIMIT (default 2000) and LINEUSERID in the Set Config Fields node 6. Register the n8n Webhook URL in LINE Developer Console