Перейти к содержанию
НОВОЕПознакомьтесь с Alaaddin — вашим ИИ-джинном с голосом. trig8n запускается 1 января 2027. Что нового

Библиотека / Формы и опросы

Формы и опросы

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.

Что делает

### 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.

Шаги

  1. Google Gemini Chat Model
  2. Driver submits test result
  3. Normalize submission
  4. Save test record
  5. Check at end of each day
  6. Configure check rules
  7. Get today's roster
  8. Get submitted records
  9. Find drivers with no record
  10. Anyone missing?
  11. Write reminder and summary
  12. Email driver about missing test
  13. Notify fleet manager
  14. Confirm all checks completed

Всего шагов: 18.

Похожие автоматизации