Integrations
The Integrations group has seven pages. This page covers four of them: Google Drive Backup, LinkedIn, Google Meet and WhatsApp. The sign-in pages (Microsoft, Google) and LDAP are on Sign-In and LDAP.
Google Drive Backup is a plain form. LinkedIn, Google Meet and WhatsApp start with an Enable switch and show their list of credentials only after you turn it on. All the secrets you type here (client secrets, tokens, passwords) are only as safe as the people who can open these pages, so keep the permissions tight.
In this workspace the switches for LinkedIn, Google Meet and WhatsApp are off and no provider is connected, so those pages show the switch only. The form fields of those three come from the product code, and the text says so.
Google Drive Backup
Settings → Integrations → Google Drive Backup (/backup/gdrive/). It is meant to copy the database and the uploaded files to a Google Drive folder on a schedule.

- The Start and Remove buttons
- The OAuth credentials file
- The Drive folder ID
- The two token boxes
- Backup Media
- Backup Db
- Interval
- Fixed
- Hour
- Minute
- Save
Before you start, on the Google side (general steps). Create a project in Google Cloud, enable the Google Drive API, create an OAuth client of type Web application and download its JSON file. Create a Drive folder for the backups and copy its ID from the folder address. The Google account behind the credentials must be able to write to that folder.
The fields
- OAuth Credentials File (2). The JSON file you downloaded. When you save, Horilla checks that it is valid JSON and has a
websection with aclient_idand aclient_secret; otherwise it says "Please provide a valid OAuth credentials file". After the first save the page shows the stored file name and a "Change" drop zone. - Google Drive Folder ID (3). Required. The ID of the folder that will hold the backups.
- Access Token, Refresh Token, Token Expiry (4). Marked "automatically managed". You never type these.
- Backup Media (5) and Backup Db (6). What to copy. Pick at least one ("Please select any backup option"). The database is dumped with
pg_dumpand uploaded asbackupdb.dump. The media folder is zipped and uploaded asmedia.zip. - Interval (7). Run every so many seconds. A Seconds box appears when it is on.
- Fixed (8) with Hour (9) and Minute (10). Run once a day at that time of the server clock. Pick one of Interval or Fixed ("Please select any backup automate option"). The form accepts 0 to 24 for the hour and 0 to 60 for the minute.
- Start / Stop and the red bin (1). Start begins the schedule, Stop ends it. The bin removes the whole configuration. Both are plain links that act at once, with no "are you sure". Saving the form always stops a running schedule, so press Start again after every edit.
In this workspace the page holds a sample configuration: Backup Db on, Fixed at 03:00, Backup Media off, the schedule not started.
Important: this page does not complete a backup in 2.4.0. Reading the code, the tokens have no screen that fills them, and the backup job still looks for a service-account file that the form no longer has, so it fails when it fires. Until this is fixed, take database and media backups at server level and do not count on this page. (Read from the product code; we did not press Start or Save.)
Other conditions. It works with a PostgreSQL database only; with another database the page shows "Only work with postgresql database". There is one configuration for the whole installation, although the banner says "company-specific". The schedule is kept in memory, so it is switched off whenever the server restarts.
Who can use it. The menu entry needs view Google Drive backup. Opening the form needs add local backup, Start/Stop needs change local backup and Remove needs delete local backup (the permission names are shared with an older local-backup feature). Sofia is sent back to the dashboard (checked).
LinkedIn
Settings → Integrations → LinkedIn (/recruitment/linkedin-integration-setting/). It lets a job opening be posted to a LinkedIn profile from Horilla.

- The Enable LinkedIn switch
It is off in this workspace, so nothing else is listed.
The switch. Turn on Enable LinkedIn to show the list of LinkedIn accounts. It saves at once and is stored per company. In the product code, changing it needs the permission to view Google Meet credentials, not a LinkedIn permission, so an administrator with only LinkedIn rights cannot flip it.
The account list (read from the product code). Columns: App Name, Email, Company and an Active switch. Row buttons: Check Connection (calls LinkedIn with the stored token and reports success or failure), Edit and Delete. There is a search box and a Create button for people who may add accounts.

- App Name
- API Token
- Active
- The Save buttons
This form is the one the Create button opens; here it was opened directly because the list stays hidden while the switch is off.
- App Name. A label of your choice.
- Email. The e-mail address of the LinkedIn member who owns the token.
- API Token. A LinkedIn access token for that member. The code calls LinkedIn's
userinfoandugcPostsservices, so on the LinkedIn side you need a developer app with Sign In with LinkedIn (OpenID Connect) and Share on LinkedIn, and a token that carries the openid, profile, email andw_member_socialpermissions. - Active. Turn off to keep the account but stop using it.
- Company appears when there is more than one company.
What Save does. Saving calls LinkedIn once with the token. If LinkedIn refuses it you get "Check the credentials". If the token's e-mail differs from the Email you typed you get "Email mismatched". On success Horilla remembers the member's LinkedIn ID.
What it changes elsewhere. With LinkedIn on, the job opening form shows Publish in LinkedIn and a choice of account. Saving an opening with that box ticked posts it to the member's feed with a link to the application form. Saving it again deletes the old post and posts a new one, and deleting the job opening removes the post. If LinkedIn rejects the post (for example because the token has expired), Horilla quietly unticks the publish box and shows no error. With LinkedIn off, the publish fields are hidden.
Who can use it. View LinkedIn account for the page, add for Create, change for Edit and the Active switch, delete for Delete. Sofia is sent back to the dashboard (checked).
Google Meet
Settings → Integrations → Google Meet (/meet/gmeet-setting/). It lets Horilla create Google Meet links for interviews and meetings.

- The "Google Meet Rules" tab
- The Enable Google meet switch
The switch is off in this workspace.
The switch. Enable Google meet is stored per company and saves at once. When it is off, nothing else is listed and the Google Meet buttons are hidden everywhere. When it is on, a Meetings tab appears beside the Rules tab for people who may view meetings, and the Google Cloud credentials list appears.
The credential list and form (read from the product code). Columns: Project ID, Client ID, Client Secret (shown as stars, revealed when you hover), Redirect URIs and Company, with Edit and Delete buttons and a Create button. The form asks for:
- Project ID. The Google Cloud project, optional.
- Client ID and Client Secret. From an OAuth client of type Web application in the Google Cloud project.
- Redirect URIs. Comma separated. It must include
https://<your Horilla address>/meet/auth-callback/, and the same address must be registered on the OAuth client in Google. - Company. Whose credentials these are.
On the Google side, enable the Google Calendar API and the Google Meet API for the project (inferred from the scopes Horilla requests: calendar and meetings.space.created).
How people connect. Each person connects once. When someone first creates a meeting, Horilla sends them to Google to approve access, and the approval is stored for that employee. The meeting is then created in that person's calendar.
What it changes elsewhere. With the switch on, interview actions in Recruitment and meetings in Performance get Google Meet buttons. With it off, or with no credential saved for the company, those buttons are missing or the connect step reports "Google Cloud Credential not found."
Who can use it. View Google Cloud credential opens the page (and, oddly, the same permission changes the switch for every integration). Sofia is sent back to the dashboard (checked). While the switch is off, the credential list and form refuse everyone, including administrators, with "You don't have permission".
WhatsApp
Settings → Integrations → WhatsApp (/whatsapp/whatsapp-credential-view/). It connects the WhatsApp Business Cloud API of Meta so Horilla can send messages and answer employees' messages.

- The Enable WhatsApp switch
It is off in this workspace.
The switch. Enable WhatsApp is per company and saves at once. Off hides the credential list and stops all WhatsApp activity.
The credential form (read from the product code). Each credential has:
- Meta Token. The access token of your WhatsApp Business app.
- Meta Business ID, Meta Phone Number ID and Meta Phone Number. Copied from the WhatsApp section of the Meta developer console.
- Webhook Token. Any secret word you choose; Meta sends it back when it checks the webhook.
- App Secret. From the Meta app's basic settings. Without it every incoming message is rejected, because Horilla uses it to prove a message really came from Meta.
- Company (several allowed) and Is Primary. A company can have one primary credential; the first credential of a company becomes primary on its own.
In Meta's console, register Horilla's webhook address https://<your Horilla address>/whatsapp/ and use the same Webhook Token.
Buttons in the list. The list shows phone number, phone number ID, business ID, a short webhook token and the start of the Meta token. Edit, Delete, Send Test Message (sends "This is a test message" to a number you type) and Create Message Template and Flows (creates the standard templates and request forms in the WhatsApp Manager once; the button is greyed out afterwards).
What it changes elsewhere. When on, every in-app notification Horilla creates is also sent as a WhatsApp text to the phone number on the employee's record. Employees can also write to the business number (for example "leave", "shift", "asset", "help") and get a form back that files the request in Horilla. Check that employee phone numbers are correct and that people agree to receive messages before you switch it on.
Who can use it. The menu entry shows to those with add WhatsApp credentials. The page frame opens for any logged-in person (Sofia can open it) but its list and forms refuse anyone without permission.
