AutomationMart
Home/Browse/iMessage food photo nutritional analysis with GPT-4 Vision & Memory Storage
n8n

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

n8nn8n13 modulesv1.0
SlackOpenAITelegramTwilio

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 into a detailed, friendly, AI-generated nutritional report — sent back seamlessly as a chat message. It combines OpenAI's visual reasoning, Postgres-based memory, and real-time messaging with Blooio to create a hands-free calorie and nutri

At a glance

iMessage food photo nutritional analysis with GPT-4 Vision & Memory Storage is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Slack, OpenAI, Telegram, Twilio. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Slack, OpenAI, Telegram, Twilio
Modules
13
Price
Free
Version
v1.0
iMessage food photo nutritional analysis with GPT-4 Vision & Memory Storage workflow diagram

About this workflow

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 into a detailed, friendly, AI-generated nutritional report — sent back seamlessly as a chat message. It combines OpenAI's visual reasoning, Postgres-based memory, and real-time messaging with Blooio to create a hands-free calorie and nutrition tracker. --- 🧠 Use Cases - Auto-analyze meals based on user-uploaded images. - Daily/weekly/monthly diet summaries with no manual input. - Virtual food journaling integrated into messaging apps. - Nutrition companion for healthcare, fitness, and wellness apps. --- 📌 Good to Know - ⚠️ This uses GPT-4 with image capabilities, which may incur higher usage costs depending on your OpenAI pricing tier. Review OpenAI’s pricing. - The model uses visual reasoning and estimation to determine nutritional info — results are estimates and should not replace medical advice. - Blooio is used for sending/receiving messages. You will need a valid API key and project set up with webhook delivery. - A Postgres database is required for long-term memory (optional but recommended). You can use any memory node with it. --- ⚙️ How It Works 1. Webhook Trigger The workflow begins when a message is received via Blooio. This webhook listens for user-submitted content, including any image attachments. 2. Image Validation and Extraction A conditional check verifies the presence of attachments. If images are found, their URLs are extracted using a Code node and prepared for processing. 3. Image Analysis via AI Agent Images are passed to an OpenAI-based agent using a custom system prompt that: - Identifies the meal, - Estimates portion sizes, - Calculates calories, macros, fiber, sugar, and sodium, - Scores the meal with a health and confidence rating, - Responds in a chatty, human-like summary format. 4. Memory Integration A Postgres memory node stores user interactions for recall and contextual continuity, allowing day/week/month reports to be generated based on cumulative messages. 5. Response Aggregation & Summary Messages are aggregated and summarized by a second AI agent into a single concise message to be sent back to the user via Blooio. 6. Message Dispatch The final message is posted back to the originating conversation using the Blooio Send Message API. --- 🚀 How to Use - The included webhook can be triggered manually or programmatically by linking Blooio to a frontend chat UI. - You can test the flow using a manual POST request containing mock Blooio payloads. - Want to use a different messages app? Replace the Blooio nodes with your preferred messaging API (e.g., Twilio, Slack, Telegram). --- ✅ Requirements - OpenAI API access with GPT-4 Vision or equivalent multimodal support. - Blooio account with access to incoming and outgoing message APIs. - Optional: Postgres DB (e.g., via Neon) for tracking message context over time. --- 🛠️ Customising This Workflow - Prompt Tuning Tailor the system prompt in the AI Agent node to fit specific diets (e.g., keto, diabetic), age groups, or regionally-specific foods. - Analytics Dashboards Hook up your Postgres memory to a data visualization tool for nutritional trends over time. - Multilingual Support Adjust the response prompt to translate messages into other languages or regional dialects. - Image Preprocessing Insert a preprocessing node before sending images to the model to resize, crop, or enhance clarity for better results.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Contact Creator - KlickTipp AI Agent Tool

This workflow component enables the AI-powered Telegram assistant to create or update KlickTipp contacts through natural language commands. When users request contact operations via Telegram, the AI agent interprets the request and calls this tool to instantly add new contacts or update existing ones with comprehensive profile information. The workflow accepts email or phone number as the primary identifier along with extensive contact details including personal information, address data, phone

Free

Generate blog posts in WordPress using ChatGPT completions

Use this template to generate engaging blog posts in WordPress using ChatGPT. Create and publish content effortlessly with AI-driven completions and WordPress integration.

Free

Get computer information from Printnode in Telegram

Every time your Telegram bot receieves a message, information on computers that are in your PrintNode will be sent.

Free

Get chess.com game reviews by email using Google Gemini or other LLMs

Improve your chess automatically — get a personalized AI coaching report delivered. This workflow connects to the free Chess.com public API, fetches your most recent game, and sends it to an AI language model that acts as your personal chess coach. Within minutes, you receive a structured HTML email covering everything from critical turning points to a personalized training plan. 🔧 How It Works Trigger — Runs on a daily schedule or manually on demand Config Node — Set your Chess.com username a

Free

Travel planning assistant with MongoDB Atlas, Gemini LLM and vector search

Building agentic AI workflows often requires multiple moving parts: memory management, document retrieval, vector similarity, and orchestration. Until now, these pieces had to be custom-wired. But with the new native n8n nodes for MongoDB Atlas, we reduce that overhead dramatically. With just a few clicks: - Store and recall long-term memory from MongoDB - Query vector embeddings stored in Atlas Vector Search - Use these results in your LLM chains and automation logic In this example we presen

Free

Select podcast content ideas from Feedly articles using ChatGPT

Generate engaging podcast topics by transforming Feedly articles with ChatGPT. Stay ahead with fresh ideas and captivating content for your next podcast episode. The template is part of this [Webinar.](https://www.youtube.com/watch?v=EwfCfoVpLgQ)

Free

Schedule & auto-post videos to Instagram, LinkedIn & TikTok with Google Sheets

Automated Social Media Video Posting 👥 Who's it for This workflow is perfect for content creators, social media managers, and businesses who want to schedule and automatically post videos 📹 to multiple platforms (Instagram, LinkedIn, TikTok) without manual effort. Save hours every week! ⏰ 🤖 What it does It automatically reads scheduled posts from Google Sheets, checks if it's the right time to post, downloads videos from Google Drive, uploads them to multiple social media platforms

Free

Viral video generator: HeyGen to TikTok & Instagram auto-post + any content

HeyGen AI Video Generation with Social Media Publishing Description This workflow automates the entire process of creating AI-generated videos from trending news content and publishing them to social media platforms (Instagram and TikTok). It runs daily at 6 AM, finds viral-worthy news, generates scripts, creates AI avatar videos using HeyGen, and automatically publishes to multiple social platforms. How it works Content Discovery & Script Generation 1. Schedule Trigger: Runs daily at 6 AM or an

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free