Orchestrate HR onboarding and offboarding with Postgres, Slack, Google Workspace, Jira and Notion
Ready for 3.0What this workflow does
This workflow has 25 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack, Postgres, Google Sheets and Jira Software and 2 more. It also calls admin.googleapis.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- HR Config (Edit Fields (Set)): sets 7 fields: peopleOpsChannelId, securityChannelId, defaultLaptop…
- Build Offboarding Checklist (Code): runs custom JavaScript code
- Validate New Hire Payload (Code): runs custom JavaScript code
- Disable Workspace Account (API) (HTTP Request): calls an HTTP API (PUT)
- Payload Valid? (If): checks a condition and branches into true / false
- Slack: uses Slack
- Create Onboarding Case (Postgres): run a query
- Slack: uses Slack
- Close Case (Postgres) (Postgres): run a query
- Slack: uses Slack
…plus 13 more steps. See the full node list below.
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Google Sheets + Slack templates (1,314) · Other Gmail + Slack templates (957)
HTTP calls to: admin.googleapis.com
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 (12)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Postgres
n8n-nodes-base.postgres - Google Sheets
n8n-nodes-base.googleSheets - Jira Software
n8n-nodes-base.jira - Wait
n8n-nodes-base.wait - HTTP Request
n8n-nodes-base.httpRequest - Notion
n8n-nodes-base.notion - Gmail
n8n-nodes-base.gmail
From the author
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…