HR onboarding
Onboarding documents go from a form to an organized Drive folder without manual work.
Try the automationrun twice = same resultno duplicate folders or shortcuts
The story
New hires submit their documents through a form. HR used to organize those files in Drive one by one.
The automation creates an organized folder for each submission and writes the result back to the spreadsheet. Creating a folder is easy. The careful part is handling a repeat run, an interruption, or two runs starting at once.
Each onboarding record has a stable identifier. The automation reuses an existing folder, creates a missing one and stops for review if it finds two.
Each onboarding submission has one folder.
Run twice and watch the folder. The browser simulation uses synthetic data.
The first run creates the folder and shortcuts.
Simulated Drive
- HR demo /
- (no folder yet)
Spreadsheet
- Record
- DEMO-001
- Documents
- A, B and C
- Status
- —
Try other scenarios
Run log
Under the hoodconstraints, steps and details
What could go wrong
- A repeat run creates another folder or shortcut.
- An interruption leaves an unrecoverable state, since Drive operations are not transactional.
- Two runs modify the same row at once.
- An unfiltered error leaks sensitive data into the spreadsheet.
- Original documents are moved.
The workflow
- Form: the new hire submits documents.
- Spreadsheet: the response becomes a row.
- Validate headers, IDs, links and formulas.
- Acquire the lock so only one run proceeds.
- Find or create the folder without duplicating it.
- Create only missing shortcuts.
- Write the folder, date and status back to the spreadsheet.
The folder holds shortcuts so each original stays where it is. The real automation starts in dry-run mode. This demo simulates the Drive folder in your browser.