Frappe HR
With Frappe HR installed, Raven can show who is on leave today and create a channel for each department.

Only Raven Admins and System Managers can change these settings. Ask one to do it. If Frappe HR is not installed, the settings can't be changed.
| Setting | What it does |
|---|---|
| Show if a user is on leave | Shows people who are on leave today. |
| Create a channel for each department | Creates a channel for each new department and adds the department's employees to it. |
| Department channel type | Whether department channels are Public or Private. |
| Choose workspaces based on companies | The workspace that gets the department channels of each company. |
Show who is on leave
Open Settings > Frappe HR, turn on Show if a user is on leave and click Save.
A person is on leave today when they have a submitted attendance record for today with the status On Leave. Frappe HR makes these records when a leave application is approved and submitted. The employee record must have the person's user in its User ID field. A half day of leave does not count.
The profile card of a person on leave shows On Leave, and their photo gets a palm tree.

On Leave also shows at the top of a direct message with that person. When you mention someone on leave, a note above the message box says so. You can still send the message.

Create a channel for each department
- Open Settings > Frappe HR.
- Turn on Create a channel for each department.
- Under Department channel type, pick Public or Private.
- Under Choose workspaces based on companies, click Add, then pick a Company and the Workspace for its department channels. Add a row for each company.
- Click Save.
The setting needs at least one company in the list before you can save.
From then on:
- When a department is created in Frappe HR, Raven creates a channel for it in the workspace of the department's company. The channel is named after the department, with hyphens in place of spaces.
- When an employee is created in a department, Raven adds them to its channel. When they move to another department, Raven moves them to the new channel.
- When a department is deleted, its channel is deleted too. When an employee is deleted, they are removed from the channel.
Employees are added only if their record has a User ID and that user is in Raven.