Templates / Investigate fuel tank variances with Google Sheets, Gemini, and Slack

Investigate fuel tank variances with Google Sheets, Gemini, and Slack

Ready for 3.0

by iamvaar ✓ · 1 views · created 2026-10-05 · 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 20 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Google Sheets, Google Gemini Chat Model and Slack.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate Webhook Data (Code): runs custom JavaScript code
  2. Read Tank Data from Sheets (Google Sheets): uses Google Sheets
  3. Fetch Tank Readings Sheets (Google Sheets): uses Google Sheets
  4. Retrieve Nozzle Sales Data (Google Sheets): uses Google Sheets
  5. Extract Delivery Records (Google Sheets): uses Google Sheets
  6. Load Audit History Sheets (Google Sheets): uses Google Sheets
  7. Compute Stock Variance (Code): runs custom JavaScript code
  8. Check for AI Analysis Need (If): checks a condition and branches into true / false
  9. AI Anomaly Detection (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Model Analysis
  10. Apply Manual Defaults (Code): runs custom JavaScript code

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

Services it uses

Google SheetsGoogle Gemini Chat ModelSlack

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 (9)

From the author

Quick overview Youtube Video: https://youtu.be/XHT46n4b1lg This workflow receives a shift-close webhook and reconciles fuel tank wet-stock in Google Sheets, optionally using Google Gemini to explain anomalies, then logs results back to Google Sheets and posts…

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