Cover illustration for Unmasking hidden gut triggers with structured data capture

What the AI found

“Symptoms clustered 18 to 22 hours after chicory root in high-protein snacks, not dairy or gluten as suspected.”

Before

14 elimination diets and 400 Apple Notes

After

A single 4-column log and zero food fear

The same system, three states — real screens, not a screenshot

1Starting
Apple Notes
  • Oct 12: oats + almond milk. Stomach cramped at 3pm? Maybe dairy cross-contam?
  • Oct 15: strictly carnivore today. Still bloated by evening. Why??
  • Nov 02: Cut onions and garlic again. Feeling exhausted.
  • Nov 14: Sourdough toast. Felt fine initially, distended by 9pm.
2Working
Claude

Prompt

Here is my normalized food and symptom log for the last 30 days. Identify any ingredient clusters that correlate with evening distension, accounting for an 18 to 24-hour digestive transit lag.

Here is my normalized food and symptom log for the last 30 days. Identify any ingredient clusters that correlate with evening distension, accounting for an 18 to 24-hour digestive transit lag.

AI

Analyzing across 90 meals with a 12–26 hour lag window. Dairy and wheat show no statistical correlation (p > 0.45). However, 7 of 8 severe distension episodes occurred 18 to 22 hours after consuming chicory root fibre (inulin), present exclusively in your afternoon protein bars.
3Implemented
Google Sheets

0

Weekly flare days

Inulin / chicory

Identified trigger additive

15 sec

Logging time per meal

IndividualDone-for-you in use

Unmasking hidden gut triggers with structured data capture

How a structured pipeline unmasked an overlooked additive in an architect’s diet.

A 36-year-old software architect, Northern Europe

Tools used

The real tools used here — swap any for your own equivalent. Each links to how we’d set it up.

4 min readWellness & AI editorial
1

Before anything was set up

Three years of unexplained postprandial distress had reduced his diet to white rice, poached chicken, and water. His phone held 412 unstructured Apple Notes: disjointed paragraphs listing spices, stress levels, and fragmented bowel notes. Whenever discomfort spiked, he eliminated another food group based on whatever he ate two hours prior. He was socially isolated, chronically under-nourished, and exhausted by the cognitive load of policing every ingredient.

Apple Notes
  • Oct 12: oats + almond milk. Stomach cramped at 3pm? Maybe dairy cross-contam?
  • Oct 15: strictly carnivore today. Still bloated by evening. Why??
  • Nov 02: Cut onions and garlic again. Feeling exhausted.
  • Nov 14: Sourdough toast. Felt fine initially, distended by 9pm.
2

Done-for-you, doing its job

We took his historical notes, structured them into a standardized database, and set up a 15-second daily mobile capture form. Instead of assuming immediate cause-and-effect, the analysis prompt instructed the model to evaluate delayed digestive transit windows between 12 and 28 hours. Within thirty seconds, the model isolated a non-obvious industrial prebiotic additive present across three separate 'clean' packaged foods he relied on while eliminating staples.

Claude

Prompt

Here is my normalized food and symptom log for the last 30 days. Identify any ingredient clusters that correlate with evening distension, accounting for an 18 to 24-hour digestive transit lag.

Here is my normalized food and symptom log for the last 30 days. Identify any ingredient clusters that correlate with evening distension, accounting for an 18 to 24-hour digestive transit lag.

AI

Analyzing across 90 meals with a 12–26 hour lag window. Dairy and wheat show no statistical correlation (p > 0.45). However, 7 of 8 severe distension episodes occurred 18 to 22 hours after consuming chicory root fibre (inulin), present exclusively in your afternoon protein bars.
3

The finished system, running on its own

The handoff is clean. A custom Google Form on his phone screen feeds a structured Google Sheet. Once a week, an automated Apps Script runs a correlation prompt against Claude. He has reintroduced sourdough, aged parmesan, and stone fruit without incident. He buys ordinary groceries again, simply scanning ingredient decks for inulin and chicory extract. The constant cognitive burden of guessing what caused yesterday’s discomfort has dissolved into a quiet, 15-second routine.

Google Sheets

0

Weekly flare days

Inulin / chicory

Identified trigger additive

15 sec

Logging time per meal

4 of 5

Excluded food categories restored

15 seconds

Daily logging duration

0 in 30 days

Unexplained bloating episodes

Google FormsFrictionless daily logging

One-tap mobile shortcut with four predefined fields prevents tracking fatigue.

Google SheetsNormalized data repository

Stores timestamps, ingredients, and transit markers in an open, un-siloed table.

ClaudeLagged pattern synthesis

Processes long-context multi-week tables to calculate multi-hour delayed correlations.

These are the tools used in this story. Any can be swapped for an equivalent you already trust.

Build your own gut log system

This story runs on Done-for-you. The tools and prompts above are the real build — swap any tool for your own equivalent and follow the same steps.

Suggested for you

Based on what you've been reading — always learning.

See all →