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
- LINE Webhook Trigger
- Fetch LINE Image
- Append Food to Sheets
- Reply to LINE Registration
- When Daily at 9am
- Read Inventory in Sheets
- Filter Soon to Expire
- Collect Expiring Ingredients
- Meal Suggestion Agent
- Notify LINE on Expiry
- Gemini Meal Suggestion Model
- Food Info Extraction Agent
- Gemini Image Reading Model
Similar automations
Monitoring, Ops & IncidentsTriage pharmacy expiry actions with Sheets, Slack, Gmail and Gemini22 stepsMonitoring, Ops & IncidentsSend domain expiry and WHOIS change alerts by email with Apify5 stepsMonitoring, Ops & IncidentsSSL Certificate Expiry Alerts via Gmail, Telegram and Ntfy24 stepsMonitoring, Ops & IncidentsCheck SSL certificate expiry daily and alert via Telegram6 steps