Templates / Generate employee numbers and ID cards with Google Sheets and Gmail

Generate employee numbers and ID cards with Google Sheets and Gmail

Ready for 3.0

by Khairul Muhtadin ✓ · 10 views · created 2026-08-12 · HR

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 workflow has 40 nodes and runs when another workflow calls it. Along the way it connects Google Sheets and Gmail.

How it runs

Trigger: When another workflow calls it.

  1. Find Employee in Sheets (Google Sheets): uses Google Sheets
  2. Check Employee Number Present (If): checks a condition and branches into true / false
  3. Merge: merges the data from its input branches
  4. Check Employee Photo Available (If): checks a condition and branches into true / false
  5. Generate Employee Number (Edit Fields (Set)): sets 3 fields: employee_id_saved, employee_no, updated_at
  6. Generate ID Card Verification Token (Crypto): hashes or encrypts values
  7. Find Existing ID Card in Sheets (Google Sheets): uses Google Sheets
  8. Update Waiting Photo Status (Google Sheets): append
  9. Check ID Number Collision in Sheets (Google Sheets): uses Google Sheets
  10. Merge: merges the data from its input branches

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

Services it uses

Google SheetsGmail

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

From the author

New hire, new ID card, zero paperwork chaos. Called with an employee ID, this workflow looks up the employee in Google Sheets, assigns a unique employee number, renders a PDF ID card, and routes it to printing, a GA task, or digital activation. Every step…

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