Identity and access management

Sage HR to Google Workspace integration: Google accounts from Sage HR, suspended after the last working day

With an integration between Sage HR and Google Workspace, a new employee from Sage HR gets a Google account with job title, team and manager, and the account is suspended after the last working day of the termination in Sage HR. Sage HR only offers signing in with Google; KoppelHet creates, changes and suspends the accounts through the Sage HR API.

Intake and design are free. The quote follows once the design is right.

  • ISO 27001 certified
  • Data in Amsterdam
  • Support after go-live included
Sage HR logoSourceSage HRA new employee, a change of job, team or manager, a termination or a rehire in Sage HR
KoppelHetYour rules, set per field
Google Workspace logoTargetGoogle Workspace
  • Google account with the work email from Sage HR
  • Job title, team and manager
  • Organisational unit per team
  • Suspension after the last working day and switching back on at a rehire

How it works

Design, platform and support in one place

For Sage HR and Google Workspace: a tailored integration, on our own platform, that we keep managing after go-live.

Design

Set per field before we build

Which data goes where, when, and what happens with exceptions. You approve the design; the quote follows from it.

More on how we work
Sage HR logoGoogle Workspace logo
Detailed designWhat is transferred
  • employee_number→ externalIds (type organization)
  • email→ primaryEmail
  • first_name en last_name→ name.givenName en name.familyName
  • position→ organizations.title

Platform

Every run visible, every error reported

Per integration and per employee you see what was processed. If something goes wrong, you get an alert with the reason.

More about the platform
HistorySage HR → Google Workspace
Example
  • 09:003 changesOK
  • 08:00No changesOK
  • 05:00Alert with explanationResolved

Support

We keep it running

We handle vendor API changes. The people who built the integration also answer your questions.

Trust Center
ISO 27001
Support after go-liveOne team to turn to
  • 24/7 monitoring
  • API changes handled
  • Hosting in Amsterdam

The project

From first conversation to ongoing support

An integration starts from your HR process, not the API. We only build after you approve the design, and you choose the go-live moment.

The project in ten steps

  1. Step 1IntakeQuestions a consultant has prepared for your systems.
  2. Step 2Detailed designField by field what happens, with exceptions and test scenarios.
  3. Step 3Approval and quoteYou approve the design; the quote follows from it.
  4. Step 4Build and testOn our platform, then your acceptance test.
  5. Step 5Go-live and supportAt a moment you choose. After that we monitor it.

Organisations that rely on their integrations

What the integration does

Organisations that use Sage HR alongside Google Workspace often let employees sign in to Sage HR with Google. IT still creates and suspends the Google accounts themselves by hand, based on an email from HR.

  1. HR creates a new employee in Sage HR with the work email following the naming rule.
  2. KoppelHet sees the new employee in the next run and creates the Google account with that address.
  3. Job title, team and manager go to Google; the team decides the groups.
  4. After the last working day of a termination KoppelHet suspends the account.
  5. On a rehire KoppelHet switches the same account back on.
Sage HR → KoppelHet → Google WorkspaceSOURCESage HRTARGETGoogle WorkspaceKoppelHetmapping · logging · monitoringSage HR → KoppelHet → Google WorkspaceSOURCESage HRTARGETGoogle WorkspaceKoppelHetmapping · logging · monitoring
Out: Google account with the work email from Sage HR · Job title, team and manager · Organisational unit per team · Suspension after the last working day and switching back on at a rehire

What to watch for with Sage HR and Google Workspace

  • Sage HR offers signing in with Google, to be enabled by a Google Workspace administrator. According to Sage HR this does not work when Sage HR is connected to Sage 50 Payroll; employees then sign in with their Sage account. KoppelHet creates the Google accounts either way, but the Google sign-in to Sage HR depends on that choice.
  • The email address is required when creating an employee in Sage HR, but the API cannot change it afterwards. KoppelHet therefore cannot write a Google address back. HR enters the work email straight away, and KoppelHet creates the Google account with it after checking that the domain belongs to your Google environment.
  • An employee with a termination disappears from Sage HR's list of active employees and then sits in a separate list, with the end date. KoppelHet reads both lists, so a leaver is suspended in Google and does not just drop out of the overview unnoticed.
  • For a termination the date in Sage HR is the last working day. KoppelHet suspends the Google account at the end of that day, and after the retention period transfers the Drive files to the manager from Sage HR.
  • Sage HR does not return an office for an employee through the API. KoppelHet therefore chooses the organisational unit in Google by team, or by a fixed value you record per team.
  • According to the API description Sage HR sends no webhooks. KoppelHet compares both lists with the previous state every hour and only writes the differences to Google, so the Directory API does not update all accounts on every run.
  • A rehire in Sage HR brings an employee back under the same ID. KoppelHet recognises that ID and lifts the suspension of the old Google account, with the mail and files from then, as long as the account has not been deleted yet.

This integration is also part of joiner, mover, leaver.

How we build and run it

  • The integration runs on the KoppelHet platform, hosted in a data centre in the EU.
  • Every sync and every error is visible in the functional log; on an error your administrator is notified.
  • A change that cannot go through is not half-applied but queued for another attempt.
  • KoppelHet is ISO 27001 certified. Data travels encrypted and stays on the platform no longer than needed.
  • After go-live we manage the integration and adjust it when your process changes.
  • The integration fits next to your existing integration layer. Only the fields in the design are transferred; the platform keeps no register of its own.

Implementation, architecture and compliance

Implementation and price

This is not an app you switch on. We build the integration for your organisation on our platform, with building blocks we reuse on every project. So it is custom work that does not start from scratch.

A consultant prepares the intake and analyses both systems. We then record the mapping and exceptions field by field, test in the test or acceptance environment and go live at a moment you choose. Costs are a one-off amount for the setup and a monthly amount for platform, monitoring and support.

Price indication · Basic

Leave your work email and we will email you the price indication for this integration.

We only use your address to follow up on your question about this integration.

Frequently asked questions

Can the Google address go back to Sage HR?

No, the Sage HR API cannot change the email address after creation. HR therefore enters the work email straight away.

Technical details for IT

For those who want to know how it works under the hood: APIs, fields and sources used.

  • Sage HR REST API on {subdomain}.sage.hr/api with the X-Auth-Token header. GET /employees (email, first_name, last_name, employee_number, position, team, reports_to_employee_id), GET /terminated-employees (termination_date) and POST /employees/{id}/rehire. Pages with page and meta.next_page. No webhooks; email not in PUT /employees/{id}.
  • To Google through the Admin SDK Directory API (users with externalIds, name, primaryEmail, password and changePasswordAtNextLogin, orgUnitPath, organizations, relations type manager and suspended; groups and members) and the Data Transfer API, with a service account with domain-wide delegation.

Which fields are transferred

The key fields. The full mapping is agreed per customer.

Field in Sage HRField in Google WorkspaceNotes
employee_numberexternalIds (type organization)
emailprimaryEmail
first_name en last_namename.givenName en name.familyName
positionorganizations.title
teamorganizations.department, groepen en orgUnitPath
reports_to_employee_idrelations (type manager)
termination_date (terminated-employees)suspended = true

Related

Want to talk your integration through?

Tell us which systems you use. In a 30-minute call you hear what is possible, what you arrange yourself and how we start. We begin with the smallest integration that works.

Integrations built for Hogan Lovells, Tentoo and Evondos Group, among others.

You talk to Marcel, Mike, Dylan or Melvin, not a call centre.