Templates / iMessage food photo nutritional analysis with GPT-4 Vision & Memory Storage

iMessage food photo nutritional analysis with GPT-4 Vision & Memory Storage

Needs changes

by David Harvey ✓ · 2,287 views · created 2025-06-30 · Personal Productivity, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI Chat Model and Postgres Chat Memory. It also calls api.blooio.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Don't respond to yourself (If): checks a condition and branches into true / false
  2. If: checks a condition and branches into true / false
  3. Code: runs custom JavaScript code
  4. AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Postgres Chat Memory
  5. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  6. Aggregate: combines items into one
  7. HTTP Request: calls an HTTP API
  8. AI Agent: runs an AI agent, with model: OpenAI Chat Model
  9. Send Message (HTTP Request): calls api.blooio.com (POST)

Services it uses

OpenAI Chat ModelPostgres Chat Memory

HTTP calls to: api.blooio.com

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in AI Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.
Removed in 3.0Replace with
AI Agent v1 (old agent modes)
AI Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (9)

From the author

iMessage AI-Powered Smart Calorie Tracker > 📌 What it looks like in use: > This image shows a visual of the workflow in action. Use it for reference when replicating or customizing the template. This n8n template transforms a user-submitted food photo…

Excerpt from David Harvey's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.