Generate Daily Meal Plan
Creates a personalized daily meal plan with recipes, nutritional breakdowns, and a grocery list based on your profile, then sends it directly to your email.
Meal PlanningPersonal HealthDiet PlannerEmail Automation
AI Diet Planner
This workflow creates a personalized daily meal plan tailored to your profile and sends it to your email every morning. It uses an AI model to calculate your nutritional targets and provides detailed meal suggestions, recipes, and health tips.
It performs four main tasks:
- Triggers automatically each day at your specified time.
- Gathers user profile data and the current date to prepare inputs.
- Uses an AI agent to generate a detailed nutrition plan, five balanced meals, recipes, a health tip, and optionally a weekly grocery list.
- Sends a well-formatted HTML email containing the complete meal plan directly to your inbox.
What You Need
- A Needle account to create and run the workflow.
- Access to the Needle AI connector.
- A Gmail account connected via Pipedream to send emails.
- User email and preferred meal schedule configured in the workflow variables.
How The Flow Works
| Node Step | Node Type | Description |
|---|---|---|
| 1. Scheduled Trigger | Trigger | Fires every day at a set time (e.g., 7:00 AM UTC) to start the workflow. |
| 2. User Profile Preparation | Code | Builds a user profile object including age, weight, height, gender, fitness goal, activity level, diet preference, allergies, and meal schedule. |
| 3. AI Meal Generator | AI Agent | Calculates daily macronutrient targets and generates a full daily meal plan, complete with recipes, a health tip, and a grocery list on Sundays. |
| 4. Send Email | Sends the generated HTML email with the meal plan directly to your inbox using a Gmail integration. |
Output
At the end of the workflow, you receive a beautifully formatted email each morning containing the following details:
- A warm greeting to start your day.
- Clear daily nutrition targets including calories, protein, carbs, fats, and fiber.
- A detailed five-meal plan with portion sizes and nutrition information.
- Daily totals and progress against your macro targets.
- Easy-to-follow recipes for every meal.
- A helpful daily health tip.
- A weekly grocery list included on Sundays.
- An encouraging closing message.
Configuration And Notes
- All generated meals respect your specified diet preferences and allergies.
- Nutritional calculations use the Mifflin-St Jeor equation with adjustments for your specific goals.
- Suggested meals use simple, affordable, and commonly available ingredients.
- The email design uses inline CSS with a friendly color scheme to ensure readability on various mobile and desktop devices.
- The workflow runs on UTC time by default. You can adjust the schedule to fit your local timezone.
User Profile Fields
| Profile Field | Description |
|---|---|
| Age | Your current age |
| Weight | Current body weight |
| Height | Current height |
| Fitness Goal | Your objective (e.g., Weight Loss, Muscle Gain) |
| Diet Preference | Special dietary needs (e.g., Vegetarian, Keto) |
| Allergies | Any food allergies to avoid |
| Meal Schedule | Your preferred times to eat throughout the day |
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
