Actions13
Overview
This node integrates with the myLIMS system, allowing users to retrieve data related to laboratory information management. Specifically, for the Work Samples operation under the Work resource, it fetches sample records associated with a particular work order or billing ID.
Typical use cases include:
- Retrieving all samples linked to a specific work order for further processing or analysis.
- Filtering and limiting the number of samples returned based on custom criteria.
- Integrating sample data into workflows for reporting, quality control, or downstream automation.
For example, a lab technician might use this node to pull the latest 50 samples from a given work ID to verify test results or prepare reports.
Properties
| Name | Meaning |
|---|---|
| Work ID | The unique identifier of the work order or billing record to fetch samples for. Required. |
| Top | Maximum number of sample records to return. Default is 50. |
| Filter | Optional filter string to apply to the query, following the API's filtering syntax. |
Output
The node outputs an array of JSON objects representing the samples associated with the specified work ID. Each object corresponds to a sample record as returned by the myLIMS API.
The exact structure depends on the API response but typically includes sample identifiers, descriptions, statuses, and other metadata relevant to each sample.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the myLIMS API via an API key credential configured in n8n.
- The node uses HTTP GET requests to interact with the myLIMS REST endpoints.
- Proper network access and authentication permissions are necessary to retrieve work sample data.
Troubleshooting
API Request failed: [message]
This error indicates that the request to the myLIMS API did not succeed. Common causes include invalid Work ID, expired or missing API credentials, network issues, or incorrect filter syntax.
Resolution: Verify the Work ID exists, check API credentials, ensure network connectivity, and confirm the filter string follows the API specification.Unsupported resource: work or Unsupported operation
These errors occur if the resource or operation parameters are set incorrectly or unsupported values are used.
Resolution: Confirm that "Work" is selected as the resource and "Work Samples" as the operation, and that all required properties are provided.If no samples are returned, check that the Work ID is correct and that there are samples associated with it in the myLIMS system.
Links and References
- myLIMS API Documentation (for filter syntax and endpoint details)
- n8n Documentation on creating and using API credentials
- General REST API usage guidelines