Forms & Surveys
Detect missing alcohol test records with Gemini, Gmail, Slack and Google Sheets
When a form is submitted, it processes form answers with Google Gemini using Gmail, Google Sheets, Slack.
What it does
### How it works Companies in Japan that operate vehicles for business must test every driver for alcohol before and after each shift, and keep the records for a year. Missing even one entry is a compliance failure, so someone checks the list by hand every evening. This workflow has two entry points on purpose. Drivers submit their result through a form at any time, and a scheduled run in the evening compares the day's submissions against who was rostered. Anyone with no record gets a polite reminder, the manager gets a one-line summary, and the gap is logged. The match key combines driver, date and shift, so a driver who tested before the shift but not after is still caught. The workflow only detects missing records — it never judges the measured value and never implies wrongdoing. ### Setup steps 1. Add your Google Sheets, Gemini, Gmail and Slack credentials. 2. Copy the sample spreadsheet, then paste its ID into "Configure check rules" and "Save test record". Set the roster dates to today so the first run has something to find. Keep the header rows unchanged, as the Sheets nodes map fields by column name. 3. Set the workflow timezone to your local zone, since the match key is built from the submission date. 4. Share the form URL with your drivers. 5. Run once manually, then activate.
The steps
- Google Gemini Chat Model
- Driver submits test result
- Normalize submission
- Save test record
- Check at end of each day
- Configure check rules
- Get today's roster
- Get submitted records
- Find drivers with no record
- Anyone missing?
- Write reminder and summary
- Email driver about missing test
- Notify fleet manager
- Confirm all checks completed
18 steps in total.
Similar automations
Email AutomationDetect at-risk gym clients with Supabase, Gemini, Slack, Gmail, and Sheets17 stepsContent Writing & GenerationFill missing Wix SEO titles and meta descriptions in Wix with Gemini18 stepsFinance, Invoices & AccountingDetect duplicate payment charges in Gmail with Gemini, Google Sheets and Slack18 stepsFinance, Invoices & AccountingDetect revenue leakage and send Gemini recovery emails via Gmail and Slack17 steps