Actions20
Overview
This node interacts with the ShipTown API to retrieve data collector records. Specifically, the "Get All" operation under the "Data Collector" resource fetches multiple data collector records from the ShipTown system. This is useful for workflows that need to aggregate or analyze data collected by ShipTown's data collection features.
Common scenarios include:
- Retrieving all data collector records for reporting or auditing.
- Integrating ShipTown data collector information into other systems or dashboards.
- Automating data synchronization between ShipTown and external databases.
For example, a user might use this node to pull all recent data collector entries and then filter or process them further in an n8n workflow.
Properties
| Name | Meaning |
|---|---|
| Limit | Max number of results to return. Minimum value is 1. |
| Return All | Whether to return all results or only up to the specified limit. Options: true or false. |
Output
The output is a JSON array where each item represents a data collector record retrieved from the ShipTown API endpoint /api/data-collector-records.
Each JSON object corresponds to one data collector record with its associated fields as provided by the ShipTown API.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the ShipTown API.
- The node expects the ShipTown API base URL to be configured via credentials.
- Network access to the ShipTown API endpoints is necessary.
Troubleshooting
Common issues:
- Authentication failures due to missing or invalid API credentials.
- API rate limits or timeouts if requesting too many records without pagination.
- Incorrect base URL configuration in credentials causing connection errors.
Error messages:
- Errors returned from the API will be included in the output if "Continue On Fail" is enabled.
- Typical error messages may include authentication errors ("Unauthorized"), request limit exceeded, or invalid parameters.
Resolutions:
- Verify that the API key credential is correctly set up and has appropriate permissions.
- Use the "Limit" property to restrict the number of records fetched per request.
- Enable "Return All" cautiously, especially if expecting large datasets.
- Check network connectivity and correct API base URL configuration.
Links and References
- ShipTown API Documentation (for detailed API endpoints and data formats)
- n8n documentation on HTTP Request Node (conceptual reference for API calls)