Templates / Compare personal grocery inflation to US CPI with Gemini and Telegram

Compare personal grocery inflation to US CPI with Gemini and Telegram

Ready for 3.0

by Alicia Graham ✓ · 0 views · created 2026-10-06 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 29 nodes and runs when someone submits an n8n form (“Your Inflation Isn't Their Inflation”) (plus 1 other trigger). Along the way it connects Telegram, Google Gemini Chat Model and Data table. It also calls api.bls.gov over HTTP.

How it runs

Trigger: When someone submits an n8n form (“Your Inflation Isn't Their Inflation”) (plus 1 other trigger).

  1. Settings (Edit Fields (Set)): sets 8 fields: official_source, official_series_id, official_label…
  2. Create receipt lines table (Data table): create (table)
  3. Load saved lines (Data table): get (row)
  4. Gather receipts (Code): runs custom JavaScript code
  5. What came in? (Switch): routes items into 4 branches
  6. Read receipt photo (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini (reads & matches); output parser: Receipt format
  7. Find lines to match (Code): runs custom JavaScript code
  8. Fetch official index (HTTP Request): calls api.bls.gov (POST)
  9. Build report (Code): runs custom JavaScript code
  10. Anything new to match? (Switch): routes items into 3 branches

…plus 11 more steps. See the full node list below.

Services it uses

TelegramGoogle Gemini Chat ModelData table

HTTP calls to: api.bls.gov

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (15)

From the author

Quick overview This workflow accepts grocery receipt photos via an n8n form or Telegram, uses Google Gemini to extract and normalize line items, calculates a personal month-to-month inflation rate, pulls the matching official CPI series from the US BLS API,…

Excerpt from Alicia Graham'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.