- Automatically cancel bookings when employees are marked as absent in HRworks
- Create absences in HRworks when employees book specific resources in anny (for example, home office)
- Configure absence rules individually per absence type and resource
Typical use cases
How the HRworks connection works
Authentication runs via an API key pair (access key and secret access key) that you generate in HRworks. This authorizes anny to read personal master data, absences, and sick notes, and to create and delete absences and sick notes. anny does not access other HRworks data (for example, salaries or documents). anny matches employees via the email address: every person in HRworks needs the same email address as their anny account. People without a matching email address are ignored.Connect HRworks
Requirements
Before you connect HRworks, make sure you have the following:- In HRworks: admin access with permission to create an API key pair under Basics > Integrations > HRworks API
- In HRworks: read permission for the
/v2/persons/master-dataendpoint, so anny can map personnel numbers to your employees’ email addresses - In anny: admin role in the organization
Set up the connection
Open the integration
Generate a key pair in HRworks
- Click New key pair
- Choose the Default template from the dropdown menu
- Download the text file with the access key and secret access key
Verify authentication in anny
Configure rules
Settings & options
The HRworks integration offers two rule types that are configured independently of each other.Cancellation of bookings through absences
Define which absence types cancel bookings automatically. Only confirmed bookings are cancelled; the cancellation applies even after a cancellation deadline has passed, and the name of the absence type appears as the cancellation reason in the activity log.Add a new rule
Select the absence types
Add a restriction (optional)
Confirm
Automatic creation of absences
Define which resource booking automatically creates an absence in HRworks. The absence is created as soon as the booking is confirmed, and appears in HRworks as a request with the status “requested” (sick notes with the status “reported”). It is not approved automatically.Add a new rule
Choose the trigger in anny
Choose the absence type in HRworks
Confirm
Limitations
The HRworks integration does not support:- Forward-looking checks: absences are only detected on the current day, not in advance (for example, no cancelling of vacations entered for next week)
- Real-time synchronization for cancellations: bookings are checked hourly, not in real time
- User matching without the personnel-number endpoint: without read permission for
/v2/persons/master-data, anny cannot map absences - Half-day cancellation: for cancellation, anny evaluates every absence as full-day. A half-day absence in the morning also cancels bookings in the afternoon of the same day
- Automatic approval: absences created in HRworks stay requests and go through the normal approval process in HRworks
Disconnect
You can do both under Integrations: deactivate via the toggle in the top right, delete via the three dots → Delete.FAQ
How often does anny sync absences from HRworks?
How often does anny sync absences from HRworks?
Are future absences taken into account too?
Are future absences taken into account too?
What happens if an absence in HRworks is not yet approved?
What happens if an absence in HRworks is not yet approved?
Can I limit cancellation to specific resources?
Can I limit cancellation to specific resources?
What happens to the absence in HRworks when I cancel the booking?
What happens to the absence in HRworks when I cancel the booking?
Troubleshooting
Bookings are not cancelled even though an absence is entered in HRworks
Bookings are not cancelled even though an absence is entered in HRworks
/v2/persons/master-data is missing in your HRworks API key pair. Without this permission, anny cannot map the personnel number to any email address and does not recognize the affected person. Check the API permissions in HRworks under Basics > Integrations > HRworks API. Also check whether the absence is already approved: by default, anny cancels only on approved absences.Synchronization only cancels on a manual click
Synchronization only cancels on a manual click
The absence in HRworks is not created
The absence in HRworks is not created