Add new hire rows to onboarding spreadsheet
When a candidate is hired in Ashby, a row with their start date, title, contact email and hiring manager lands in your onboarding spreadsheet, so People Ops, payroll and facilities all start from the same details.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/add-new-hire-rows-to-onboarding-spreadsheet/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Human Resources (HR) · HR operations
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/add-new-hire-rows-to-onboarding-spreadsheet
Set it up with the CLI
- Add it. Copies the folder into
zaps/add-new-hire-rows-to-onboarding-spreadsheet/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/add-new-hire-rows-to-onboarding-spreadsheet - Fill in the values in
config.ts, and in any other file the list marks. Replace each one as its comment and SKILL.md say. - Deploy it. Asks for any value still left, signs you in to Zapier if you aren't, then publishes it to your account.
npx zap-pack deploy add-new-hire-rows-to-onboarding-spreadsheet - Check it. Its recent runs, with status and errors.
npx zap-pack logs add-new-hire-rows-to-onboarding-spreadsheet
zaps/add-new-hire-rows-to-onboarding-spreadsheet/
- README.mdWhat it does, for people
- SKILL.mdHow an agent sets it up: what to ask you, and how to test it
- config.tsIts settings 1 to fill in
- connections/ashby.tsThe
ashbyaccount it uses - connections/google-sheets.tsThe
google-sheetsaccount it uses - triggers/candidate-hired.tsWhat starts it:
ashbycandidate_hired - workflow.tsThe code; each
ctx.stepis a step in the Zap
Agents: add --yes to any command so it never prompts. When it needs an answer only the user can give, it stops and names the flag that supplies it.
SKILL.md
View MarkdownWhat it does
- Trigger: a candidate is marked hired in Ashby (
ashby,candidate_hired). The event carries the application (candidate, job, hiring team) and the most recent accepted offer. - The workflow picks the hiring manager: the hiring team member with the
Hiring Managerrole, or the first team member if nobody has that role. - Google Sheets adds one row to the onboarding worksheet with the offer's start date, the job title, the new hire's name and primary email, and the manager's name and email. Every hire gets a new row.
The Zap only writes to the sheet. It does not change anything in Ashby.
Ask the user
Each REPLACE_… value is set per person. Resolve names to IDs with the user's own connections; don't ask them to paste an ID you can look up.
| Setting | What goes there |
|---|---|
SPREADSHEET_ID |
The onboarding tracker sheet. Ask which sheet it is, then look up its ID with the user's Google Sheets connection. |
Also review the defaults with them:
WORKSHEET_ID: the tab, where"0"is the first tab. The tab needs a header row.START_DATE_COLUMNthroughMANAGER_EMAIL_COLUMN: column keys such asCOL$A, not header names. Ask which columns hold the start date, title, name, contact email, manager name and manager email, and map them to their column letters.HIRING_MANAGER_ROLE: the Ashby hiring team role treated as the manager,"Hiring Manager"by default. Ask whether their hiring managers carry that label or another role.
Ask which Ashby connection the trigger should use. Its API key must be allowed to read offers, or the start date comes through blank.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/add-new-hire-rows-to-onboarding-spreadsheet, replace each REPLACE_… value as this file says, then run npx zap-pack deploy add-new-hire-rows-to-onboarding-spreadsheet, which signs the user in to Zapier when it gets there. Otherwise build with Zapier MCP, as the steps below say. No Zapier MCP tools? Read https://docs.zapier.com/mcp/get-started/quickstart.md and follow the page for the app you are running in to get the user connected, then continue with this build.
- Accounts: bind
google-sheets(the account that owns the onboarding sheet) andashby(the trigger's account, an API key that can read candidates, jobs and offers) to the user's connections. No other app needs a connection. - Source: publish
workflow.tsandconfig.ts, with eachREPLACE_…replaced by the user's answer.triggers/candidate-hired.tsandconnections/are settings, not code: set the workflow's trigger and connection bindings from them. The trigger file names the app by its slug; for the trigger'sselected_api, callsearch_triggerswith that slug, find the row whosekeyis the trigger'sevent, and use<app_key>@<app_version>from it. - Build guide: load Zapier's build guide with
get_zapier_skill("zapier:build-workflows")and follow it to create, test and publish the workflow. - Fields: inspect each action's fields with the user's connections and sample the trigger before the first test run, and fix any key in
workflow.tsthat doesn't match.
Test it
Run this sample as a draft test run (run_workflow_draft in Zapier MCP) before publishing, pointed at a copy of the onboarding sheet:
{
"action": "candidateHire",
"data": {
"application": {
"id": "app-1001",
"candidate": {
"id": "cand-1001",
"name": "Jordan Rivera",
"primaryEmailAddress": { "value": "jordan.rivera@example.com" }
},
"job": { "title": "People Operations Specialist" },
"hiringTeam": [
{
"email": "sam.lee@example.com",
"firstName": "Sam",
"lastName": "Lee",
"role": "Recruiter"
},
{
"email": "alex.kim@example.com",
"firstName": "Alex",
"lastName": "Kim",
"role": "Hiring Manager"
}
]
},
"offer": { "latestVersion": { "startDate": "2026-12-01" } }
}
}
Confirm one new row appears with 2026-12-01, People Operations Specialist, Jordan Rivera, jordan.rivera@example.com, Alex Kim and alex.kim@example.com in the mapped columns. Alex is chosen over Sam because of the role. If run-status tools aren't available, check the result in Google Sheets directly. Ask the user to delete the test row; the agent doesn't delete it.
Then publish and confirm the trigger is active.
Notes
- If the hire has no accepted offer in Ashby, the start date cell is left blank. Re-marking the same application as hired can add a second row for it.
- To write rows only for some hires, add a filter on an offer custom field. To alert payroll or facilities, add a Slack message or email after the row is created.
- The sheet holds new hires' names and emails. Share it only with the people who need onboarding details, and don't commit a real spreadsheet ID to a repository.