
Tiny ERP
Actions9
- Products Actions
- Orders Actions
- Users Actions
Overview
The node integrates with the Tiny ERP system to manage product data in bulk. Specifically, the "Create Products Batch" operation allows users to create multiple product records in a single API call, which is efficient for onboarding or updating large inventories quickly.
This batch creation is useful when you have up to 20 new products to add at once, such as when importing a new catalog or syncing product data from another system. Instead of creating each product individually, this operation reduces the number of API calls and speeds up the process.
Example use cases:
- Importing a list of new products from a CSV or JSON file.
- Syncing product data from an external database or e-commerce platform.
- Automating bulk product creation during initial setup or periodic updates.
Properties
| Name | Meaning |
|---|---|
| Products Data | An array of product objects to create in batch. Each object represents one product with its details. Maximum 20 products per batch. Example fields include product code, name, unit, price, and origin. |
| Batch Size | Number of products to process per batch. Must be between 1 and 20. Controls how many products are sent in each batch request. |
Output
The node outputs an array of JSON objects representing the results of the batch product creation. Each item corresponds to a product created or an error related to that product if any occurred.
- The
jsonoutput field contains the response data from the Tiny ERP API for each product created. - If errors occur during processing, the output may include error messages associated with specific products.
- This node does not output binary data.
Dependencies
- Requires an API key credential for authenticating with the Tiny ERP API.
- The node depends on the Tiny ERP service being accessible and the API credentials having permissions to create products.
- No additional environment variables are explicitly required beyond the API authentication setup.
Troubleshooting
- Batch size limit exceeded: The API restricts batch creation to a maximum of 20 products. Setting a batch size above 20 will cause errors.
- Invalid product data: If any product object lacks required fields or has invalid values (e.g., missing product code or price), the API may reject the entire batch or individual items.
- Authentication errors: Ensure the API key credential is valid and has sufficient permissions.
- Network or API downtime: Temporary connectivity issues can cause failures; retrying later may resolve these.
- Error messages returned by the node will include the error text from the API, helping identify issues like duplicate product codes or invalid field formats.
To resolve common errors:
- Validate your product data before sending.
- Keep batch sizes within allowed limits.
- Verify API credentials and permissions.
- Check network connectivity and API status.
Links and References
- Tiny ERP official API documentation (refer to their product creation endpoint)
- n8n documentation on using JSON input properties and batch processing nodes