⚡ Meal planner: cost tracking, leftover recipes & nutrition diary in Google Sheets

399 views · ⚡ Personal Productivity

💡 Pro Tip — Twitter’s API is paid now, which makes simple data pulls expensive. ScraperNode is a community node that scrapes Twitter profiles and posts without needing API access.

View All Scrapers

Description

Who’s it for

This template is for home cooks, small restaurant owners, or anyone who wants to streamline their meal planning, ingredient cost tracking, leftover management, nutritional analysis, and social media promotion. It’s ideal for those looking to optimize their kitchen operations, reduce food waste, maintain a healthy diet, and efficiently share their culinary creations.

How it works / What it does

This advanced workflow acts as a comprehensive culinary assistant. Triggered by a new menu item, it performs several key functions:

How to set up

  1. Webhook Trigger:
    • The workflow starts with a Webhook. Copy the webhook URL from the “Webhook” node. You will send your menu item input to this URL.
  2. Google Sheets Integration:
    • You need to set up a Google Sheets credential for your n8n instance.
    • Create a Google Sheet document (e.g., “Recipe List”). Within this document, create three sheets:
      • “Recipe: This sheet will store your menu items, ingredients, costs, etc. Ensure it has columns for Date, Item, Ingredients, Ingredient Cost, Unit Price, Quantity, Total, Cost, and Leftover Ingredients.
      • “leftovers” (Leftovers): This sheet will store suggested recipes for leftover ingredients. Ensure it has columns for Date and Ingredients.
      • “diary” (Diary): This sheet will store your nutritional diary entries. Ensure it has a column for Diary.
    • In the “Append row in sheet”, “Append row in sheet1”, and “Append row in sheet2” nodes, replace the Document ID with the ID of your Google Sheet. For “Sheet Name,” ensure you select the correct sheet (e.g., “レシピ”, “diary”, “leftovers”) from the dropdown.
  3. OpenRouter Chat Model:
    • Set up your OpenRouter credentials in the “OpenRouter Chat Model” nodes. You will need your OpenRouter API key.
  4. Twitter Integration:
    • Set up your Twitter credentials for the “Create Direct Message” node.
    • In the “Create Direct Message” node, specify the User (username) to whom the direct message should be sent. This is typically your own Twitter handle or a test account.

Requirements

How to customize the workflow

🔗 Nodes Used

Google Sheets, Webhook, X (Formerly Twitter), AI Agent, Structured Output Parser, OpenRouter Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup