Skip to main content

How does the managed integration with Employment Hero work?

Learn more about our managed integration with Employment Hero, to sync user data from Employment Hero into Tribal Habits.

Written by Lou Monsour
Sign in - Employment Hero


Overview

Our managed integration with Employment Hero syncs employees from Employment Hero into Tribal Habits and can send completed training records back to their Certifications in Employment Hero. This article covers the details and options specific to the Employment Hero integration. For a general overview of managed integrations, see How do managed integrations work?

Important: This integration is available on Business 50 plans and above as an annual add-on. It isn’t available on Lite or legacy monthly plans. If you’d like it activated, contact our team.

Check your Employment Hero plan: The integration needs API access, which Employment Hero only includes on some plans. Check your plan includes it before you start. If you’re not sure, contact Employment Hero.

Key concepts

  • Active: The Employment Hero employee status that’s synced to Tribal Habits

  • Webhook: A message Employment Hero sends to the integration when something changes, such as an employee being created or updated, so the change syncs as it happens

  • Groups: An Employment Hero grouping of employees (called teams in the Employment Hero API), which can be synced into one or more Tribal Habits custom fields

  • Certification: A record held against an employee in Employment Hero, such as completed training

  • Certification ID: Employment Hero’s unique ID for a Certification. Employment Hero doesn’t show it, so we email it to you whenever a Certification is created

  • External ID: The field on a Tribal Habits Topic or Pathway that holds the Certification ID it’s mapped to

  • API application: The record created in the Employment Hero Developer Portal that lets the integration connect to your Employment Hero account

  • Service user: An Employment Hero admin user that isn’t tied to an employee and exists only to run your integrations

  • Two-way sync: User data flows from Employment Hero to Tribal Habits, and completed training can optionally be sent back to Employment Hero

What the integration does

Once connected, Employment Hero holds the master record for your users, and changes made to mapped fields in Employment Hero are applied in Tribal Habits automatically. If you use the training sync, completed training is also sent back to Employment Hero:

When this happens

The result

Active employee created in Employment Hero

Tribal Habits User created or reactivated

Employee’s mapped field(s) updated in Employment Hero

Tribal Habits User’s mapped field(s) updated

Termination date set for an employee in Employment Hero, such as during offboarding

Tribal Habits User’s deactivation scheduled for that date

Employee’s status changes from active in Employment Hero

Tribal Habits User deactivated immediately, training history kept

Tribal Habits User completes a Topic or Pathway with a Certification ID in its External ID (optional)

Employee’s Certification created or updated in Employment Hero, if they’re assigned that Certification

Title: The Offboard Employee window in Employment Hero, with the Te - Description: The Offboard Employee window in Employment Hero, with the Termination date field at the top

How the integration works

The Employment Hero integration is webhook-based. Employment Hero tells the integration when an employee is created or updated, so changes are applied in Tribal Habits as they happen. If you use the training sync, completed training is also sent to Employment Hero as soon as it’s completed.
​

Sync frequency

User data syncs as changes happen in Employment Hero, through webhooks.

Completed training is sent to Employment Hero as soon as it’s completed, usually within a minute.
​

Which users are synced?

Every employee with an active status in Employment Hero. By default, a new employee is synced as soon as they’re created in Employment Hero.

  • If you’d like employees to appear in Tribal Habits at a different point in your process, we can work with you at kick-off to choose the Employment Hero events that start the sync.

  • We can also add custom logic to include or exclude employees based on almost any standard field in Employment Hero, such as employing entity, location, employment type or cost centre.

If an employee stops meeting your custom logic (for example, they move to an employing entity that isn’t synced), by default they stay active in Tribal Habits but are no longer updated. If you’d rather they were deactivated, we can usually apply the same logic to deactivations. We’ll agree this at kick-off.
​

Username options

Any of these Employment Hero fields can be used as the Tribal Habits username:

  • Employment Hero employee ID: id - It never changes, even if the employee’s email does, so it suits organisations without SSO and with frequent email changes.

  • Account email: account_email - the email address the employee uses to sign in to Employment Hero.

  • Company email: company_email - Email is usually the only field shared by every system involved, so it suits organisations that use a third-party identity provider (IdP) for SSO.

  • Personal email: personal_email - if it’s unique to each employee and unlikely to change.

The username also decides what happens when someone returns. If they come back with the same value in the username field, their Tribal Habits User is reactivated with their training history intact.
​

Employee fields available to sync

These Employment Hero employee fields are available. At kick-off we agree which to map and where they go in Tribal Habits, usually into Tribal Habits custom fields.

Category

Employment Hero fields (API name)

Typical use in Tribal Habits

Identity

id, account_email, company_email, personal_email, code, external_id

Matching Users and setting the username

Name

first_name, middle_name, last_name, known_as

User’s name

Employment

employment_type, employing_entity, start_date, termination_date, status, independent_contractor

Reporting, filtering, enrolment rules, and active or deactivated

Position

job_title, teams (Groups), location

Reporting, filtering and enrolment rules

Cost centres

primary_cost_centre, secondary_cost_centres

Reporting, filtering and enrolment rules

Managers

primary_manager, secondary_manager

Your reporting hierarchy, using primary and secondary managers

Custom fields

Any Employment Hero custom field (optional)

Any additional data you hold in Employment Hero

Employees can belong to more than one group and have secondary cost centres. These are synced into Tribal Habits list custom fields, which can hold more than one value.

Managers are also employees in Employment Hero, so at kick-off we agree which of their email fields is used for your reporting hierarchy. This is usually the same field as the employee’s username. Other fields can be added on request.

How the training sync works

The training sync is optional. When a User completes a Topic or Pathway with an Employment Hero Certification ID in its External ID, the matching Certification is created or updated for them in Employment Hero.

What’s sent to Employment Hero

  • Completion: The Certification is created with the completion date, or updated if the employee already has one.

  • Certificate number: Only if the Certification asks for a certification number in Employment Hero. It’s the certificate ID from Tribal Habits, and the integration includes it automatically when it’s needed.

  • Expiry date: Only if the Certification is set to Expiry date in Employment Hero. It’s taken from the Topic or Pathway’s certified date.

  • Certificate: Only if the Certification requires supporting documentation in Employment Hero. The certificate PDF is uploaded and attached to the Certification

  • When someone recertifies, their existing Certification is updated, so it always reflects their latest training.

Which training is sent?

Only training whose Topic or Pathway has an Employment Hero Certification ID in its External ID field. Topics and Pathways without one are ignored. The employee must also be assigned the Certification in Employment Hero.
​

Employment Hero doesn’t let a Certification be created or updated for an employee who isn’t assigned it, so their completion is rejected and an error notification is sent.

We recommend setting the Certification type in Employment Hero to Training for Certifications you map. Other Certification types should work, but Training is the one we recommend.
​

Certification settings must match in both platforms

Employment Hero is strict about what a Certification accepts. Each mapped Topic or Pathway must have settings that match its Certification exactly:

Employment Hero Certification setting

Tribal Habits Topic or Pathway setting

How often does the certification need to be renewed? set to Expiry date

Certified date set to one of the Yes options

How often does the certification need to be renewed? set to One-off or Renewing

Certified date set to None

Require the personnel to provide supporting documentation? set to Documentation Required

Certificate set to Show

Require the personnel to provide supporting documentation? set to Not Required

Certificate set to Hide

With Renewing, Employment Hero works out when the Certification is next due itself, so no expiry date is sent. If you want the certified date in Tribal Habits to set the expiry date in Employment Hero, use Expiry date instead.

If the settings don’t match, Employment Hero rejects each completion and an error notification is sent. For example, if the Certificate is set to Show in Tribal Habits but the Certification doesn’t require supporting documentation in Employment Hero, the integration tries to upload the certificate and Employment Hero rejects it.

Title: Certification settings for Basic Driver and Road Safety in E - Description: Certification settings for Basic Driver and Road Safety in Employment Hero, showing how often it needs to be renewed and whether supporting documentation is required

Title: The Certification settings for a Topic in Tribal Habits, sho - Description: The Certification settings for a Topic in Tribal Habits, showing the Certificate and Certified date options

Certification created and deleted emails

Employment Hero doesn’t show Certification IDs in the browser UI, so the integration watches for Certifications being created or deleted and emails your nominated notification address. These emails come from [email protected], so make sure they aren’t filtered out as spam:

  • Certification created: The email includes the new Certification’s ID. If you want to map it to a Topic or Pathway, paste the ID into that Topic or Pathway’s External ID in Tribal Habits.

  • Certification deleted: If the deleted Certification was mapped, remove its ID from the Topic or Pathway’s External ID in Tribal Habits. Otherwise, every completion of that training sends an error notification.

Title: Example Certification created email from <a href="mailto:mailer@au.workato.c" target="_blank" rel="nofollow noopener noreferrer">mailer@au.workato.c</a> - Description: Example Certification created email from <a href="mailto:mailer@au.workato.com" target="_blank" rel="nofollow noopener noreferrer">mailer@au.workato.com</a>, with the UID of the new Basic Driver and Road Safety Certification to paste into the External ID field

Title: Example Certification deleted email from <a href="mailto:mailer@au.workato.c" target="_blank" rel="nofollow noopener noreferrer">mailer@au.workato.c</a> - Description: Example Certification deleted email from <a href="mailto:mailer@au.workato.com" target="_blank" rel="nofollow noopener noreferrer">mailer@au.workato.com</a>, with the UID of the deleted Basic Driver and Road Safety Certification to remove from the External ID field

Optional name filter: If you create a lot of Certifications in Employment Hero that aren’t related to Tribal Habits training, we can limit these emails to Certifications whose name follows a pattern you choose, such as starting with TH-. You’ll then only receive emails for Certifications in Employment Hero that follow the pattern.

Important: If you use a name filter, every Certification you map must follow the pattern in Employment Hero. If a mapped Certification doesn’t follow it:

  • You won’t receive the Certification created email, so you won’t get its Certification ID. Contact our Integrations team for the ID and rename the Certification in Employment Hero so it follows the pattern.

  • You won’t receive the Certification deleted email if it’s deleted in Employment Hero. Its ID stays in the Topic or Pathway’s External ID in Tribal Habits, and every completion of that training sends an error notification until you remove it. Renaming the Certification to follow the pattern means you’ll receive this email.

Mapping training to Certifications

We’ll help with the initial setup at the set-up call, including giving you a list of your existing Certifications and their IDs. You then set up the mappings yourself, and can map more training at any time by following the same steps.

(A) Create the Certification in Employment Hero

  1. Create the Certification in Employment Hero, using the Training type.

  2. Note its How often does the certification need to be renewed? and Require the personnel to provide supporting documentation? settings. You’ll match these in Tribal Habits in step (D)

  3. Assign the Certification to the employees who’ll complete the training.

(B) Find the Certification ID

  1. For a new Certification, find the ID in the Certification created email we send to your notification address. If you use a name filter, the Certification’s name in Employment Hero must follow the pattern, or you won’t receive the email.

  2. For an existing Certification, use the list of Certification IDs we gave you at the set-up call, or contact our Integrations team.

(C) Add the Certification ID to your Topic or Pathway

  1. In Tribal Habits, go to Admin > Knowledge and open the Topic or Pathway.

  2. Go to its Settings tab and paste the Certification ID into the External ID field.

(D) Match the Certification’s settings

  1. If the Certification is set to Expiry date in Employment Hero, set the Certified date to one of the Yes options. If it’s set to One-off or Renewing, set it to None.

  2. If the Certification is set to Documentation Required in Employment Hero, set the Certificate to Show. If it doesn’t, set it to Hide.

Important: If the settings don’t match, every completed enrolment sends an error notification until they’re fixed. Completions that failed aren’t sent again once the settings are fixed. If you need them in Employment Hero, contact our Integrations team and we can backfill them for you.

Security and permissions

The integration reads employee data from Employment Hero. If you use the training sync, it also creates and updates Certifications and uploads certificate files. It never changes employee details in Employment Hero.
​

How the connection is authorised

Your Employment Hero admin creates an API application in the Employment Hero Developer Portal, with the scopes listed below. During the set-up call, they then sign in to our integration platform with a temporary login and authorise the connection via OAuth.
​

Create the API application and authorise the connection with a service user, as described in the best practices in How do managed integrations work?
​

API scopes requested

• Certifications: Read, Create, Update

• Custom fields: Read

• Employee custom fields: Read

• Employees: Read

• Employees certifications: Read

• Employment histories: Read

• Teams: Read

• Work sites: Read

• Organisations: Read
​

Webhooks

Your Employment Hero admin creates the webhooks during the set-up call, and we’ll walk them through it. Each webhook has its own URL, which we give you. Give each webhook a name that’s meaningful to your team, so it’s easy to recognise later.

Employee webhook, for syncing employees. Select these events:
​

• employee_created

• employee_updated

• employee_offboarding

• employment_history_created

• employment_history_updated

• employee_custom_field_created

• employee_custom_field_updated

Title: The Add new webhook window in Employment Hero, with the seve - Description: The Add new webhook window in Employment Hero, with the seven employee webhook events selected

Certification webhook, for the Certification created and deleted emails. This is only needed if you use the training sync. Select these events:
​

• certification_created

• certification_deleted

Title: The Add new webhook window in Employment Hero, with certific - Description: The Add new webhook window in Employment Hero, with certification_created and certification_deleted selected

If you’d like employees to sync at a different point in your process, the events for the employee webhook may differ. We’ll agree these at kick-off.
​

Best practices

These practices are specific to Employment Hero and add to the best practices in How do managed integrations work?
​

Set up a service user, including for SSO if you use it

Employment Hero integrations are tied to the user who creates and authorises them, so use a service user rather than an employee who may leave. If you use SSO to sign in to Employment Hero, the service user also needs to be set up in your identity provider (IdP), with a company_email in Employment Hero that matches its email address there.
​

If adding a service user affects your Employment Hero subscription, talk to Employment Hero about your options.
​

Match Certification settings in both platforms

Each mapped Topic or Pathway’s Certified date and Certificate settings must match whether its Certification requires an expiry date and supporting documentation in Employment Hero. Check both whenever you map training, or change a Certification’s settings in Employment Hero. See Certification settings must match in both platforms under How the training sync works.
​

Assign mapped Certifications to employees in Employment Hero

Make sure every employee who’ll complete mapped training in Tribal Habits is assigned the matching Certification in Employment Hero. Otherwise, their completion can’t be sent to Employment Hero, and an error notification is sent.
​

Use the Training type for Certifications

When you create a Certification in Employment Hero that you’ll map to Tribal Habits training, set its Certification type in Employment Hero to Training.
​

Remove the External ID when you delete a Certification

Before or straight after deleting a mapped Certification in Employment Hero, remove its ID from the Topic or Pathway’s External ID in Tribal Habits. Otherwise, every completion of that training sends an error notification.
​

If you use a name filter, follow the pattern for every mapped Certification

If the Certification created and deleted emails are limited by a name filter (such as a TH- prefix), make sure every Certification in Employment Hero that’s mapped to Tribal Habits training follows the pattern. Otherwise, you won’t receive its emails, including the reminder to remove its ID from Tribal Habits when it’s deleted in Employment Hero.
​

Setting up the integration

Setup follows the same four steps as all managed integrations, described in How do managed integrations work? These are the Employment Hero-specific parts.
​

Step 1: Kick-off call (30 min)

As well as the general kick-off topics, we agree:

  • When new employees should be synced (by default, when they’re created in Employment Hero) and the webhook events that suit your process

  • Who should be synced (active employees by default) and any custom inclusion or exclusion logic, such as by employing entity or location, including whether employees who stop meeting it should be deactivated

  • Which username option to use (see Username options under How the integration works)

  • Which Employment Hero fields and custom fields to map and the Tribal Habits fields they map to

  • Whether to keep your manager hierarchy, using primary managers, secondary managers or both

  • Whether completed training should be sent to Employment Hero Certifications and, if so, whether to limit the Certification created and deleted emails with a name filter (such as a TH- prefix)
    ​

Step 2: Preparation

We build your integration, which usually takes a few days. In the meantime, your admin:

  • Checks your Employment Hero subscription includes API access

  • Sets up an Employment Hero service user (see Set up a service user, including for SSO if you use it under Best practices)

  • Creates any Tribal Habits custom fields needed for the mapped fields

  • Decides on the email address for error notifications and Certification emails, ideally a shared or group inbox
    ​

Step 3: Set-up call (30–60 min)

Your Employment Hero admin, signed in as the service user, creates the API application, authorises the connection and creates the webhooks. We then test the integration with you during the call, starting with a small number of employees before syncing the rest of your active employees. As part of testing, your admin makes a small temporary change to a test employee in Employment Hero, such as their middle name, so we can check the change syncs to Tribal Habits.
​

If you’re using the training sync, we’ll give you a list of your existing Certifications and their IDs, walk you through mapping training to Certifications and test it too.
​

What to have ready for the set-up call

  • Access to the Employment Hero Developer Portal

  • Sign-in details for the service user

  • A test employee in Employment Hero whose details can be changed during testing

  • An email address for error notifications and Certification emails, ideally a shared or group inbox, if you haven’t already sent it to us
    ​

Step 4: Monitoring

After the set-up call, we monitor the integration for a period, depending on its complexity and the volume of data.
​

After go-live

These tasks are specific to Employment Hero. For other changes, see After go-live in How do managed integrations work?
​

Mapping more training to Certifications

Follow the steps in Mapping training to Certifications. You don’t need to contact us, as new mappings are picked up automatically.
​

Deleting a mapped Certification

Remove the Certification ID from the Topic or Pathway’s External ID in Tribal Habits. You’ll also receive a Certification deleted email as a reminder.
​

Changing the account that authorised the connection

If the authorising account needs to change (for example, moving from an individual’s user account to a service user), contact our Integrations team to arrange a short call to re-authorise the connection.
​

Troubleshooting

These issues are specific to Employment Hero. For other issues, see Troubleshooting in How do managed integrations work?
​

An employee isn’t syncing

  • Likely causes: The employee’s status in Employment Hero isn’t active, they’re excluded by your integration’s logic (for example, by their employing entity or location in Employment Hero), or a webhook in Employment Hero has been deleted or no longer includes the right events.

  • What to do: In Employment Hero, check the employee’s status and details, and check your webhooks still exist with the events listed under Webhooks.

  • When to contact us: If everything looks correct in Employment Hero and the employee still isn’t syncing to Tribal Habits.

Completed training isn’t appearing in Employment Hero

  • Likely causes: The employee isn’t assigned the Certification in Employment Hero, the Topic or Pathway in Tribal Habits has no Certification ID in its External ID, the ID is wrong, or the Topic or Pathway’s settings in Tribal Habits don’t match the Certification’s settings in Employment Hero. For example, the Certified date or Certificate setting is on in Tribal Habits, but the Certification in Employment Hero doesn’t require an expiry date or supporting documentation, or the other way around.

  • What to do: Check for an error notification. In Employment Hero, check the employee is assigned the Certification. Then check the External ID and settings on the Topic or Pathway in Tribal Habits against the Certification’s settings in Employment Hero (see Certification settings must match in both platforms). Completions that failed aren’t sent again once the problem is fixed. If you need them in Employment Hero, contact our Integrations team and we can backfill them for you.

  • When to contact us: If everything is set up correctly in both platforms and new completions still aren’t appearing in Employment Hero.

Completions fail after a Certification was deleted

  • Likely cause: The Certification was deleted in Employment Hero, but its ID is still in the Topic or Pathway’s External ID in Tribal Habits. If you use a name filter and the Certification’s name didn’t follow the pattern, you won’t have received a Certification deleted email as a reminder.

  • What to do: In Tribal Habits, remove the ID from the Topic or Pathway’s External ID, or replace it with the ID of the Employment Hero Certification you want to use instead.

We didn’t receive a Certification created or deleted email

  • Likely causes: The emails are limited by a name filter and the Certification’s name in Employment Hero doesn’t follow the pattern (such as a TH- prefix), the emails are being filtered as spam, or the Certification webhook in Employment Hero has been deleted or no longer includes the right events.

  • What to do: Check your spam filter for emails from [email protected], and check the Certification webhook still exists in Employment Hero with the events listed under Webhooks. If you need the ID of a Certification, contact our Integrations team. If a mapped Certification was deleted in Employment Hero, remove its ID from the Topic or Pathway’s External ID in Tribal Habits.

  • If a mapped Certification’s name doesn’t follow the pattern: Rename it in Employment Hero so it does. You won’t receive a Certification created email for it, but you will receive a Certification deleted email if it’s deleted later.
    ​

The sync has stopped

  • Likely causes: The service user in Employment Hero has been disabled or deleted, or has lost admin access. API access may also have been removed from your Employment Hero subscription, or the API application or webhooks deleted in Employment Hero.

  • What to do: In Employment Hero, check the service user and your API access, then contact us to re-authorise the connection.

  • When to contact us: Immediately, so we can restart your sync.
    ​

FAQs

Does training data flow back to Employment Hero?

Yes, if you want it to. When a User completes a Topic or Pathway in Tribal Habits that has an Employment Hero Certification ID in its External ID, the matching Certification is created or updated in Employment Hero. See How the training sync works.
​

What happens when someone recertifies?

When they complete the training again in Tribal Habits, their existing Certification in Employment Hero is updated, so it always reflects their latest training.
​

Can the certificate PDF be uploaded to Employment Hero too?

Yes. Where a Certification in Employment Hero requires supporting documentation, the Tribal Habits certificate PDF is uploaded and attached to it. The Topic or Pathway’s Certificate setting in Tribal Habits needs to be set to Show.
​

Why do we get an email when a Certification is created or deleted in Employment Hero?

Employment Hero doesn’t show Certification IDs in the browser UI, so we email them to you. That way you have the ID you need to map a new Certification to a Topic or Pathway in Tribal Habits, and a reminder to remove the mapping in Tribal Habits when one is deleted in Employment Hero. See Certification created and deleted emails.
​

Can we only get emails for Certifications related to Tribal Habits training?

Yes. We can limit the Certification created and deleted emails to Certifications whose name in Employment Hero follows a pattern you choose, such as starting with TH-. If you do, every Certification you map must follow the pattern, or you won’t receive its emails. See Certification created and deleted emails.
​

What happens if we delete a mapped Certification in Employment Hero?

Completions of that training in Tribal Habits can’t be sent to Employment Hero, and each one sends an error notification until you remove the Certification ID from the Topic or Pathway’s External ID in Tribal Habits.
​

What happens if an employee completes mapped training but isn’t assigned the Certification in Employment Hero?

Employment Hero doesn’t let a Certification be created or updated for an employee who isn’t assigned it, so the completion can’t be sent and an error notification is sent. Assign the Certification to the employee in Employment Hero. Completions that failed aren’t sent again automatically, so if you need them in Employment Hero, contact our Integrations team and we can backfill them for you.
​

What happens if an employee no longer meets our custom inclusion logic?

By default, they stay active in Tribal Habits but are no longer updated from Employment Hero. If you’d rather they were deactivated, we can usually apply the same logic to deactivations. Contact our Integrations team to discuss.
​

Can we use Certification types other than Training?

Other Certification types in Employment Hero should work, but we recommend setting the Certification type in Employment Hero to Training for Certifications you map to Tribal Habits training.

Did this answer your question?