Generate employee numbers and ID cards with Google Sheets and Gmail
Ready for 3.0What 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.
- Find Employee in Sheets (Google Sheets): uses Google Sheets
- Check Employee Number Present (If): checks a condition and branches into true / false
- Merge: merges the data from its input branches
- Check Employee Photo Available (If): checks a condition and branches into true / false
- Generate Employee Number (Edit Fields (Set)): sets 3 fields: employee_id_saved, employee_no, updated_at
- Generate ID Card Verification Token (Crypto): hashes or encrypts values
- Find Existing ID Card in Sheets (Google Sheets): uses Google Sheets
- Update Waiting Photo Status (Google Sheets): append
- Check ID Number Collision in Sheets (Google Sheets): uses Google Sheets
- Merge: merges the data from its input branches
…plus 28 more steps. See the full node list below.
Services it uses
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)
- Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Crypto
n8n-nodes-base.crypto - HTTP Request
n8n-nodes-base.httpRequest - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - No Operation, do nothing
n8n-nodes-base.noOp - Stop and Error
n8n-nodes-base.stopAndError
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…