Actions13
Overview
This node integrates with the myLIMS system API, allowing users to retrieve various types of information related to accounts and works managed within myLIMS. Specifically, for the Account Addresses operation, it fetches the list of addresses associated with a given account ID.
Common scenarios where this node is beneficial include:
- Retrieving detailed address information for an account to verify or update contact details.
- Integrating account address data into other workflows such as shipping, billing, or customer management systems.
- Automating reporting or auditing processes that require account location data.
Example: Given an Account ID, the node will call the myLIMS API endpoint to get all addresses linked to that account, returning them as structured JSON data for further processing.
Properties
| Name | Meaning |
|---|---|
| Account ID | The unique numeric identifier of the account whose addresses you want to retrieve. Example: 10 |
Output
The node outputs a JSON array where each item corresponds to an address record associated with the specified account. Each JSON object contains the address details as returned by the myLIMS API.
If the API supports binary data for addresses (e.g., attached documents or images), the node would handle it accordingly, but based on the code, only JSON data is returned here.
Dependencies
- Requires an active connection to the myLIMS API.
- Needs an API authentication token or key configured in n8n credentials to authorize requests.
- The node uses HTTP GET requests to specific myLIMS endpoints depending on the resource and operation selected.
Troubleshooting
API Request failed: This error indicates the node could not successfully communicate with the myLIMS API. Possible causes:
- Invalid or missing API authentication credentials.
- Incorrect Account ID provided (e.g., non-existent or malformed).
- Network connectivity issues.
- myLIMS API service downtime or endpoint changes.
Resolution:
- Verify the API credentials are correctly set up in n8n.
- Confirm the Account ID is valid and exists in the myLIMS system.
- Check network access and firewall settings.
- Consult myLIMS API status or documentation for any updates.
Unsupported resource or operation: If the node configuration specifies a resource or operation not supported by the node, it will throw an error. Ensure the Resource is set to "Account" and Operation to "Account Addresses" for this use case.
Links and References
- myLIMS API Documentation (Replace with actual URL if available)
- n8n Documentation on Creating Custom Nodes
- General REST API best practices for troubleshooting connectivity and authentication issues