Actions28
- Product Actions
- Product Stock Actions
Overview
The node integrates with the Tiny ERP API to manage product manufacturing data. Specifically, the Update Manufacturing operation allows users to update the manufacturing details of a product by specifying the components (products) involved and the steps required in the manufacturing process.
This node is beneficial in scenarios where businesses need to automate or synchronize their product manufacturing workflows with Tiny ERP, such as updating bill of materials or production steps after changes in product design or process improvements.
Practical example:
A manufacturer wants to update the list of raw materials and the sequence of assembly steps for a finished product in their ERP system. Using this node, they can programmatically send the updated manufacturing data to Tiny ERP without manual entry.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier of the product whose manufacturing data will be updated. |
| Manufacturing Data | A collection containing: |
| Products | List of products used in manufacturing, each with: |
| Product ID | The ID of a component product used in manufacturing. |
| Quantity | Quantity of that product needed for manufacturing. |
| Steps | List of manufacturing steps, each with: |
| Step Name | Description of a manufacturing step. |
Output
The output JSON contains a success confirmation and the product ID for which the manufacturing data was updated:
{
"success": true,
"productId": 123
}
success: Boolean indicating if the update was successful.productId: The ID of the product updated.
No binary data is output by this operation.
Dependencies
- Requires an active connection to the Tiny ERP API via an OAuth2-based API key credential configured in n8n.
- The node uses the internal helper function to make authenticated HTTP requests to Tiny ERP endpoints.
- No additional external dependencies are required beyond the configured API credentials.
Troubleshooting
Common issues:
- Invalid or missing Product ID: Ensure the Product ID provided exists in Tiny ERP.
- Incorrect manufacturing data format: The products and steps must be correctly structured as per the property definitions.
- Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
Error messages:
"The operation "updateManufacturing" is not supported!"— This indicates the operation name might be misspelled or unsupported; verify the operation parameter.- API request failures may return error messages from Tiny ERP, such as validation errors on product IDs or manufacturing data fields.
Resolution tips:
- Double-check all input parameters for correctness.
- Confirm network connectivity and API credential validity.
- Use the node's "Continue On Fail" option to handle errors gracefully during batch processing.
Links and References
- Tiny ERP API Documentation (Note: link is illustrative, please refer to official Tiny ERP API docs)
- n8n Documentation on Creating Custom Nodes
- OAuth2 Authentication setup in n8n for API integrations