Actions28
- Product Actions
- Product Stock Actions
Overview
This node integrates with the Tiny ERP system to manage product-related data. Specifically, the Get Tags operation under the Product resource retrieves all tags associated with a given product by its ID. This is useful for workflows that need to categorize, filter, or analyze products based on their tags within Tiny ERP.
Common scenarios:
- Automatically fetching product tags to enrich product data before further processing.
- Filtering or routing products in a workflow based on their tags.
- Synchronizing product tags from Tiny ERP to other systems or databases.
Example:
You have a product with ID 123 in Tiny ERP and want to retrieve all tags assigned to it to decide how to handle it downstream in your automation.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product whose tags you want to retrieve. Must be a number and is required. |
Output
The node outputs a JSON object containing the tags associated with the specified product. The exact structure depends on the Tiny ERP API response but typically includes an array or list of tag objects or strings representing each tag.
No binary data output is involved in this operation.
Example output snippet (conceptual):
{
"tags": [
"tag1",
"tag2",
"tag3"
]
}
Dependencies
- Requires an active connection to the Tiny ERP API.
- Needs an API authentication credential configured in n8n (an OAuth2 or API key credential).
- The node uses the
/produtos/{productId}/tagsendpoint of the Tiny ERP API.
Troubleshooting
Error: "The operation 'getTags' is not supported!"
This error may occur if the operation name is misspelled or not selected correctly. Ensure the operation is set exactly to "Get Tags" under the "Product" resource.Error related to invalid or missing Product ID
Make sure the Product ID is provided and is a valid number corresponding to an existing product in Tiny ERP.API authentication errors
Verify that the API credentials are correctly configured and have sufficient permissions to access product tags.Network or API downtime issues
Check network connectivity and Tiny ERP service status if requests fail unexpectedly.
Links and References
- Tiny ERP API Documentation (general reference; specific endpoints may vary)
- n8n documentation on creating custom nodes