Employee offboarding
One resignation or termination form submission looks up the employee in BambooHR, logs the separation in a table, and notifies payroll, IT, accounting, total rewards and tax in Slack.
Install it
Set up this Zap for me, read how here: https://zapier.sh/zapier/awesome-zaps/notify-slack-on-employee-offboarding-from-google-forms/
Paste into Claude, ChatGPT, Cursor or any agent.
- Category
- Human Resources (HR) · HR operations
- Author
- Zapier
- Source
- zapier/awesome-zaps, folder zaps/notify-slack-on-employee-offboarding-from-google-forms
Set it up with the CLI
- Add it. Copies the folder into
zaps/notify-slack-on-employee-offboarding-from-google-forms/. Outside a project, it makes one first.npx zap-pack add awesome-zaps/notify-slack-on-employee-offboarding-from-google-forms - 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 notify-slack-on-employee-offboarding-from-google-forms - Check it. Its recent runs, with status and errors.
npx zap-pack logs notify-slack-on-employee-offboarding-from-google-forms
zaps/notify-slack-on-employee-offboarding-from-google-forms/
- 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 16 to fill in
- connections/bamboohr.tsThe
bamboohraccount it uses - connections/google-forms.tsThe
google-formsaccount it uses - connections/slack.tsThe
slackaccount it uses - connections/zapier-tables.tsThe
zapier-tablesaccount it uses - lib/notifications.tsCode
workflow.tsimports - lib/tenure.tsCode
workflow.tsimports - triggers/new-form-response.tsWhat starts it:
google-formsnew_form_response1 to fill in - 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 new response to the resignations and terminations form (
google-forms,new_form_response). - BambooHR finds the employee by company email to fill in department, location, hire date, employee number and ID.
- Zapier Tables adds one row to the terminations table with the answers from the form.
- Workflow works out tenure in years from hire date to last day, truncated to one decimal, and picks the notice set for a voluntary or involuntary termination.
- Slack posts each team's notice: payroll, IT, accounting and total rewards go to private channels, and tax goes to a public channel. Payroll's notice mentions the employee's People Business Partner.
Each form submission produces one set of notices. The Zap doesn't change anything in BambooHR, and it doesn't send email or grant or remove access.
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 | Where | What goes there |
|---|---|---|
formId |
triggers/new-form-response.ts, and FORM_ID in config.ts |
The resignations and terminations form: look up its ID (the long ID in its URL) with the user's Google Forms connection |
TERMINATIONS_TABLE_ID |
config.ts |
The Zapier Table that holds terminations: look up its ID with the user's Zapier Tables connection |
COL_FULL_NAME, COL_LAST_DAY, COL_COMPANY_EMAIL, COL_PERSONAL_EMAIL, COL_TERM_TYPE, COL_JOB_LEVEL, COL_REASON, COL_REHIRE |
config.ts |
The key of each matching column in that table, read from the table's own column list; ask the user to create the table with these columns first if it lacks them |
PAYROLL_CHANNEL_ID, IT_CHANNEL_ID, ACCOUNTING_CHANNEL_ID, TOTAL_REWARDS_CHANNEL_ID |
config.ts |
The private Slack channel each team reads: look up each ID (G… or C…) with the user's Slack connection |
TAX_CHANNEL_ID |
config.ts |
The public Slack channel tax reads: look up its ID (C…) with the user's Slack connection |
PBP_SLACK_USER_ID |
config.ts |
The Slack user of the People Business Partner who is mentioned in payroll notices: look up their user ID (U…) with the user's Slack connection |
Use one answer for each setting, even where it appears in two files, so the trigger and config.ts can't disagree.
Build it
If you can run shell commands, set it up with zap-pack: run npx zap-pack add awesome-zaps/notify-slack-on-employee-offboarding-from-google-forms, replace each REPLACE_… value as this file says, then run npx zap-pack deploy notify-slack-on-employee-offboarding-from-google-forms, 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-formsto the connection for the account that owns the form,bamboohrto the company BambooHR connection,zapier-tablesto the account that owns the terminations table, andslackto the workspace with the team channels. Each is described inconnections/. - Source: publish
workflow.ts,config.ts,lib/tenure.tsandlib/notifications.ts, with eachREPLACE_…replaced by the user's answer.triggers/new-form-response.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 whosekeyisnew_form_response, 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 the Google Forms trigger's fields, the BambooHR
employeeSearchaction's fields, the Zapier Tablescreate_recordaction's fields, and the Slackchannel_messageandprivate_channel_messageactions' fields with the user's connections before the first run. Fix any key inworkflow.tsthat doesn't match, especially the form question IDs and the table column keys.
Test it
Run this sample as a draft test (run_workflow_draft in Zapier MCP) only after the user agrees to name the test accounts and channels. Use a test channel the user owns and a test table row the user deletes afterward:
{
"createTime": "2026-01-15T09:00:00Z",
"65986356": "test.employee@example.com",
"6f464119": "Test Employee",
"35d27a95": "2026-02-15",
"5a79443a": "test.personal@example.com",
"57c8e978": "3",
"42c34030": "Voluntary",
"35cda77c": "No",
"29a30e0d": "Relocating",
"1fb110a1": "Yes"
}
Confirm that one row appears in the terminations table, and that each of the five Slack notices arrives in its channel with the employee's name, last day and tenure. If run-status tools aren't available, check the table and the channels directly. The user removes the test row and test messages, not the agent.
Notes
- Tenure is computed from hire date to last day, truncated to one decimal (3.96 years reads as 3.9), so a notice never overstates how long someone stayed.
- The involuntary path adds an access removal date, severance expectation and notice weeks from the form. The voluntary path leaves them out.
- Not included, because they need their own tables or a second form: separation agreement drafting and signing, severance payment tracking, exit survey pre-population, the farewell post flow, offboarding guide reminders and BambooHR uploads. The Zap covers the one submission that starts offboarding and the notices that follow from it.
- Notices copy the form's answers and BambooHR data into Slack channels. Give the channels only to people who should see personal details such as personal email addresses.
- Never commit a real form ID, table ID, channel ID, Slack user ID or any employee's details.