Sync contacts from Google Workspace

If your organization uses Google Workspace, Mojo Helpdesk can keep your contacts up to date from it. Once a night, it creates a contact for each new person in the Google organizational units you choose, updates the details of existing contacts, and deactivates contacts whose Google account was suspended or archived.

Adding or removing contacts does not change your subscription cost.

Who can set it up

  • The help desk owner and admins, from the agent portal in a browser
  • At Google, sign in with a Google Workspace super admin account. Mojo only reads your users and organizational units. It never changes anything in Google
  • The help desk must be verified by Mojo Helpdesk. Until then, the page says Available once your help desk is verified.

Connect Google Workspace

  1. Click the waffle icon in the upper right and select Account administration
  2. Navigate to Contacts > Synchronizations
  3. Next to Google Workspace user sync, click Connect
  4. Sign in at Google and allow access
  5. Back in Mojo, check the name of your help desk on the confirmation page and click Connect

Finish the connection in the same browser, signed in to Mojo as the admin who clicked Connect.

The Synchronizations page in account administration, with the Google Workspace user sync card and its Connect button, and Skyward and Clever marked Coming soon.

Set up the sync

After you connect, a Set up window walks you through three steps:

  1. Pick organization units: tick the Google organizational units whose people should become contacts. Include sub-units is switched on for each unit you tick
  2. Map contact fields: choose which Google field fills each contact field (see below)
  3. Ready: click Run now to run the first sync straight away, or Run later to wait for the nightly sync

If you close the window early, the page shows Setup not finished with a Continue setup button. Nothing is synchronized until at least one unit is chosen.

Choose which fields are filled

The field mapping lists each contact field and the Google field it Comes from. Click Choose to pick one. Changes are saved straight away.

  • Contact fields that can be filled: First name, Middle name, Last name, Work phone, Cell phone, Home phone, Fax, Address, and your text, multi-line and drop-down contact fields
  • Google fields you can use: given name, family name, full name, work, mobile and home phone, work fax, job title, department, cost center, organizational unit, employee id and address
  • First and last name come from Google's given and family name until you change them
  • A contact's email address, role, group, password and active status are never changed by the sync

A filled field is overwritten on every sync. A blank value in Google never clears what Mojo has. For a drop-down field, the Google value must match one of its options.

What a sync does

  • Matching: a Google user is matched to a contact by the Google account first, then by email address.
  • New people: a contact is created for each active Google user in the chosen units who has none. No invitation email is sent.
  • Updates: the mapped fields of existing contacts are updated.
  • Deactivation: a contact whose Google user is suspended or archived is deactivated. Mojo checks the user with Google again first. People deleted from Google or moved out of the chosen units are not deactivated, and a deactivated contact is never reactivated by the sync.
  • Staff are never touched: agents, managers, admins and the owner are left as they are, even when they are in a chosen unit.

The sync runs every night from 2:00 AM UTC; the page shows the Next sync. Click Run now to run it at any time. On the Units tab you can change the units later.

Check what happened

The History tab lists the latest runs, each marked Nightly sync or Manual sync, with how many contacts were created, updated and deactivated. Open a run to see examples of each. A contact that could not be updated is listed with the reason, such as:

  • Address differs from Google: the contact's email address in Mojo is not the one Google has
  • Address belongs to another Google user: the email address is already linked to a different Google user

When you run a sync yourself, Mojo emails you when it finishes. A nightly sync sends no email unless it fails; then one email goes to the admin who connected Google Workspace (or to another admin), and no more until a sync succeeds again.

Unlink a contact

If a contact was matched to the wrong Google user, open the contact, click the ... menu at the top and choose Unlink from Google user. The next sync matches the contact by email address again. Only admins see this option.

Stop the sync

The menu at the top of the Google Workspace page offers:

  • Remove user sync: stops synchronizing contacts and keeps the Google Workspace connection
  • Disconnect Google: stops the sync and removes the connection, the sync history and the stored links to Google users. Contacts already created stay. If you reconnect later, contacts are matched by email address again

Related