Actions14
Overview
This node interacts with the Tiny ERP API to manage product-related data. Specifically, the "Get Manufacturing" operation retrieves manufacturing information for a specified product by its ID. This is useful in scenarios where you need to obtain details about how a product is manufactured, including components and steps involved in the manufacturing process.
Practical examples include:
- Fetching manufacturing instructions or bill of materials for a product to integrate with production planning systems.
- Automating inventory checks by understanding which components are needed for manufacturing a product.
- Synchronizing manufacturing data between Tiny ERP and other business tools.
Properties
| Name | Meaning |
|---|---|
| Product ID | The unique identifier (ID) of the product whose manufacturing information you want to retrieve. |
Output
The output JSON contains the manufacturing information of the specified product as returned by the Tiny ERP API. This typically includes details such as the list of products/components used in manufacturing and the manufacturing steps involved.
Example structure (simplified):
{
"produtos": [
{
"produto": { "id": 123 },
"quantidade": 2
}
],
"etapas": [
"Step 1 description",
"Step 2 description"
]
}
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to the Tiny ERP API using 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
Common issues:
- Invalid or missing Product ID will cause the API request to fail.
- Authentication errors if the OAuth2 token is expired or invalid.
- Network connectivity problems can prevent successful API calls.
Error messages:
"The operation "getManufacturing" is not supported!"— indicates an unsupported operation was requested; ensure the operation name is correct."The resource "product" is not supported!"— indicates an unsupported resource; verify that "product" is selected.- API errors from Tiny ERP (e.g., 404 Not Found if the product ID does not exist) will be passed through; check the product ID validity.
Resolution tips:
- Verify the Product ID exists in Tiny ERP.
- Ensure OAuth2 credentials are correctly set up and authorized.
- Check network connectivity and API endpoint availability.
Links and References
- Tiny ERP API Documentation (general reference for API endpoints)
- n8n documentation on OAuth2 Credentials for setting up authentication