Orchestrate HR onboarding and offboarding with Postgres, Slack, Google Workspace, Jira and Notion

Go to Workflow
0 views
Built by Shiva Shiva
Created on October 18, 2026

Description

Quick overview
This workflow orchestrates HR onboarding and offboarding by receiving HRIS webhook events, logging cases in Postgres and Google Sheets, notifying teams in Slack, creating an IT task in Jira, provisioning/suspending Google Workspace accounts via the Admin API, creating a Notion onboarding page, and collecting manager approval via Gmail.

How it works
Receives a new-hire event from your HRIS via a webhook and validates the payload while generating a department-specific onboarding checklist and work email address.
If the payload is invalid, posts an alert to a Slack People Ops channel and stops.
If the payload is valid, creates or updates an onboarding case in Postgres, notifies People Ops in Slack, logs the case to a Google Sheets tracker, and creates a Jira IT provisioning task.
Waits until the configured lead time before the employee’s start date, then provisions the user by creating a Google Workspace account via the Google Admin Directory API and creating a Notion onboarding page.
Emails the manager an approval message in Gmail with approve/reject links that resume the workflow, then updates the Postgres case status based on the manager’s decision.
If approved, sends the new hire a welcome email with the day-1 checklist and posts an “onboarding ready” confirmation to Slack; if rejected, posts a rejection notice to Slack.
Receives a termination event from your HRIS via a webhook, builds an offboarding checklist, suspends the user via the Google Admin Directory API, alerts a Slack Security channel, and closes the case in Postgres.

Setup
Create and configure the two HRIS webhooks to POST to this workflow’s “new hire” and “termination” webhook URLs with the required payload fields.
Add Postgres credentials and ensure an hr.cases table exists with a unique constraint on (employee_id, start_date) and fields used by the insert/update queries.
Add Slack credentials and set the People Ops and Security channel IDs (and optionally your Slack workspace domain) in the HR Config values.
Add Google Sheets credentials and update the spreadsheet ID and sheet name used for the onboarding tracker.
Add Jira credentials and set the target project key/issue type for the IT provisioning task.
Configure the Google Workspace Admin Directory API HTTP credentials (header auth) and Notion + Gmail credentials, then update the Notion database ID and email sender/recipient settings as needed.

This workflow was created by Shiva and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (8)

Code
n8n-nodes-base.code
Gmail
n8n-nodes-base.gmail
Google Sheets
n8n-nodes-base.googleSheets
HTTP Request
n8n-nodes-base.httpRequest
Jira Software
n8n-nodes-base.jira
Notion
n8n-nodes-base.notion
Postgres
n8n-nodes-base.postgres
Slack
n8n-nodes-base.slack