Actions14
Overview
This node integrates with the Tiny ERP system to manage products. Specifically, the Product - Create operation allows users to create new product entries in their Tiny ERP account by providing detailed product information.
Typical use cases include:
- Automating product catalog creation from external data sources.
- Bulk importing new products into Tiny ERP.
- Integrating e-commerce platforms or inventory systems with Tiny ERP for seamless product management.
For example, a user can set up an automation that creates new products in Tiny ERP whenever a new item is added to their online store, ensuring consistent and up-to-date inventory records.
Properties
| Name | Meaning |
|---|---|
| Product Data | Collection of fields describing the product to create: |
| Complementary Description | Additional descriptive text about the product. |
| Description | Main product description (required for clarity). |
| GTIN | GTIN barcode identifier for the product. |
| NCM | NCM classification code (used for tax and customs). |
| Observations | Any additional observations or notes about the product. |
| Origin | Numeric code indicating the product's origin. |
| SKU | Stock Keeping Unit identifier for internal tracking. |
| Type | Product type, selectable from: Kit, Product, or Service. |
| Unit | Unit of measurement for the product (e.g., pcs, kg). |
| Warranty | Warranty information related to the product. |
Output
The output JSON contains the full response from the Tiny ERP API after creating the product. This typically includes:
- The newly created product's unique ID.
- All product details as stored in Tiny ERP.
- Status or confirmation of successful creation.
The output is paired with the input item index to maintain traceability in workflows.
No binary data is produced by this operation.
Dependencies
- Requires an active connection to the Tiny ERP API.
- Needs an API authentication token configured in n8n credentials (OAuth2-based).
- Network access to Tiny ERP endpoints must be available.
Troubleshooting
Common Issues:
- Missing required fields in "Product Data" may cause API errors.
- Invalid field formats (e.g., non-numeric origin) can lead to request failures.
- Authentication errors if API credentials are invalid or expired.
- Network connectivity problems preventing API calls.
Error Messages:
"The operation "create" is not supported!"— indicates a misconfiguration or unsupported operation selected."The resource "product" is not supported!"— indicates an incorrect resource selection.- API error messages returned from Tiny ERP will be passed through; check the message for details such as validation errors or permission issues.
Resolution Tips:
- Verify all required product fields are correctly filled.
- Ensure API credentials are valid and have necessary permissions.
- Check network connectivity and firewall settings.
- Use the node's "Continue On Fail" option to handle individual item errors gracefully.
Links and References
- Tiny ERP Official API Documentation (for detailed API endpoint info)
- n8n Documentation on Creating Custom Nodes
- Understanding Product Identifiers like GTIN and SKU