HeartLab Agent
The HeartLab Agent enables automated delivery of HeartLab reports to local directories, as well as automatic sending of cardiac stress test files into HeartLab.
Applies to
- Users with Other Administrative Tasks permission (typically Administrators)
Install the Agent
It is recommended to install the HeartLab Agent on a machine that remains online and logged in regularly, so downloads are reliable. To install the Agent:
- Navigate to Settings > Integrations > Agent.

- Click Download Agent Installer
- Complete installation on the target machine.
The Agent will run in the system tray (not as a regular application).
Configuring the Agent
- Navigate to Settings > Integrations > Agent.
- Click Create Agent in HeartLab, enter a name and click Create Agent.
- Note the 'Agent URL' and 'Agent Token' - this will only be shown once.

- Open the Agent app and navigate to Authentication.
- Paste the 'Agent URL' and 'Agent Token' from HeartLab into the Agent.

- Click Test Connection to verify the setup. You should see 'Connection Test succeeded.'
Report Deliveries
The Agent can automatically deliver finalised reports to a specified local directory.
- In the Agent app, navigate to Report Delivery.

- Tick the 'Enabled' checkbox.
- Set the target directory where reports should be delivered.
- In HeartLab, navigate to Settings > Reporting > Distributions.

- Click Create Distribution.
- Select Agent as the distribution type.

- Select the relevant Agent integration.
- Configure additional settings:
- File format
- File naming convention
- Verify delivery by completing a final report for a study in HeartLab.
The distribution icon should appear in the Study List to indicate delivery status. Delivery to the agent may take up to 1 minute.
Stress Test Uploads
The Agent can automatically upload cardiac stress test files (XML + PDF pairs) into HeartLab. Supported vendors include Cardiosoft and Norav. To configure the Agent:

- Open the Agent app and navigate to Stress Test Uploads.
- Tick the 'Enabled' checkbox.
- Set the Upload Folder from which the Stress Test files will be retrieved.
- Place XML and PDF files in the Upload Folder.
The Agent will periodically scan the folder and upload matching file pairs to HeartLab. Successful uploads are moved to a 'processed' folder, while unsuccessful uploads are moved toa. 'failed' folder.
Users can click “Retry All Failed” in the HeartLab upload dialog to reattempt any failed uploads.
Notes
- XML and PDF files must have identical filenames (excluding extension).
- Uploads are processed automatically at regular intervals.
- Failed uploads include error details for troubleshooting.