Log meals and macros to a spreadsheet by texting a bot

Text, voice, or a photo of a barcode logs your meal's macros to a spreadsheet, and the bot can answer nutrition questions too.

How the work actually flows

It branches. Exactly one path is taken.

Pattern: Exclusive Choice (4) · Simple Merge (5)

flowchart TD trig>"message sent to bot"]:::trig s0["Message received from user"]:::task s1["Meal macros calculated by AI"]:::svc s2[("Logged to spreadsheet")]:::store s3["Reply sent to user"]:::task trig --> s0 s1 --> s2 s2 --> s3 gx{"× what type of message"}:::gate s0 --> gx p00["Text parsed directly"]:::task gx -->|"Text message"| p00 p10["Voice transcribed"]:::task gx -->|"Voice message"| p10 p20["Photo matched to nutrition data"]:::task gx -->|"Barcode photo"| p20 jn{"○ meal data ready"}:::gate p00 --> jn p10 --> jn p20 --> jn jn --> s1 out[/"Meal logged with macros calculated"/]:::out pay{{"Effortless daily food tracking"}}:::pay s3 --> out out --> pay classDef task fill:#e7f6fe,stroke:#34b8f0,color:#2c2a29 classDef svc fill:#f6f8fa,stroke:#7c8795,color:#2c2a29 classDef mi fill:#e7f6fe,stroke:#0079a8,color:#2c2a29,stroke-width:2px classDef human fill:#fff,stroke:#0079a8,color:#0079a8 classDef store fill:#f6f8fa,stroke:#0079a8,color:#2c2a29 classDef trig fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigtime fill:#00a4eb,stroke:#0079a8,color:#fff,font-weight:bold classDef trigdata fill:#8ad4f5,stroke:#0079a8,color:#06314c,font-weight:bold classDef gate fill:#fff,stroke:#e8a23d,color:#6b4708,font-weight:bold classDef out fill:#1f9d6b,stroke:#167a53,color:#fff,font-weight:bold classDef pay fill:#06314c,stroke:#021f33,color:#fff
Starts itA stepAn outside serviceA record or sheetOne path onlyPaths rejoinResultPayoff
Build size
Advanced

A larger build with multiple systems, AI reasoning, and custom rules.

Business functions
AI Agents & Autonomous SystemsKnowledge Base & RAGMessaging & NotificationsDocument Processing & OCRSpreadsheet & Database Ops
Connects
TelegramGoogle Sheets

The problem it solves

Tracking what you eat every day is tedious, especially when it means opening an app and typing in every ingredient by hand. Most people give up on food logging within a week because it takes too much effort to keep up.

Who it fits

Anyone tracking their diet or macros who wants a faster, more flexible way to log meals.

How it works

  1. You send a text, voice note, or photo of a barcode to the bot on Telegram
  2. Voice messages are transcribed and photos of barcodes are read and matched to nutrition data
  3. AI figures out the meal and its protein, carbs, fat, and calories
  4. The meal is logged as a new row in Google Sheets
  5. The bot replies with a text or voice answer, or suggestions if you ask a question
What you get

Meals logged without opening an app

You log a meal by texting a photo or voice note, and your macros are tracked automatically so you always know where you stand.

What you get

An updated Google Sheets log of your meals and macros, plus direct answers from the bot.

What you need

A Telegram bot, a Google account for Sheets, and API access for the AI and nutrition lookup services.

We can build this. But should you?

The hard question is not how to build it. It is whether this is the right thing to build first.

That is what a Fractional Chief AI Officer figures out with you, before anyone writes a line of code.

Let's Talk Strategy

Related automations

Back to the AI Playbook