Skip to content
NEWMeet Alaaddin, your AI genie with a voice. trig8n launches 1 January 2027. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Manage fridge inventory and expiry alerts with LINE, Google Sheets and Gemini

When an API call/webhook arrives, it runs an AI agent with Google Gemini using Google Sheets.

What it does

## AI Fridge Inventory Management Agent ### How it works This workflow manages a fridge inventory through LINE and Google Sheets. When a user sends a food image to LINE, it downloads the image, uses Gemini to extract food details, stores them in a sheet, and replies with a registration confirmation. On a daily schedule, it reads the inventory, filters items nearing expiry, asks Gemini for meal suggestions, and pushes a LINE notification. ### Setup steps - Configure the LINE webhook URL to point to the n8n Webhook node and add the required LINE Messaging API access token to the HTTP Request nodes. - Connect Google Sheets credentials and select the spreadsheet/sheet used for the fridge inventory, including columns for food name, quantity, registration date, and expiry date. - Configure Google Gemini credentials for both AI Agent model sub-nodes: image reading and meal suggestion generation. - Set the Daily Check schedule frequency and configure the LINE recipient or group ID for expiry push notifications. ### Customization Adjust the expiry filter threshold, the inventory sheet schema, and the AI prompts for food extraction or meal suggestions to match household preferences.

The steps

  1. LINE Webhook Trigger
  2. Fetch LINE Image
  3. Append Food to Sheets
  4. Reply to LINE Registration
  5. When Daily at 9am
  6. Read Inventory in Sheets
  7. Filter Soon to Expire
  8. Collect Expiring Ingredients
  9. Meal Suggestion Agent
  10. Notify LINE on Expiry
  11. Gemini Meal Suggestion Model
  12. Food Info Extraction Agent
  13. Gemini Image Reading Model

Similar automations