Automate with n8n

No-code automations on top of webhooks and the API: who's-off digests, spreadsheet exports and more, from ready-made templates.

For admins Updated July 25, 2026

n8n is a workflow automation tool — the self-hostable, EU-friendly cousin of Zapier. Combined with Bueggio HR's webhooks and API, it automates the HR chores around leave without writing code: post approvals to other tools, export absences to a spreadsheet, alert a channel when someone's off.

How the pieces fit

  • Triggers — an n8n Webhook node receives Bueggio HR webhook events (request created, approved, declined, cancelled, people joining or leaving).
  • Actions — an n8n HTTP Request node calls the REST API with an API key: read who's off, balances, or even book and approve.
  • Self-registration — a workflow can register its own trigger URL via POST /api/v1/webhooks when it activates, so there's nothing to configure by hand.

Start from a template

Settings → Integrations → n8n offers ready-made workflow templates you can download and import (in n8n: Workflow menu → Import from file):

  • Weekly "who's off" digest — every Monday, fetches the week's absences from the API and posts a summary wherever you like.
  • Approved leave to a spreadsheet — every approved request is appended to a Google Sheet, handy for payroll.

After importing, set two things in the workflow: your Bueggio HR API key in the HTTP node's credentials, and the destination (Slack node, Google Sheets credentials, …).

Wire a trigger manually

  1. In n8n, add a Webhook node and copy its production URL.
  2. In Bueggio HR, go to Settings → Integrations → Webhooks, add the URL and tick the events the workflow cares about.
  3. Use Send test ping to fire a test event and check it reaches the n8n execution log.
  4. Optionally verify the webhook-signature header in a Code node — the signing scheme is Standard Webhooks.

Ideas that work well

  • Notify a Matrix/Discord/Telegram channel when leave is approved (n8n has nodes for all of them).
  • Export each month's absences to CSV for the payroll provider.
  • Create a task in your project tool when someone books more than a week off.

Troubleshooting

  • The trigger never fires — n8n test URLs only listen while you're testing; register the production URL in Bueggio HR and activate the workflow.
  • API calls return 401 — the HTTP node must send Authorization: Bearer bhr_...; check the key wasn't revoked.
  • Deliveries fail in the log — your n8n instance must be reachable from the internet over HTTPS; tunnels and localhost won't receive production webhooks.