Export Oracle employee data to encrypted archives

Recipe ToolsDatabaseData ParserMarketingUtilitiesDeveloper ToolDocument/FileDocument ManagementFile Transfer

What it does

When someone calls this automation, it extracts employee records from Oracle and converts them to Excel. The file is encrypted with separate keys and uploaded to on-premises storage, Sharepoint, and an SFTP server, with a job report confirming completion.

Who it's for

HR teams who need to archive employee data across multiple secure locations without manual export steps.

How teams use this

Archive employee records monthly

Extract all active employees from Oracle on a schedule, encrypt with separate keys for compliance, and store in three locations. The job report confirms each archive is done and where files are kept.

Audit employee data across systems

Run the export on demand to compare Oracle records with employee data and identify home company differences. Excel format makes it easy to spot discrepancies in a spreadsheet.

Add a compliance check before upload

Include a validation step that checks row counts and required fields before encryption so incomplete exports are caught. Only files that pass the check are encrypted and sent to storage.

Route archives to different teams

Set up conditional logic to send encrypted files to HR on-premises, Finance to Sharepoint, and IT to the SFTP server based on data type. Each team gets only the records they need.

How it works

  1. Start the employee data export. A function call initiates the automation in real time to extract and archive employee records from Oracle.
  2. Query employee records from Oracle. Run custom SQL to fetch employee data from Oracle in batch mode, then compose the results into a CSV file.
  3. Convert CSV to Excel format. Execute JavaScript code to transform the CSV into an Excel file so the data is ready for encryption and storage.
  4. Encrypt and distribute the file. Encrypt the Excel file with the IT Key, then upload to on-premises storage, Sharepoint, and an SFTP server. Encrypt again with the IT Archive Key and upload to on-premises backup.
  5. Log the export result. Write a message to the job report with the timestamp and file locations so the team knows the archive is complete.