Skip to main content

Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion

Workflow preview

Workflow preview
100%
Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion preview
Open on n8n.io

1. Workflow Overview

Quick Overview This workflow receives an HR offboarding webhook, validates and enriches the employee record, suspends the user in Google Workspace, deactivates the user in Slack, looks up the match...

Best for

  • HR automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.webhook, n8n-nodes-base.code, n8n-nodes-base.if, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.hubspot, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Avkash Kakdiya.

Original n8n.io source

1.1 Workflow description

Title
Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion
Workflow name
Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion

Quick Overview

This workflow receives an HR offboarding webhook, validates and enriches the employee record, suspends the user in Google Workspace, deactivates the user in Slack, looks up the matching HubSpot contact, logs the event to Notion and Google Sheets, and notifies HR/IT via Gmail and Slack.

How it works

  1. Receives a POST webhook from the HR system with employee offboarding details.
  2. Parses the payload to normalize key fields (name, email, department, manager, last day) and flags invalid requests.
  3. Posts an alert to a Slack IT channel when the record is invalid and stops further processing.
  4. Enriches valid records with an offboarding ID, risk level, revocation deadline, and an actions summary.
  5. Suspends the employee in Google Workspace via the Admin Directory API, deactivates the user in Slack via the Slack API, searches for the contact in HubSpot, and creates an offboarding entry in a Notion database.
  6. Combines the revocation results and appends a compliance log row to a Google Sheets “Offboarding Log” tracker.
  7. Emails an offboarding completion summary to the manager and HR using Gmail and posts a completion digest to the Slack IT channel.

Setup

  1. Copy the n8n webhook URL from the HR offboarding webhook trigger and configure your HR system to POST the offboarding payload to it.
  2. Provide credentials/tokens for the Google Admin Directory API and Slack API (both used via HTTP requests) and replace the placeholder Bearer tokens in the request headers.
  3. Add a HubSpot App Token credential with access to search contacts.
  4. Create a Notion database for offboarding logs, add a Notion API integration, and set the Notion database ID and API key in the Notion request.
  5. Add Google Sheets OAuth credentials, set your Google Sheet ID, and ensure the “Offboarding Log” sheet contains the columns mapped in the append step.
  6. Add a Gmail connection for sending summary emails and set the target Slack channel ID for the invalid-record alert and IT ops digest messages.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Overview Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Section Note 1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Section Note 2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Section Note 3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - HR Offboarding Webhook

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2

Block 6 - Parse Employee Payload

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Valid Offboarding Record

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 8 - Enrich Offboarding Record

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Suspend Google Workspace Account

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 10 - Deactivate Slack User

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 11 - Find HubSpot Contact

Type / Role
n8n-nodes-base.hubspot - hubspot
Config choices
Version 2

Block 12 - Log to Notion Offboarding DB

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 13 - Merge Revocation Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3

Block 14 - Log to Compliance Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 15 - Send Offboarding Summary Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 16 - Slack IT Ops Digest

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

Block 17 - Alert Invalid Record

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.2

3. Summary Table

Workflow Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion
Complexity advanced
Nodes 17
Categories HR
Author Avkash Kakdiya
Published 16 Jun 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/16403/16403.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Manage employee offboarding with Google Workspace, Slack, HubSpot and Notion do?

Quick Overview This workflow receives an HR offboarding webhook, validates and enriches the employee record, suspends the user in Google Workspace, deactivates the user in Slack, looks up the match...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your HR use case.