> For the complete documentation index, see [llms.txt](https://wiki.dieagenturverwaltung.de/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/einstellungen-1/integrationen/hr-works.md).

# hr works

Similar to Personio, the integration with the hr works service works.

You need an active hr works account for this.

In hr works, you then create a new API key for Die Agenturverwaltung. The key requires read permissions for people, general, and absences.

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2F9daZPscPftEBAQfP2ztt%2Fhrworks.jpg?alt=media&amp;token=a0cf5944-7248-4565-b8a8-edc7a910d03d" alt=""><figcaption></figcaption></figure>

If credentials are stored, absence types are synchronized with hr works. They can then only be edited in hr works. **In Die Agenturverwaltung, you still need to set on the absence types whether they should affect time tracking for the hours account and capacity planning.** This can be done under Settings -> Time tracking -> Absence types and there for the respective absence type under "Edit". Absence types created previously in Die Agenturverwaltung will be archived.&#x20;

Die Agenturverwaltung tries to link users who exist both here and in hr works using their email address. If this does not work, e.g. because different email addresses are used, you can also subsequently link hr works user IDs manually with the users in Die Agenturverwaltung.&#x20;

<figure><img src="https://4063991107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-La4YdZ1Gw5iHapqZfIo%2Fuploads%2FhWXObjP4oiH39SCF0FxY%2Fhrworks.png?alt=media&amp;token=09bf8a27-fcd0-4477-bec0-f6692df09a37" alt=""><figcaption></figcaption></figure>

For each linked user, Die Agenturverwaltung continuously imports all absences starting from the start date specified here (e.g. 01/01 of the year before last). \
\
***Warning: Absences already created previously in Die Agenturverwaltung will be deleted in the process.***

If you have any questions about the integration, feel free to contact us at <info@dieagenturverwaltung.de>

{% embed url="<https://www.loom.com/share/810987fdcd1e470881a6e14871ebfb99>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.dieagenturverwaltung.de/die-agenturverwaltung-en/einstellungen-1/integrationen/hr-works.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
