Skip to product information

Analyze Meal Photos with Google Gemini Nutrition via n8n Webhook

Analyze Meal Photos with Google Gemini Nutrition via n8n Webhook

 (200+Reviews)
Regular price £46.99
Regular price £46.99 Sale price
SAVE Sold out
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
🔥
128+ Sold
Popular with n8n builders
âš¡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
Analyze Meal Photos with Google Gemini Nutrition via n8n Webhook

Analyze Meal Photos with Google Gemini Nutrition via n8n Webhook

Regular price £46.99
Regular price £46.99 Sale price
SAVE Sold out

Get Nutrition Estimates From Meal Photos—Automatically

Send a meal image to an n8n webhook and get back a structured nutrition breakdown (per-item and totals for calories, protein, carbs, and fat) generated by Google Gemini—all packaged as a clean JSON response.

What this workflow does

  • Receives a POST request on a webhook endpoint (the workflow is designed for an image of a dish).
  • Accepts the meal image as binary data from the incoming webhook request (binary mode enabled).
  • Uses an AI Agent with Google Gemini to analyze the image using a nutrition-analysis prompt.
  • Parses Gemini’s output into a predefined JSON structure containing food items and totals.
  • Returns the structured nutrition results to the caller as the webhook response.

Use cases

  • Build a nutrition feature into your app where users upload meal photos and receive estimated macros instantly.
  • Support dietary tracking automation for SaaS operators who want to enrich user submissions with calorie/protein/carbs/fat estimates.
  • Prototype meal analysis workflows for health coaching tools without manual data entry.

Technical details

  • Webhook trigger to accept the image via POST (recommended path: /meal_ai).
  • Google Gemini Chat Model configured with your Gemini credentials in n8n.
  • AI Agent node: n8nn8n-nodes-langchainagent (driven through the Gemini model).
  • Structured output parsing with n8nn8n-nodes-langchainoutputparser to produce the JSON schema you define.
  • Webhook response via respond to webhook returning the parsed nutrition JSON.

Setup notes

Configure Gemini credentials in the Google Gemini Chat Model node, send the meal image in binary mode, and copy the webhook URL for the /meal_ai path (or change it). You can also adjust the AI prompt and the structured output parser schema to match your desired response format.

View full details