Skip to content

HR systems, Teams, Slack and calendars

How Academy connects to the systems an organisation works in. Administrators set each one up in the portal; the Manage handbook has the steps: HR systems, evidence to HR, Microsoft Teams, Slack, Outlook calendar. This page says what goes over the wire.

An organisation connects one HR system under Manage → Integrations → HR systems (/v1/admin/hr, organisation administrators). Academy reads people from it; the only thing it writes back is evidence of completed trainings.

Kind Sign-in Academy uses Address
Personio OAuth client id and secret (/v2/auth/token) fixed
Factorial API key (x-api-key) fixed
HiBob service user id and token (Basic) fixed
Workday integration system user and password (Basic) your tenant’s
SAP SuccessFactors technical user, OAuth client API key, and a private key that signs the SAML assertion your tenant’s
Odoo login and API key your server’s
Frappe HR / ERPNext API key and secret your server’s
OrangeHRM OAuth client, with a refresh token from an authorization in the portal your server’s
Horilla user name and password your server’s
REST a header, bearer token, Basic or OAuth 2 client credentials, with your field mapping yours
CSV file over SFTP, with a password or private key (also the DATEV layout) your server’s
Connector a connector at your site that reads the HR system and sends people (token ck_…) –

Credentials are sealed with the organisation’s key and never shown again.

What is synced.

  • Once a day at the hour and time zone you choose (default 03:00 UTC), and when you press Sync now. The first run that applies changes needs a preview less than 30 minutes old.
  • People are found by email or created, and their employment fields are written: by default jobTitle, department, location, entryDate and managerId; optionally employeeNumber, first and last name and email.
  • Leavers are suspended, after they are missing in two runs; people the sync suspended are reactivated when they come back. If a run returns fewer than half the people of the last one, it stops instead of suspending them.
  • Teams by department or location follow the HR data.
  • Fields the HR system leads can’t be changed elsewhere while the connection is on: a different value by hand, by CSV import or through the automation API is 409 field_owned_by_hr; SCIM and Entra values for them are ignored.
  • After a failed run the administrators get at most one email a day.

Change events from the HR system. Personio, Frappe, Factorial and HiBob can call Academy when someone changes, so the change arrives within seconds instead of the next night. The connection shows the address to give the HR system:

POST https://<api>/v1/hr/hooks/<connection id>
System Signature Academy checks
Personio x-personio-webhook-timestamp and x-personio-webhook-signature (HMAC-SHA256, at most 5 minutes off)
Frappe x-frappe-webhook-signature
Factorial x-factorial-wh-challenge
HiBob bob-signature

The call answers 202 and is worked off within seconds. After a new secret, the old one still works for 7 days.

Evidence back to the HR system (ADR 0074): for Personio, Factorial, HiBob, Odoo and Frappe, Academy can file a completed training (optionally with the certificate as PDF) in the person’s HR record. It sends completions from the day you switch it on, in the hourly run, and retries after 5, 30, 120 and 720 minutes; after five failures the record shows failed and can be sent again.

The organisation’s Teams app is built for it under Manage → Integrations → Teams, Slack & calendar → Microsoft Teams from its Microsoft Entra sign-in (the same app registration):

  • App package: GET /v1/admin/msteams/package gives i3-academy-teams.zip (manifest 1.17), with two personal tabs (the person’s required trainings and their team’s) and, if switched on, the bot. Upload it in the Teams admin centre. No package is kept in the repository; each organisation gets its own.
  • Single sign-on in the tabs: the app registration exposes the scope access_as_user under the Application ID URI api://<api host>/<client id>; Teams’ clients are pre-authorised.
  • Bot: Microsoft’s Bot Framework posts to https://<api>/v1/teams/bot/messages. Academy accepts only tokens signed by the Bot Framework or the organisation’s directory, for the organisation’s client id. In personal chats it answers questions from the organisation’s knowledge as the person who asks, marked as an AI answer (help and new start over).
  • Notices: reminders of required trainings can arrive in the Teams activity feed (Graph sendActivityNotification), as each person chooses.

Manage → Integrations → Teams, Slack & calendar → Slack installs the platform’s Slack app in the organisation’s workspace (OAuth v2) with the scopes chat:write, im:write, im:history, users:read and users:read.email. People are matched by email.

  • Events: Slack posts to https://<api>/v1/slack/events. Academy checks x-slack-signature (v0= HMAC-SHA256 over v0:<timestamp>:<body>, at most 5 minutes off) and answers Slack’s URL verification.
  • What the app does: a Home tab; reminders, new required trainings and escalations as direct messages for everyone who chooses Slack; answers in direct messages from the organisation’s knowledge, like the Teams bot. It reads no channels. Uninstalling the app or revoking its tokens disconnects the workspace.
  • There are no slash commands or interactive buttons.
  • Whoever runs an installation creates the Slack app once from deploy/slack/app-manifest.json, with their own API address in its URLs and their product name as the app’s name and bot name.

Separate from the apps, any webhook can post to a channel: a webhook with format: "teams" (an Adaptive Card for a Teams workflow When a Teams webhook request is received) or format: "slack" (Block Kit for an incoming webhook). Channels get only news about teams, courses and sessions (requirement.created, team.training_overview, course.published, live_session.scheduled, .changed, .cancelled), never about single people (webhooks).

Personal calendar feed. Everyone can subscribe to their appointments under My account → Notifications & calendar (POST /v1/me/calendar/feed):

https://<api>/v1/calendar/feed/<organisation id>/<token>.ics
  • The address is the secret: no sign-in, so it works in Outlook, Google Calendar and Apple Calendar. The answer also gives a webcal:// address. Making a new one ends the old; DELETE /v1/me/calendar/feed ends it.
  • It holds the live sessions you host, present or registered for, and your mentoring appointments, from 7 days back. It is METHOD:PUBLISH with REFRESH-INTERVAL one hour; calendars cache it for at least 5 minutes.

Invitations. Emails about live sessions and mentoring carry an iCalendar invitation (METHOD:REQUEST, and METHOD:CANCEL when cancelled) with a stable UID, so a change updates the same entry.

Single files: GET /v1/bookings/{id}/ics for a mentoring booking, GET /v1/pro/planner.ics for a Pro learner’s plan.

Outlook (Manage → Integrations → Teams, Slack & calendar → Calendar). With an Entra sign-in and the application permission Calendars.ReadWrite, Academy writes the appointments straight into people’s Outlook calendars (busy, with a reminder 15 minutes before) and updates or removes them. Nothing is read back. Google Calendar has no such connection; use the feed.