Automated Employee Offboarding: Lock Redmine & GitLab Accounts using Odoo 18

Go to Workflow
0 views
Built by BHSoft BHSoft
Created on December 19, 2025

Description

πŸ“Œ Who is This For?
IT Ops, HR, and Security teams automating employee offboarding. Zero manual work: Disable access to Redmine, GitLab, and more- right after their last day. Boost security, cut risks, and stay compliant.

πŸ“Œ The Problem It Solves
Offboarding is messy and slow:

HR flags ending contracts.
IT hunts down accounts manually (Redmine, GitLab, etc.).
Misses happen, risks linger.

This n8n workflow queries Odoo 18 daily, spots offboardees, and locks accounts automatically.

πŸ“Œ What It Does

Triggers** daily (e.g., 5 PM weekdays).
Queries** Odoo 18 for employees ending today.
Filters** active users needing offboarding.
Checks & Locks** Redmine accounts via API.
Checks & Revokes** GitLab access via API.
Notifies** via Slack/Teams/email with summary.
Handles Errors**: Retries failures, logs issues.

πŸ“Œ Quick setup

Odoo 18 API (read employee end dates/last shifts).
Redmine Admin API key.
GitLab Admin token (for locking users).
Slack/Teams webhook or SMTP for alerts.
Cron schedule (e.g., daily 5 PM weekdays, skip weekends).

πŸ“Œ Customize It

Add Systems**: Jira, Confluence, LDAPβ€”easy toggles.
Notification**: Full reports or alerts-only.
Error Rules**: Retries, escalations.
Audit Logs**: Save to DB, S3, Sheets, or dashboard.

πŸ“Œ Results

100% automated: Accounts locked on exit day. No orphans, no workload, full compliance.

πŸ“Œ Workflow in Action

Schedule trigger fires.
Pull Odoo offboardees.
API checks & disables Redmine/GitLab.
Logs + summary notification.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest