What To Eat

This workflow automatically retrieves health recipes that meet user-defined criteria, including calories, cooking time, and dietary type, on a daily schedule. It randomly generates a diverse set of recommendations and sends the recipe list via email. It effectively addresses the dilemma of "what to eat," enhances dietary efficiency, and is suitable for busy office workers and individuals who prioritize healthy eating, helping users easily plan nutritious meals.

Workflow Diagram
What To Eat Workflow diagram

Workflow Name

What To Eat

Key Features and Highlights

This workflow automatically fetches multiple healthy recipes daily at a scheduled time (10 AM every day) from the Edamam Recipe API based on user-defined criteria. It supports filtering by calories, cooking time, diet type, and health requirements, generating diverse randomized recommendations. Finally, it sends the curated recipe list via email, making it easy for users to decide "What to eat today."

Core Problems Addressed

It solves the common daily dilemma of "what to eat" and facilitates healthy meal planning. By automatically filtering recipes that meet nutritional and time constraints, it saves users from spending excessive time searching and comparing options, thereby improving dietary efficiency and health management.

Use Cases

  • Busy professionals or home cooks who need quick access to healthy recipes that fit time constraints
  • Individuals focused on dietary health, calorie control, or specific dietary needs
  • Food service providers or nutritionists who regularly recommend recipes to clients

Main Workflow Steps

  1. Scheduled Trigger (Cron Node): Automatically starts the workflow every day at 10 AM
  2. Set Search Criteria (Set Node): Defines the number of recipes, main ingredients, calorie range, cooking time, diet type, and health labels
  3. Dynamic Filter Adjustment (Function Node): Supports random selection of diet or health tags to enhance recommendation diversity
  4. Fetch Total Recipe Count (HTTP Request Node): Calls the Edamam API to retrieve the total number of recipes matching the criteria
  5. Calculate Random Recipe Index (Function Node): Randomly selects specific recipe indices
  6. Retrieve Detailed Recipes (HTTP Request Node): Fetches detailed recipe information based on the selected indices
  7. Generate Email Content (Function Node): Formats the recipes into an HTML email body
  8. Send Email (Email Node): Delivers the recipe recommendations to users via email

Systems or Services Involved

  • Edamam API: Provides recipe search and filtering services
  • SMTP Email Service (e.g., Gmail): Sends daily recipe emails

Target Users and Value

  • Suitable for users pursuing healthy eating, with specific dietary needs or calorie control
  • Ideal for those with limited time who want to maintain dietary variety
  • Useful for nutritionists, health consultants, or food service providers offering personalized recipe recommendations
  • Automates the search process to reduce manual effort, enhancing quality of life and dietary management efficiency

This workflow centers on intelligence and automation, delivering scientifically sound daily dietary suggestions to support the cultivation of a healthy lifestyle.