Sync HRIS historical data to Healthefx weekly

Recipe ToolsDatabaseData ParserMarketingUtilitiesDocument/FileDeveloper ToolFile Transfer

What it does

When someone calls this automation, it retrieves two years of payroll history from Oracle and filters employee records. The data is formatted into a CSV file, uploaded to Healthefx via SFTP, and Teams receives a notification when the sync completes or fails.

Who it's for

HR teams who need to sync historical HRIS data to Healthefx without manual exports and uploads.

How teams use this

Sync payroll history on a weekly cadence

Run the extraction every week so Healthefx always has the latest two years of employee payroll data without manual intervention. The team receives a Teams notification when the sync finishes.

Filter employees by department or status

Modify the Oracle query to include only active employees or a specific department, so Healthefx receives only the records the team needs. The upload format and schedule stay the same.

Archive extracted files on premises

Save a copy of each CSV to the on-premises file system before uploading to Healthefx, so the team has a local backup of every weekly extract. Add the Onprem Files step to store the file.

Alert on missing or invalid employee records

Check for employees in the payroll data that lack an employee number or have incomplete fields, and send a separate Teams alert if any are found. The main upload proceeds with valid records only.

How it works

  1. Start the weekly data extract. A scheduled function call initiates the automation to pull two years of payroll history from Oracle and prepare it for Healthefx.
  2. Query historical payroll records. Run custom SQL in Oracle to retrieve employee payroll data from the past two years, filtering by the lookup table entries.
  3. Format data for upload. Parse and structure the Oracle results into a CSV file that matches the Healthefx schema and requirements.
  4. Upload CSV to Healthefx via SFTP. Send the formatted CSV file to Healthefx through SFTP so the payroll system has the latest historical records available.
  5. Notify HR in Teams. Post a message to Teams confirming the upload completed or alerting the team if the extraction or transfer failed.