Templates / Detect missing alcohol test records with Gemini, Gmail, Slack and Google Sheets

Detect missing alcohol test records with Gemini, Gmail, Slack and Google Sheets

Ready for 3.0

by sho oda ✓ · 0 views · created 2026-09-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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 18 nodes and runs when someone submits an n8n form (“Alcohol Test Record”) (plus 1 other trigger). Along the way it connects Google Gemini Chat Model, Google Sheets, Gmail and Slack.

How it runs

Trigger: When someone submits an n8n form (“Alcohol Test Record”) (plus 1 other trigger).

  1. Normalize submission (Edit Fields (Set)): sets 9 fields: recordId, driverId, shiftDate…
  2. Configure check rules (Edit Fields (Set)): sets 3 fields: spreadsheetId, checkDate, managerSlackChannel
  3. Save test record (Google Sheets): append
  4. Get today's roster (Google Sheets): uses Google Sheets
  5. Get submitted records (Google Sheets): uses Google Sheets
  6. Find drivers with no record (Merge): merges the data from its input branches
  7. Summarise missing checks (Code): runs custom JavaScript code
  8. Anyone missing? (If): checks a condition and branches into true / false
  9. Split into individual drivers (Split Out): splits a list into separate items
  10. Confirm all checks completed (Slack): uses Slack

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

Services it uses

Google Gemini Chat ModelGoogle SheetsGmailSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (12)

From the author

Quick overview This workflow collects driver alcohol test submissions via an n8n form and stores them in Google Sheets, then runs a daily check against a roster to find missing records and uses Google Gemini to draft Japanese reminders that are sent via Gmail…

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