Tiny ERP icon

Tiny ERP

Interact with Tiny ERP API

Overview

This node interacts with the Tiny ERP API to manage product-related data. Specifically, the "Get Tags" operation retrieves all tags associated with a specified product by its ID. This is useful for workflows that need to categorize, filter, or analyze products based on their tags within the Tiny ERP system.

Common scenarios:

  • Fetching tags of a product to display or process them in downstream automation.
  • Integrating product tag information into reporting or inventory management workflows.
  • Synchronizing product tags between Tiny ERP and other systems.

Example:
You have a product with ID 12345 and want to retrieve all tags assigned to it to update your marketing database or trigger specific actions based on those tags.

Properties

Name Meaning
Product ID The unique numeric identifier of the product whose tags you want to retrieve.

Output

The output is an array of JSON objects representing the tags associated with the specified product. Each item corresponds to one input item processed and contains the tags data returned from the Tiny ERP API under the json field.

The exact structure of the tags depends on the Tiny ERP API response but typically includes tag names, IDs, or related metadata.

No binary data output is produced by this operation.

Dependencies

  • Requires an active connection to the Tiny ERP API using OAuth2 authentication (an API key credential).
  • The node uses the internal helper function to make HTTP requests to the Tiny ERP endpoints.
  • Proper configuration of the OAuth2 credentials in n8n is necessary for successful API calls.

Troubleshooting

  • Error: "The operation 'getTags' is not supported!"
    This indicates the operation parameter was set incorrectly or the resource is not "product". Ensure the Resource is set to "Product" and Operation to "Get Tags".

  • API Authentication Errors
    If the API key or OAuth2 token is invalid or expired, the request will fail. Re-authenticate or update credentials in n8n.

  • Invalid Product ID
    Providing a non-existent or incorrect product ID will result in an error or empty tag list. Verify the product ID before running the node.

  • Network or API Downtime
    Temporary network issues or Tiny ERP API downtime can cause failures. Retry after some time or check API status.

Links and References

Discussion