The connector
Category: EHS and safety. Status: Available on all plans. How Spark connects: direct, through the HSI (Donesafe) API with a dedicated user whose role covers the modules you share. HSI turns on API access for your account.
What you can do with HSI EHS (Donesafe) in Spark
Read HSI module records, locations, organizations and users on a schedule, and send safety data to a plan, warehouse or BI. Write locations and organizations (including hours worked for TRIR) and users back to HSI, so its org structure matches your HRIS.
Spark reads 9 kinds of data from HSI EHS (Donesafe):
- Module (incidents, hazards, inspections, audits and so on) and its id
- Record in 1 module: an incident, hazard, inspection or other form, with its answers
- Records in 1 module created within the read window (the last 30 days unless the Circuit sets one)
- Location (site), with its parent, address and hours worked
- Organization unit (department, cost center), with its parent and hours worked
- Area within a location
- Person in HSI: name, email, position, manager, home location and organization (no birth dates or gender)
- Workflow and the module it belongs to
- Active risk matrix
What Spark writes to HSI EHS (Donesafe)
Writes only happen when you tick the permission as you add the Spark. Leave them unticked for a read-only connection.
- Updates the location a row names by id; otherwise creates it. Sets hours worked for incident rates.
- Updates the organization a row names by id; otherwise creates it. Sets hours worked for incident rates.
- Updates the person a row names by id, or the one with that email; otherwise creates them as a user. Never sets passwords: HSI sign-in (or SSO) handles that.
Common use cases for HSI EHS (Donesafe) data, and why each matters
Safety rates in the plan
Incidents and hours worked feed TRIR and LTIR, so safety targets sit in the same plan as headcount and cost.
People and sites from the HRIS
New sites, departments and employees reach HSI from the HR system, so incidents are logged against the right place and person.
EHS data in the warehouse
Module records land next to operational data for analysis across sites.
Board and ESG reporting
Safety metrics flow into the board pack without manual exports.
Training compliance by team
Training records from HSI join headcount from the HRIS, so managers see who is overdue by team and site without building a report in two systems.
Why it's hard without Spark
HSI holds rich safety data, but getting it out usually means module exports by hand, and keeping HSI's people and sites current means re-keying from HR. HSI's API returns whatever the signed-in user's role can see, so a shared admin login is a risky shortcut. Spark uses a dedicated API user, sends only mapped fields, and never writes passwords.
How Spark handles HSI EHS (Donesafe) data
- Spark does not store the business data it moves: rows pass through memory during a run.
- Each customer has its own isolated tenant.
- Credentials are sealed in your company's own vault, never shown again or logged.
- Anything that writes to a system needs the permission ticked when the Spark is added.
More on the Spark trust center.
Teams that use it
Operations, EHS and Finance and FP&A teams.
Questions
How does Spark connect to HSI EHS (Donesafe)?
An integration user and its credentials. You need an HSI administrator, your HSI address (yourcompany.donesafe.com) and API access turned on for your account (ask your HSI customer success manager).
Can Spark write to HSI EHS (Donesafe)?
Yes, when you allow it. Updates the location a row names by id; otherwise creates it. Sets hours worked for incident rates. Updates the organization a row names by id; otherwise creates it. Sets hours worked for incident rates.
Do we need HSI to turn on API access?
Yes. HSI sets up API access with your account team.
Which modules can Spark read?
Any module your API user's role can see, read as module records.
Does Spark create users with passwords?
No. Spark creates or updates users by ID or email and never sends passwords.
Where are the credentials kept?
Sealed in your company's own vault in your isolated tenant. Spark never shows them again or writes them to logs.
Connection essentials
- Method: An integration user and its credentials.
- What you need: An HSI administrator; Your HSI address (yourcompany.donesafe.com); API access turned on for your account (ask your HSI customer success manager)
- What Spark asks for: HSI address; Email; Password
- Vendor documentation: www.postman.com
- Change detection: records created in a date window you set, read 30 days at a time
- Limits to know: the API returns what the user's role can see, so give the API user only the modules you share
Set it up in 4 steps
- Ask your HSI customer success manager to turn on API access, then add a user for Spark with a role that can view the modules you need (and, to write, edit locations, organizations and people). Spark sees exactly what that role sees.
- Give the user a strong password, and keep them out of single sign-on so they can sign in with it.
- In Spark, add an HSI EHS Spark. Enter your HSI address name (yourcompany in yourcompany.donesafe.com) and the user's email and password. Spark keeps them in your company's own vault and reads your modules to check they work.
- To read incidents or another module, pick Module records in a Circuit and enter the module's id from the Modules object.
Optional permissions
Ticked when you add the Spark, and off unless marked default.
- Read (on by default): Modules and their records, locations, organizations, areas, people and workflows, as the user's role allows.
- Create and update locations, organizations and people: Tick this if the user's role can add and edit locations, organizations and people.
Everything Spark reads from HSI EHS (Donesafe)
- Module (incidents, hazards, inspections, audits and so on) and its id
- Record in 1 module: an incident, hazard, inspection or other form, with its answers
- Records in 1 module created within the read window (the last 30 days unless the Circuit sets one)
- Location (site), with its parent, address and hours worked
- Organization unit (department, cost center), with its parent and hours worked
- Area within a location
- Person in HSI: name, email, position, manager, home location and organization (no birth dates or gender)
- Workflow and the module it belongs to
- Active risk matrix
What Spark writes
- Updates the location a row names by id; otherwise creates it. Sets hours worked for incident rates.
- Updates the organization a row names by id; otherwise creates it. Sets hours worked for incident rates.
- Updates the person a row names by id, or the one with that email; otherwise creates them as a user. Never sets passwords: HSI sign-in (or SSO) handles that.
Example Circuit: HSI incidents and hours into a safety plan
Each mapping is written in Excel syntax, so finance can read and change it.
- Month:
=TEXT([Date of incident],"yyyy-mm"), the plan's month - Site:
=XLOOKUP([Location],SiteMap[HSI],SiteMap[Plan]), the plan site - Recordable:
=IF([OSHA recordable]="Yes",1,0), a recordable flag - Hours worked:
=[Hours worked], for the TRIR rate
Checks to set on this feed
- Incident counts tied out against HSI for the period
- Fail the run if a location has no mapping
- Alert if a site reports no hours for the month