Sign Up
← All guides

Automate Collabin with n8n: the official community node

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

ItemTypeWhat it does
CollabinAction nodeRead 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 TriggerTrigger nodeStarts the workflow when Collabin sends a webhook (leave.created, leave.status_changed) β€” verifies the X-Collabin-Signature header for you.
Collabin APICredentialsStores the API key and base URL for the Collabin action node.
Collabin Webhook APICredentialsStores 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

  1. In n8n, go to Settings β†’ Community Nodes β†’ Install.
  2. Enter n8n-nodes-collabin and confirm.
  3. Collabin and Collabin Trigger now appear in the nodes panel.

Step 2: Connect your Collabin account

  1. 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.
  2. Copy the key (clb_…) β€” it's shown only once.
  3. 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).
  4. Click Test. A successful test calls GET /v1/leave-types with your key.

Step 3: Read and manage data with the Collabin node

The Collabin node follows n8n's familiar Resource β†’ Operation pattern:

ResourceOperationNotes
UserGet / Get ManyGet Many can be filtered by name or email
UserGet LeavesA user's leave requests, optionally filtered by status
TeamGet / Get ManyIncludes team leaders and members
Leave TypeGet ManyYour organization's leave categories
LeaveGet / Get ManyFilter by user, status, date range, or "updated since"
LeaveCreateNew request, status PENDING β€” requires a write key
LeaveUpdate StatusApprove or reject a PENDING request β€” requires a write key
CalendarGetWorkday/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.

  1. Add a Collabin Trigger node to a workflow and copy its webhook URL.
  2. 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.
  3. 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.
  4. 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 PENDING request 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 /v1 API and webhooks require the Pro plan; calling them on an ineligible plan returns 403 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

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.