> 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/einstellungen-1/integrationen/hr-works.md).

# hr works

Ähnlich wie bei Personio funktioniert die Integration mit dem Service hr works.

Ihr benötigt dafür ein aktives hr works Konto.

In hr works legt ihr dann einen neuen API-Schlüssel für Die Agenturverwaltung an. Der Schlüssel benötigt Lese-Berechtigungen für Personen, Allgmeines und und Abwesenheiten.

<figure><img src="/files/NHzULynsVw2U42DcT2KB" alt=""><figcaption></figcaption></figure>

Sind Zugangsdaten hinterlegt werden Abwesenheitstypen mit hr works synchronisiert. Sie können dann nur noch in hr works bearbeitet werden. **In der Agenturverwaltung musst du an den Abwesenheitstypen noch einstellen, ob sie sich auf die Zeiterfassung für das Stundenkonto und auf die Kapazitätsplanung auswirken sollen.** Das geht unter Einstellungen -> Zeiterfassung -> Abwesenheitstypen und dort für den jeweiligen Abwesenheitstypen unter "Bearbeiten". Bereits vorher in der Agenturverwaltung angelegte Abwesenheitstypen werden archiviert.&#x20;

Die Agenturverwaltung versucht, Nutzer, die es sowohl hier als auch in hr works gibt, anhand ihrer E-Mail-Adresse zu verknüpfen. Sollte dies nicht gelingen, z.B. weil unterschiedliche E-Mail-Adressen verwendet werden, kannst du im Anschluss auch hr works UserIds mit den BenutzerInnen in der Agenturverwaltung manuell verknüpfen.&#x20;

<figure><img src="/files/3YTXocQfI0CCqN4UxMc3" alt=""><figcaption></figcaption></figure>

Zu jeder verknüpften NutzerIn importiert Die Agenturverwaltung laufend alle Abwesenheiten ab dem hier angegebenen Start-Datum (z.B. 01.01. des vorletzten Jahres). \
\
\&#xNAN;***Achtung: Bereits vorher in der Agenturverwaltung angelegte Abwesenheiten werden dabei gelöscht.***

Bei Fragen zur Integration melde dich gerne bei uns unter <info@dieagenturverwaltung.de>

{% embed url="<https://share.vidyard.com/watch/HFecYrngZzrfiF5hjcNQSY>?" %}


---

# 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/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.
