Generate Daily Meal Plan

OpenAIGoogle Mail

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:

  1. Triggers automatically each day at your specified time.
  2. Gathers user profile data and the current date to prepare inputs.
  3. Uses an AI agent to generate a detailed nutrition plan, five balanced meals, recipes, a health tip, and optionally a weekly grocery list.
  4. Sends a well-formatted HTML email containing the complete meal plan directly to your inbox.

What You Need

  1. A Needle account to create and run the workflow.
  2. Access to the Needle AI connector.
  3. A Gmail account connected via Pipedream to send emails.
  4. User email and preferred meal schedule configured in the workflow variables.

How The Flow Works

Node StepNode TypeDescription
1. Scheduled TriggerTriggerFires every day at a set time (e.g., 7:00 AM UTC) to start the workflow.
2. User Profile PreparationCodeBuilds a user profile object including age, weight, height, gender, fitness goal, activity level, diet preference, allergies, and meal schedule.
3. AI Meal GeneratorAI AgentCalculates daily macronutrient targets and generates a full daily meal plan, complete with recipes, a health tip, and a grocery list on Sundays.
4. Send EmailEmailSends 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:

  1. A warm greeting to start your day.
  2. Clear daily nutrition targets including calories, protein, carbs, fats, and fiber.
  3. A detailed five-meal plan with portion sizes and nutrition information.
  4. Daily totals and progress against your macro targets.
  5. Easy-to-follow recipes for every meal.
  6. A helpful daily health tip.
  7. A weekly grocery list included on Sundays.
  8. An encouraging closing message.

Configuration And Notes

  1. All generated meals respect your specified diet preferences and allergies.
  2. Nutritional calculations use the Mifflin-St Jeor equation with adjustments for your specific goals.
  3. Suggested meals use simple, affordable, and commonly available ingredients.
  4. The email design uses inline CSS with a friendly color scheme to ensure readability on various mobile and desktop devices.
  5. The workflow runs on UTC time by default. You can adjust the schedule to fit your local timezone.

User Profile Fields

Profile FieldDescription
AgeYour current age
WeightCurrent body weight
HeightCurrent height
Fitness GoalYour objective (e.g., Weight Loss, Muscle Gain)
Diet PreferenceSpecial dietary needs (e.g., Vegetarian, Keto)
AllergiesAny food allergies to avoid
Meal ScheduleYour 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.

Try Needle today

Streamline AI productivity at your company today

Join thousands of people who have transformed their workflows.

Agentic workflowsAutomations, meet AI agents
AI SearchAll your data, searchable
Chat widgetsDrop-in widget for your website
Developer APIMake your app talk to Needle
    Needle LogoNeedle
    Like many websites, we use cookies to enhance your experience, analyze site traffic and deliver personalized content while you are here. By clicking "Accept", you are giving us your consent to use cookies in this way. Read our more on our cookie policy .