What To Eat

For the What To Eat platform, this automated workflow delivers daily recipe suggestions based on user-defined criteria, including dietary preferences, calorie limits, and preparation time. It integrates seamlessly with EmailSend to provide a curated list of 3 recipes featuring chicken, ready in under 30 minutes and under 1500 calories, directly to your inbox. Enjoy hassle-free meal planning with tailored recipe recommendations every day.

7/8/2025
9 nodes
Medium
schedulemediumemailsendautomationcodecustomapiintegrationemailnotification
Categories:
Schedule TriggeredMedium Workflow
Integrations:
EmailSend

Target Audience

This workflow is ideal for:
- Busy Individuals: Those who want to receive meal suggestions without spending time searching for recipes.
- Health-conscious People: Users looking to maintain a balanced diet while controlling calorie intake and cooking time.
- Food Bloggers and Influencers: Content creators who need fresh recipe ideas to share with their audience.
- Nutritionists and Dietitians: Professionals who can use this to generate meal plans for their clients.
- Home Chefs: Anyone who enjoys cooking and wants to explore new recipes based on specific dietary needs.

Problem Solved

This workflow addresses the challenge of meal planning by automating the process of finding healthy recipes. It allows users to:
- Save Time: Automatically fetch recipes based on user-defined criteria without manual searching.
- Personalize Meals: Adjust search parameters such as calorie count, cooking time, and dietary preferences to suit individual needs.
- Enhance Variety: Introduce diversity in meal planning by randomly selecting different dietary and health options.

Workflow Steps

  • Cron Trigger: The workflow initiates daily at 10 AM.
    2. Search Criteria Setup: Users define parameters such as:
    - Recipe Count: Number of recipes to retrieve (e.g., 3).
    - Ingredient Count: Maximum number of ingredients (e.g., 5).
    - Calorie Range: Minimum and maximum calories (e.g., up to 1500).
    - Time Limit: Maximum cooking time (e.g., under 30 minutes).
    - Dietary Preferences: Users can select or randomize their dietary choices.
    3. Query Value Preparation: The workflow formats the calorie and time ranges for the API request.
    4. Recipe Count Retrieval: It queries the Edamam API to get the total number of recipes matching the criteria.
    5. Recipe ID Setup: Randomly selects a starting point for retrieving the recipes based on the total count.
    6. Recipe Retrieval: Fetches the actual recipe data from the Edamam API based on the defined parameters.
    7. Email Body Creation: Formats the recipe details into an HTML email body.
    8. Email Sending: Sends the compiled recipe suggestions to the user via email.
  • Customization Guide

    Users can customize this workflow by:
    - Adjusting Search Criteria: Modify the values for RecipeCount, IngredientCount, CaloriesMin, CaloriesMax, TimeMin, and TimeMax according to personal preferences.
    - Changing Dietary Options: Update the Diet and Health fields to reflect specific dietary needs or preferences.
    - Email Configuration: Enter the correct email addresses for sending and receiving emails, and set up SMTP credentials for email delivery.
    - Scheduling: Change the Cron node settings to adjust the time and frequency of the workflow execution.
    - Expanding Recipe Options: Add additional dietary or health filters in the Set Query Values function to refine recipe searches further.