n8n-nodes-collabin is the official n8n community node for Collabin, open source on GitHub. It wraps the REST API and webhooks you'd otherwise call by hand into drag-and-drop nodes: read and manage users, teams, leave types, leave requests and the calendar, react instantly to leave events with signature verification built in, and even hand the whole thing to an AI agent as a tool. This guide installs it, connects it to your account, and walks through both nodes end to end.
What's in the package
| Item | Type | What it does |
|---|---|---|
| Collabin | Action node | Read and manage Users, Teams, Leave Types, Leaves and the Calendar via the /v1 API. Can also be used as a tool by an AI Agent node. |
| Collabin Trigger | Trigger node | Starts the workflow when Collabin sends a webhook (leave.created, leave.status_changed) β verifies the X-Collabin-Signature header for you. |
| Collabin API | Credentials | Stores the API key and base URL for the Collabin action node. |
| Collabin Webhook API | Credentials | Stores the signing secret encrypted for Collabin Trigger; exports contain only a credential reference. |
What you'll need
- A Collabin account on the Pro plan β the external API and webhooks are Pro features.
- Admin or Superadmin access, to generate an API key and (for the trigger) create a webhook.
- A self-hosted n8n instance, or an n8n Cloud plan that allows installing community nodes β see n8n's community nodes documentation if you're unsure.
Step 1: Install the node
- In n8n, go to Settings β Community Nodes β Install.
- Enter
n8n-nodes-collabinand confirm. - Collabin and Collabin Trigger now appear in the nodes panel.
Step 2: Connect your Collabin account
- In the Collabin dashboard, go to Settings β API Keys and create a new key. Choose Read if you only need to fetch data, or Read & Write if you also want to create leave requests or approve/reject them from n8n.
- Copy the key (
clb_β¦) β it's shown only once. - Add a Collabin node to a workflow, open the credential dropdown and create a new Collabin API credential:
- API Key: the key from step 2.
- Base URL:
https://api.collabin.eu(the default β leave it as is).
- Click Test. A successful test calls
GET /v1/leave-typeswith your key.
Step 3: Read and manage data with the Collabin node
The Collabin node follows n8n's familiar Resource β Operation pattern:
| Resource | Operation | Notes |
|---|---|---|
| User | Get / Get Many | Get Many can be filtered by name or email |
| User | Get Leaves | A user's leave requests, optionally filtered by status |
| Team | Get / Get Many | Includes team leaders and members |
| Leave Type | Get Many | Your organization's leave categories |
| Leave | Get / Get Many | Filter by user, status, date range, or "updated since" |
| Leave | Create | New request, status PENDING β requires a write key |
| Leave | Update Status | Approve or reject a PENDING request β requires a write key |
| Calendar | Get | Workday/holiday calendar for a date range |
Two things worth knowing about:
- Return All + Updated Since: turn on Return All on any "Get Many" operation and the node pages through the API automatically (500 records per request) until everything is fetched. Combined with the Updated Since filter on Leave β Get Many, this is the basis for an incremental sync β a Schedule Trigger that runs hourly and only pulls what changed since its last run.
- AI Agent tool: every operation is also available as a tool. Add the Collabin node under an AI Agent node's tools, and the agent can answer questions like "How many vacation days does Jane have left this year?" β or, with a write key, act on instructions like "approve Jane's leave request for next week."
Step 4: React to events with the Collabin Trigger node
If you've read our n8n/Make webhook guide, you know that verifying the X-Collabin-Signature header normally means adding a Code node with some HMAC logic. The Collabin Trigger node does this for you β invalid or missing signatures are rejected with 401 before your workflow ever runs.
- Add a Collabin Trigger node to a workflow and copy its webhook URL.
- In the Collabin dashboard, go to Settings β Webhooks and create a new webhook:
- URL: the n8n webhook URL from step 1.
- Events: pick
leave.created,leave.status_changed, or both.
- Collabin shows the signing secret once. Create a Collabin Webhook API credential in n8n, paste it into that credentialβs Signing Secret field, and select the credential on the trigger.
- In the node's Events field, select the same events. This is a local filter: anything Collabin sends that you didn't select here is acknowledged but doesn't start the workflow.
Activate the workflow, submit a test leave request in Collabin, and the trigger fires with the full leave object β including the linked user and leave type β in data.
Example workflows
- Slack/Teams notifications β Collabin Trigger (
leave.created) β a Slack or Microsoft Teams node, so managers see new requests immediately. - Approve from anywhere β any trigger (a Slack command, a form, a chatbot) β Collabin node (Leave β Update Status) to approve or reject a
PENDINGrequest without opening Collabin. - Incremental payroll sync β Schedule Trigger β Collabin node (Leave β Get Many, Updated Since = last run, Return All) β push changes into your payroll or HRIS system.
- HR assistant β Collabin node as an AI Agent tool, so a chat-based assistant can look up balances, teams, and pending requests on demand.
Good to know
- Plan requirement: both the
/v1API and webhooks require the Pro plan; calling them on an ineligible plan returns403 Forbidden. - Rate limit: 120 requests per minute per API key β for large exports, prefer Return All (bigger pages) over many small requests.
- Read vs. write: Leave Create and Update Status, plus Presence Rule Preview, Create, Update and Revoke, require Read & Write. Read operations only need Read.
- Compatibility: requires Node.js 20.15+ on the n8n instance, the standard requirement for current n8n versions.
Where to go next
- n8n-nodes-collabin on npm and source on GitHub β issues and contributions welcome.
- New to the API itself? Start with the REST API quickstart.
- Prefer a lighter-weight webhook setup without installing a community node? See no-code automations with n8n and Make.
Mandatory presence and the new integration fields
After installing the presence-enabled backend and a supporting n8n node, Presence Rule offers Get Many, Preview, Create, Update and Revoke. Get Many returns all rules, including past and revoked entries, without pagination. The other operations require a write API key. Preview neither saves nor sends mail; saving queues mandatory operational notifications that general preferences and the leave Send Notifications switch cannot disable.
Presence works on Advanced and Pro, even with approvals disabled. External API and webhook access are separate entitlements: normally Pro, or a Superadmin override. An API override alone does not unlock presence on a lower plan. A Superadmin can separately enable mandatory presence for a tenant without a subscription.
Choose teams or Entire Organization, then the affected leave type IDs. Warn allows requests with a warning; Block rejects conflicting new or edited requests with 422 PRESENCE_BLOCKED. Updates and revocations require the reviewed revision; 409 PRESENCE_CHANGED requires a fresh review.
Before approving a conflict, show the decision-maker presence_check.conflicts from Leave β Get. Pass the reviewed presence_check.token in Presence Token and the exact updated_at in Expected Updated At. Do not automatically fetch a token and approve a changed conflict.
Subscribe to presence.created, presence.updated and presence.revoked in both the trigger and Collabin webhook. Their payload includes data.request_policy and data.revision.
When upgrading an older trigger, rotate the signing secret retained in exports, select a new Collabin Webhook API credential, and clear Legacy Signing Secret. Follow the migration steps, including reconciliation of missed events.