Actions28
- Product Actions
- Product Stock Actions
Overview
This node integrates with the Tiny ERP system to manage product stock and manufacturing information. Specifically, for the Product Stock resource and the Get Manufacturing operation, it retrieves detailed manufacturing data related to a specified product. This includes components used in manufacturing and the steps involved.
Use cases include:
- Fetching manufacturing details of a product to analyze its production requirements.
- Integrating manufacturing data into workflows for inventory planning or production scheduling.
- Automating reporting on product manufacturing processes.
For example, a user can input a product ID and get back the list of raw materials and manufacturing steps required to produce that product.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product whose manufacturing information you want to retrieve. |
Output
The output is a JSON object containing the manufacturing information of the specified product. This typically includes:
- Details about the products/components used in manufacturing.
- The quantity of each component required.
- The sequence of manufacturing steps or stages.
The exact structure depends on the Tiny ERP API response but generally provides a comprehensive overview of how the product is manufactured.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Tiny ERP API.
- Needs 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 'getManufacturing' is not supported!"
This error may occur if the resource or operation parameters are incorrectly set. Ensure the resource is set to "Product Stock" or "product" and the operation is exactly "getManufacturing".API Authentication Errors
If the node fails due to authentication issues, verify that the API credentials are correctly configured and have sufficient permissions.Invalid Product ID
Providing a non-existent or invalid product ID will result in an error or empty response. Confirm the product ID exists in Tiny ERP.Network or API Downtime
Temporary network issues or Tiny ERP service downtime can cause request failures. Retry after some time or check connectivity.
Links and References
- Tiny ERP Official API Documentation (Note: link is illustrative; please refer to actual Tiny ERP API docs)
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication Setup in n8n: OAuth2 Credentials