The moment it happens
Get an email when someone leaves
You hear as soon as an employee is marked as leaving in HiBob, so access and equipment can be sorted.
- Runs
- The moment it happens
- Apps
- HiBob
- AI
- Not needed
- Access
- people read
Send this to your assistant
Create a ClickRuntime automation: email me when an employee leaves in HiBob, with their name, department and last day.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
When someone leaves a company, a dozen small tasks depend on a fast, accurate signal. Their laptop needs to be collected, access to the code repository and the CRM revoked, their shared mailbox forwarded, their open deals reassigned. In a growing company that signal is a Slack message from HR, or worse, nothing, and an account stays active for weeks after the last day. That is a security risk and an expense, since every unused seat is billed. That gap is easy to miss until an audit finds it.
As soon as HiBob records a termination, an email is sent with who is leaving and the date. IT, security, finance and the manager can start their off-boarding steps the same hour.
It is built for HR, IT and security teams who need an early, reliable trigger for off-boarding.
What you get out of it
Access is removed on time
Revoking accounts promptly closes a window where a former employee could still log in. That protects customer data and meets audit expectations. Prompt revocation also gives you a defensible answer when a customer or auditor asks how quickly access is removed.
Software seats stop being billed
Each unused seat in Slack, GitHub or Figma costs money every month. Early notice lets IT release them before the next billing cycle. Over a year those savings are real, especially in a team with high turnover or many contractors.
Handovers happen while people are still reachable
A manager who learns about a departure early can arrange knowledge transfer, reassign accounts and collect passwords while the person is still around. The earlier a manager knows, the more of the departing person's knowledge can be documented and passed on.
Equipment is recovered
Returning a laptop is far easier if IT knows the leaving date in advance and can arrange a courier or an in-person handback. Planning collection early avoids chasing equipment through the mail after the person has already left.
A consistent off-boarding record
Each email is a dated record of when the company learned about the departure, which is useful if a process is audited or disputed later. HR can show a regulator or an auditor exactly when IT and security were told about each departure.
How it works
What happens, step by step
When an employee is marked as leaving in HiBob, HiBob tells ClickRuntime straight away.
You get an email with their name, department and last day, so access and equipment can be sorted.
Each leaver is emailed once, when HiBob first marks them as leaving.
Before it runs live
- Connect HiBob
- Paste your automation's link into the other app's webhook settings
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Act only on the items that match your own rules, and skip the rest
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other HiBob steps into one automation
Under the hood
The code that runs this automation
from clickruntime import on_event, credentials, http, notify
def bob(path):
resp = http.get(f"https://api.hibob.com/v1/{path}", headers={"Accept": "application/json"},
auth=(credentials.secret("HIBOB_SERVICE_USER_ID"), credentials.secret("HIBOB_SERVICE_USER_TOKEN")))
resp.raise_for_status()
return resp.json()
@on_event
def handle(event):
payload = event.json or {}
if payload.get("type") != "employee.left":
return {"sent": False}
p = bob(f"people/{payload['employee']['id']}")
last_day = p.get("internal", {}).get("terminationDate") or "not set"
notify.email_me(f"Leaver: {p['displayName']}",
f"{p['displayName']} ({p.get('work', {}).get('department')}) is leaving. Last day: {last_day}.")
return {"sent": True}FAQ
Common questions
Does it include the reason someone is leaving?
Who should receive the email?
Is it triggered when a termination is recorded or on the last day?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Welcome new joiners in Slack
When someone joins in HiBob, the company sees their name, role and team in Slack.
See how it worksPost who's out today to Slack
Each weekday morning the team sees who is on leave, so nobody waits on someone who's away.
See how it worksPost new orders and sign-ups to Slack
When something happens in your shop, app or form, the details land in the right channel straight away.
See how it worksKeep exploring
Set up “Get an email when someone leaves” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.