Before you start
- You need an n8n account (cloud or self-hosted) and a HollyHR System admin to create the key. HollyHR isn't a built-in n8n node, so n8n connects with its HTTP Request node, or its MCP Client tool for AI agents.
- Reading people and time off works on every HollyHR plan. Creating or changing records needs Standard and a write permission you choose. n8n's own plan and usage limits also apply.
Steps
- In HollyHR, sign in as a System admin. Open Settings and choose Developers. Choose Create API key, name it for n8n, then under Access choose Custom and tick Read for People and Time off. The new-starter workflow needs only People. Confirm it's you if asked, then copy the key.
- In n8n, open the + menu and choose New credential. Pick Bearer Auth, paste the key into Bearer Token and name it HollyHR.
- Import a starter workflow (see below). In Your settings, enter your HollyHR address, such as https://acme.hollyhr.com. Select your HollyHR credential in each HTTP Request node. Select the last node (Slack or your task app) and press D to turn it off, then choose Execute workflow and check the result.
When the result looks right, turn the last node back on, connect your own Slack or task app and publish the workflow. Test with fictional records first.
Starter workflows
In n8n, create a new workflow, open its ... menu and choose Import, then From URL. Paste a link below.
- Create a task for each new starter
- Post approved leave to Slack
- Send a weekly who's-away summary to Slack
The Slack messages show names and dates only, never the type of leave or a reason. The new-starter task carries the person's name, job title, department, manager, start date and work email. They check HollyHR on a schedule, so a change isn't instant.
Ask HollyHR for anything else
Add an HTTP Request node. Set Authentication to Generic Credential Type, choose Bearer Auth and your HollyHR credential. Use your HollyHR address followed by /api/v1/people, or another path from the developer guide. Turn on Pagination in the node's options if you need more than 100 records.
Use HollyHR from an n8n AI agent
- Add an AI Agent node and a chat model, then add the MCP Client tool to the agent.
- Set Endpoint to https://app.hollyhr.com/api/mcp and Server Transport to HTTP Streamable.
- Set Authentication to Bearer Auth and choose your HollyHR credential. Leave Tools to Include on All.
- The agent can look up people and time off with the key's permissions. It can't change anything unless a System admin gives the key a write permission.
Stop or replace the connection
Unpublish affected workflows in n8n before removing the credential. Revoke the key in Settings, under Developers, when it's no longer needed. Before revoking a replaced key, test the new credential in every workflow that uses it. Data already sent to other apps stays there until you remove it in those apps.
Technical details
Use the developer guide for exact permissions, supported operations and detailed troubleshooting.
What happens next
Each starter workflow checks HollyHR on its schedule: every morning for new starters, every 15 minutes for approved leave, and Monday morning for the weekly summary. They aren't instant notifications.
If something goes wrong
n8n shows a 401 or 403 error from HollyHR. Check the credential holds the whole key, with nothing added. A 403 means the key is missing a permission: check the workflow's note for the Read permissions it needs, and create a new key with those ticked. Only someone who can see sickness can create a key with Time off.
n8n shows a 'getaddrinfo' or 'not found' error. Check the address in Your settings is your own, such as https://acme.hollyhr.com, with no slash at the end.
A workflow posts nothing. Check it's published, not only saved. Then open the last run in n8n: the first run looks back a day, so a quiet day can legitimately find nothing new.