Extract Nutrition From Labels
Reads product nutrition labels from images and extracts key nutritional values like calories, fat, protein, carbs, and more using an AI agent.
Overview
This workflow reads nutrition labels from product images and extracts the key nutritional values, presenting them in a clear, structured format. Simply provide a product image URL, and the AI agent will analyze the label and return detailed nutrient information.
How It Works
- Trigger the workflow — The workflow begins with a manual trigger where you provide the URL of a product image that contains a visible nutrition label.
- AI analysis — An AI agent receives the image URL, browses the image, and reads the nutrition label. It identifies and extracts all visible nutrient information from the product packaging.
- Structured output — The AI returns the extracted data in a clear, readable format including the product name, serving size, calories, and all listed nutrients with their values.
What Gets Extracted
The AI agent targets the following fields when visible on the label:
| Field | Example |
|---|---|
| Product Name | Organic Peanut Butter |
| Serving Size | 2 tbsp (32g) |
| Calories | 190 |
| Total Fat | 16g |
| Saturated Fat | 3g |
| Carbohydrates | 7g |
| Sugar | 1g |
| Fiber | 2g |
| Protein | 7g |
| Sodium / Salt | 0mg |
| % Daily Value | Per nutrient where listed |
Input
- Product image URL — A publicly accessible URL pointing to a product photo that includes a nutrition facts label. Replace the placeholder in the manual trigger with your own image URL.
Output
The workflow returns a text summary that includes:
- Product name (if visible on the label)
- Serving size
- Calorie count
- All nutrients with their values and % Daily Value (where available)
Tips for Best Results
- Use clear, high-resolution images where the nutrition label is fully visible and not obscured.
- Ensure the image URL is publicly accessible so the AI agent can retrieve it.
- Labels with standard nutrition facts formatting tend to yield the most accurate extractions.
Want to showcase your own workflows?
Become a Needle workflow partner and turn your expertise into recurring revenue.
