Templates / Plan and approve standby staffing recovery with Gemini, Google Sheets, and Gmail

Plan and approve standby staffing recovery with Gemini, Google Sheets, and Gmail

Ready for 3.0

by kitayama · 0 views · created 2026-11-02 · HR, AI RAG

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 29 nodes and runs on a schedule (every day at 18:00). Along the way it connects Google Sheets, Gmail and Google Gemini.

How it runs

Trigger: On a schedule (every day at 18:00).

  1. Configure workflow settings (Edit Fields (Set)): sets 8 fields: spreadsheet_id, units_per_person_per_hour, workload_sheet_name…
  2. Read daily workload (Google Sheets): uses Google Sheets
  3. Read staff schedules (Google Sheets): uses Google Sheets
  4. Read standby staff availability (Google Sheets): uses Google Sheets
  5. Calculate daily staffing gaps (Code): runs custom JavaScript code
  6. Is staffing shortage detected? (If): checks a condition and branches into true / false
  7. Generate staffing recovery proposal (Google Gemini): uses Google Gemini
  8. Is staffing data complete? (If): checks a condition and branches into true / false
  9. Validate AI staffing proposal (Code): runs custom JavaScript code
  10. Notify manager of missing staffing data (Gmail): uses Gmail

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

Services it uses

Google SheetsGmailGoogle Gemini

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

From the author

Quick Overview This workflow runs daily to detect next-day staffing shortages from Google Sheets, generates a standby staffing proposal with Google Gemini, requests manager approval via Gmail, and—only after approval—emails invitations to selected standby…

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