Automated Weekly Dinner Planner for Mealie
detail.loadingPreview
Automatically generate and submit your weekly dinner meal plan to Mealie with this n8n workflow. Say goodbye to decision fatigue by letting n8n randomly select recipes from your collection and schedule them for upcoming days. Perfect for streamlining your household meal preparations.
About This Workflow
This powerful n8n workflow revolutionizes your meal planning by fully automating the creation of dinner schedules in your Mealie instance. Designed for personal use, it triggers on a set schedule (e.g., every Friday evening) or on demand. The workflow intelligently fetches a specified number of recipes from Mealie, either from all categories or a specific one you define, and then randomly selects unique dishes. It then dynamically creates a dinner plan for the coming days, complete with dates and recipe IDs, before submitting this entire plan to your Mealie application. Enjoy more free time and less stress, knowing your meal plan is taken care of automatically.
Key Features
- Scheduled Automation: Automatically generates and pushes meal plans to Mealie on a recurring schedule (e.g., weekly).
- Randomized Recipe Selection: Intelligently picks a specified number of unique recipes from your Mealie collection.
- Configurable Meal Plan: Easily adjust the number of recipes, the starting offset for the plan, and filter recipes by Mealie category.
- Seamless Mealie Integration: Directly interacts with your self-hosted Mealie instance via its API to fetch recipes and create meal plans.
- Flexible Triggering: Supports both scheduled and manual execution for testing or on-demand planning.
How To Use
- Set Up Mealie API Credential:
- First, generate an API token within your Mealie instance.
- In n8n, create a new
HTTP Header Authcredential. Name it (e.g., "Mealie Header Auth"). - Set the
Header NametoAuthorizationand theHeader ValuetoBearer YOUR_MEALIE_API_TOKEN(replaceYOUR_MEALIE_API_TOKENwith your actual token).
- Apply Credentials to HTTP Nodes:
- Edit the
Get Recipesnode and theCreate Meal Plannode. - In the
Authenticationsection, selectGeneric Credential Type, thenHTTP Header Auth. - Choose the Mealie credential you just created from the dropdown.
- Edit the
- Configure the
ConfigNode:- Open the
Confignode. mealieBaseUrl: Update this value to the base URL of your Mealie instance (e.g.,http://your-mealie-ip:port).numberOfRecipes: Set how many dinner recipes you want to plan for (e.g.,5for 5 days).offsetPlanDays: Define how many days from the current date the meal plan should start (e.g.,0for today,3for 3 days from now).mealieCategoryId: (Optional) Enter a specific Mealie category ID if you want to filter recipes. Leave blank for all categories.
- Open the
- Set the Schedule Trigger:
- Adjust the
Friday 8pmnode (scheduleTrigger) to your preferred day and time for the workflow to run weekly. Alternatively, use themanualTriggerfor testing or on-demand execution.
- Adjust the
- Activate Workflow: Save and activate the workflow. It will now automatically generate and push your dinner plans to Mealie on schedule.
Apps Used
Workflow JSON
{
"id": "e55a8617-1264-4c74-9f99-21a5f09ceaad",
"name": "Automated Weekly Dinner Planner for Mealie",
"nodes": 14,
"category": "Personal",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: e55a8617-1264...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automate Your Daily Briefing: News, Emails, and Tasks
Streamline your day by automatically fetching the latest news from Times of India, important emails from your Gmail, and your upcoming Todoist tasks. Get a consolidated, beautifully formatted daily digest delivered straight to your inbox.
AI Music Generator with Suno V3.5 (KIE.ai)
This n8n workflow automates AI music generation using the KIE.ai API, powered by the Suno V3.5 model. Users simply submit music prompts, styles, and titles via a web form, and the system handles real-time generation and delivery of the final audio output. It's perfect for quickly creating custom music for various needs.
Smart Expense Tracking with Telegram & AI
Automate your personal finance management by turning your Telegram chat into an intelligent expense tracker. Simply send a photo of a receipt or a text message, and this workflow uses AI to categorize your spending, extract crucial details, and provide instant summaries.