Actions15
Overview
This node connects to the Tripletex API v2 and allows users to interact with various resources such as customers, products, and orders. Specifically, for the Product resource with the Get All operation, it retrieves a list of products from the Tripletex system. This operation supports pagination, field selection, and sorting, enabling efficient querying of product data.
Common scenarios where this node is beneficial include:
- Synchronizing product catalogs between Tripletex and other systems.
- Fetching product lists for reporting or inventory management.
- Automating workflows that require up-to-date product information.
For example, a user might configure this node to fetch all products starting from index 0, limiting results to 50 items, returning only the product name and price fields, sorted by name ascending.
Properties
| Name | Meaning |
|---|---|
| From | Starting index for pagination; defines the offset from which to begin fetching products. |
| Limit | Maximum number of product results to return in one request. |
| Fields | Comma-separated list of specific product fields to return (e.g., "name,unitPrice"). |
| Sorting | Sorting criteria for the results; prefix with "-" for descending order (e.g., "name" or "-name"). |
Output
The output is a JSON array containing product objects retrieved from the Tripletex API. Each object represents a product with fields depending on the requested fields parameter or default API response. Typical fields may include product ID, name, number (SKU), description, unit price, cost price, and currency.
No binary data output is produced by this operation.
Example output snippet (simplified):
[
{
"id": 123,
"name": "Product A",
"number": "SKU001",
"description": "Description of Product A",
"unitPrice": 100.0,
"costPrice": 80.0,
"currency": "NOK"
},
{
"id": 124,
"name": "Product B",
"number": "SKU002",
"description": "Description of Product B",
"unitPrice": 150.0,
"costPrice": 120.0,
"currency": "NOK"
}
]
Dependencies
- Requires an API key credential for authenticating with the Tripletex API.
- The node uses the Tripletex API base URL, which can be configured for either production or test environments via credentials.
- Network access to the Tripletex API endpoints is necessary.
Troubleshooting
- Validation errors: If required parameters like product name are missing during create or update operations, the node will throw validation errors. For "Get All," ensure numeric values for
fromandlimitare valid. - Authentication failures: Errors related to invalid or missing API credentials will occur if the API key is not set or expired.
- API rate limits or connectivity issues: Network errors or HTTP error responses from the Tripletex API should be handled by retrying or checking network status.
- Unsupported operations: Attempting an unsupported operation for the product resource will result in an error indicating the operation is not supported.
Links and References
- Tripletex API Documentation (official API docs)
- n8n documentation on HTTP Request Node for understanding underlying HTTP calls