Actions14
Overview
This node interacts with the Tiny ERP API to update the manufacturing details of a product. It allows users to specify the components (products) involved in manufacturing and the steps required to produce the product. This is useful for businesses that manage product assembly or production workflows, enabling them to keep their manufacturing data up-to-date within their ERP system.
Practical examples include:
- Updating the bill of materials for a product by specifying which products and quantities are needed.
- Defining or modifying the sequence of manufacturing steps for a product.
- Automating updates to manufacturing information as part of a larger workflow involving inventory or production management.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product whose manufacturing data you want to update. |
| Manufacturing Data | Collection containing: - Products: List of products used in manufacturing, each with: • Product ID (number) • Quantity (number) - Steps: List of manufacturing steps, each with: • Step Name (string) describing the manufacturing step |
Output
The output JSON contains a success confirmation and the product ID for which the manufacturing data was updated. Example:
{
"success": true,
"productId": 123
}
This indicates that the manufacturing information for the specified product was successfully updated.
Dependencies
- Requires an active connection to the Tiny ERP API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node uses HTTP PUT requests to update manufacturing data on the Tiny ERP platform.
Troubleshooting
Common issues:
- Invalid or missing Product ID will cause the API request to fail.
- Incorrectly formatted manufacturing data (e.g., missing product IDs or quantities) may result in errors from the API.
- Network or authentication failures can prevent successful updates.
Error messages:
"The operation "updateManufacturing" is not supported!"— This occurs if the operation parameter is incorrect or unsupported."The resource "product" is not supported!"— This indicates an invalid resource selection.- API error responses related to invalid input data or authorization failure will be passed through; ensure all required fields are correctly set and credentials are valid.
Resolution tips:
- Verify that the Product ID exists in Tiny ERP.
- Ensure manufacturing data collections are properly structured with required fields.
- Confirm API credentials are correctly configured and have necessary permissions.
- Use the node's "Continue On Fail" option to handle errors gracefully in workflows.
Links and References
- Tiny ERP API Documentation (general reference for API endpoints and data formats)
- n8n documentation on creating custom nodes for further customization guidance