Tiny ERP icon

Tiny ERP

Interact with Tiny ERP API

Overview

This node integrates with the Tiny ERP system to manage product stock and related product information. Specifically, for the Product Stock resource and the Get Tags operation, it retrieves all tags associated with a given product by its ID.

Typical use cases include:

  • Fetching metadata tags linked to a product in Tiny ERP for categorization or filtering.
  • Automating workflows that require product tag data for reporting or synchronization with other systems.
  • Enriching product data in external applications by pulling tag information dynamically.

Example: You have a product with ID 12345 in Tiny ERP and want to retrieve all tags assigned to it to display on your e-commerce platform or use them in marketing campaigns.

Properties

Name Meaning
Product ID The unique identifier of the product whose tags you want to retrieve (number, required).

Output

The output is an array of JSON objects representing the tags associated with the specified product. Each item corresponds to one tag or a collection of tags as returned by the Tiny ERP API.

The exact structure depends on the API response but typically includes tag identifiers, names, and possibly additional metadata about each tag.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Tiny ERP API.
  • Requires an API authentication credential configured in n8n (an OAuth2 API key or similar).
  • The node uses the internal helper function to make HTTP requests to Tiny ERP endpoints.

Troubleshooting

  • Error: "The operation 'getTags' is not supported!"
    This error occurs if the operation parameter is incorrect or misspelled. Ensure the operation is set exactly to "getTags" when using the Product Stock resource.

  • Error: "The resource 'produto_estoque' is not supported!"
    This indicates the resource parameter is invalid or unsupported. For getting tags, ensure the resource is set to "product" or "produto_estoque" as per configuration.

  • API Authentication Errors
    If the node fails due to authentication issues, verify that the API credentials are correctly set up and have sufficient permissions to access product tags.

  • Invalid Product ID
    Providing a non-existent or invalid product ID will result in an API error or empty results. Confirm the product ID exists in Tiny ERP.

Links and References


If you need details on other operations or resources, please provide their names.

Discussion