Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Capture Nutrition Logs Through Telegram Messages

Overview

An n8n workflow takes the meals you describe, photograph or record in your own Telegram chat, asks an AI model for rough nutrition estimates and adds each approved entry to your Google Sheet.

Problem or Objective

More in Workflow Automation

AI Agents and Models

Tools and Integrations

Tools
n8n · Telegram · OpenAI · Google Sheets
Prerequisites
An n8n instance, a Telegram bot you create for yourself with its credentials, an OpenAI API key or, on n8n Cloud, Gateway credits, and a Google account that holds the sheet.

How It Works

Create a Telegram bot for yourself and add its credentials in n8n. Start the workflow with the Telegram Trigger node on new messages, turn on Download Images/Files so meal photos come through, and restrict it to your own user ID. Route each message by its type: send photos to the OpenAI node's Analyze Image operation and voice notes to its Transcribe a Recording operation, and pass text straight on. Hand the result to an AI Agent node with a chat model and a prompt that lists the foods, an estimated portion, calories, protein, carbohydrate and fat, each marked as an estimate. Connect a Google Sheets Append Row action as the agent's tool and require human approval for that tool through Telegram, so the bot shows you the proposed row and nothing is written until you approve it; deny it and send a correction when an estimate looks wrong. When you ask for a summary, let the agent read your rows and reply in your own chat with totals and trends.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n, Telegram, OpenAI, Google Sheets.
  3. Check the prerequisitesAn n8n instance, a Telegram bot you create for yourself with its credentials, an OpenAI API key or, on n8n Cloud, Gateway credits, and a Google account that holds the sheet.
  4. Gather your detailsCollect what the prompt asks for: What you send about the meal, Units for portions, Your Google Sheet, Sheet columns, Summary period.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.

Practical Starter Prompt: Log my meal with a nutrition estimate

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You keep my personal food log. From the meal I send ([What you send about the meal]), list each food with an estimated portion, then estimate calories, protein, carbohydrate and fat, and label every number as an estimate. Use [Units for portions]. Propose one row for my sheet [Your Google Sheet] with the columns [Sheet columns], and wait for my approval in Telegram before you add it. If I deny it, ask me what to correct. When I ask for a summary, read my rows and reply only in this chat with totals for [Summary period].

Turn on human approval for the Google Sheets tool so each row waits for you in Telegram before it is written. Treat the numbers as rough estimates, not dietary advice, and keep the sheet private.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. n8n's documentation covers each building block: the Telegram Trigger responds to new messages of any kind and can download attached images or files, the OpenAI node can analyze images and transcribe recordings, the AI Agent node connects a chat model to tools, the Google Sheets node can append rows, and an agent's tool call can wait for approval in Telegram. None of these pages says anything about food, nutrition or how accurate an estimate from a photo or a description is, and no workflow assembled from them was run here.

Limitations and Considerations

This is not medical or dietary advice. Nutrition estimates from photos and short descriptions are rough, so treat the numbers as a personal log, check them against package labels where you can, and talk to a doctor or dietitian before you change your diet because of them; you decide what goes in the log. Keep the approval step on the Sheets tool so you check every row before it is written. Keep the sheet private and share it only with people you choose. Photos, voice notes and text are sent to OpenAI for processing, so check its data terms and your API costs, or the Gateway credits n8n Cloud offers instead of your own key. Check that voice notes arrive as downloaded files in your setup, and use the trigger's Restrict to User IDs option so only you can write to the log. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)n8n.io

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. Telegram Trigger | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:52 UTC

    What this source supports
    • The Message event triggers on a new incoming message of any kind (text, photo, sticker and so on), and the Download Images/Files option downloads attached images or files to include in the output data.
  2. OpenAI | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 07:07 UTC

    What this source supports
    • The OpenAI node offers Analyze Image and Transcribe a Recording operations, and on n8n Cloud it can run with Gateway credits instead of your own OpenAI API key.
  3. AI Agent | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC

    What this source supports
    • The AI Agent node connects a chat model and one or more tools, and the agent decides which tools to call to complete a task.
  4. Google Sheets | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 23:44 UTC

    What this source supports
    • The Google Sheets node's Append Row operation creates a new row in a sheet.
  5. Human-in-the-loop for tools | Build | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:35 UTC

    What this source supports
    • You can require human approval before an AI Agent executes a specific tool; the workflow pauses and sends an approval request through your configured channel, such as Slack, Telegram, or the n8n Chat interface.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Planned, not done

Prepare Cross-Channel Social Posts From Telegram Requests

Build an n8n workflow where a Telegram message starts an AI agent that picks an image from your shared folder, drafts a caption per network and sends the drafts back to you for approval before posting.

docs.n8n.ion8n-io/n8n

View all: n8n