Actions28
- Product Actions
- Product Stock Actions
Overview
This node integrates with the Tiny ERP system to manage product data. Specifically, the "Get" operation for the "Product" resource retrieves detailed information about a single product by its ID. This is useful in scenarios where you need to fetch up-to-date product details from your ERP system within an automated workflow, such as syncing product info to another system, generating reports, or validating product existence before further processing.
For example, you might use this node to:
- Retrieve a product's full details before updating inventory levels.
- Fetch product information to display in a custom dashboard.
- Validate that a product exists before creating related sales orders.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique numeric identifier of the product to retrieve. |
Output
The output json field contains the full product object as returned by the Tiny ERP API for the specified product ID. This typically includes all product attributes such as name, description, SKU, pricing, stock information, and other metadata managed by Tiny ERP.
No binary data is output by this operation.
Example output structure (simplified):
{
"id": 123,
"nome": "Product Name",
"descricao": "Product Description",
"sku": "SKU123",
"preco": 99.99,
"gtin": "0123456789012",
"tipo": "S",
"unidade": "pcs",
"situacao": "A",
// ... other product fields ...
}
Dependencies
- Requires an active connection to the Tiny ERP API via OAuth2 authentication.
- The node expects valid credentials configured in n8n to authenticate API requests.
- Network access to the Tiny ERP API endpoint is necessary.
Troubleshooting
Error: "The operation 'get' is not supported!"
This indicates the operation parameter was set incorrectly or the resource-operation combination is invalid. Verify that the Resource is set to "Product" and Operation to "Get".API Authentication Errors
If the node fails due to authentication issues, ensure the OAuth2 credentials are correctly configured and have not expired.Product Not Found
If the product ID does not exist in Tiny ERP, the API may return a 404 error. Confirm the product ID is correct and exists in the ERP system.Network Issues
Connectivity problems can cause request failures. Check network access and proxy settings if applicable.
Links and References
- Tiny ERP API Documentation (official API docs, if publicly available)
- n8n OAuth2 Credential Setup (for configuring API authentication)
This summary focuses on the "Product" resource with the "Get" operation as requested.