Actions25
Overview
This node integrates with the Tiny ERP API v3 to manage orders within the Tiny ERP system. Specifically, for the Order - Create operation, it allows users to create new orders by sending order details to the Tiny ERP platform.
Typical use cases include automating order creation from e-commerce platforms, CRM systems, or other sales channels into Tiny ERP for streamlined order processing and inventory management. For example, when a customer places an order on a website, this node can be used to automatically create that order in Tiny ERP, including customer contact information and product details.
Properties
| Name | Meaning |
|---|---|
| Additional Fields | A collection of optional fields to specify order details such as: |
| - Name: Name of the item | |
| - Description: Description of the item | |
| - Price: Price of the item (number) | |
| - SKU: SKU or product code | |
| - Email: Customer's email address | |
| - Phone: Customer's phone number | |
| - Document: CPF or CNPJ document number (Brazilian tax IDs) | |
| - Address: Customer's address | |
| - City: City | |
| - State: State (UF) | |
| - ZIP Code: Postal code (CEP) |
These fields allow detailed specification of the order and customer information when creating the order.
Output
The node outputs JSON data representing the response from the Tiny ERP API after creating the order. This typically includes the newly created order's details such as its ID, status, and any other metadata returned by the API.
No binary data output is produced by this operation.
Dependencies
- Requires an API authentication token configured via OAuth2 credentials to access the Tiny ERP API.
- The node makes HTTP requests to
https://erp.tiny.com.br/public-api/v3endpoints. - Proper configuration of the OAuth2 credential in n8n is necessary for successful API communication.
Troubleshooting
Common issues:
- Missing or invalid API credentials will cause authentication failures.
- Providing incomplete or incorrectly formatted additional fields may result in API errors.
- Network connectivity problems can prevent the node from reaching the Tiny ERP API.
Error messages:
"Tiny ERP API request failed: <error message>"indicates an issue with the API call, such as invalid parameters or authentication failure."Unknown operation: create"would indicate a misconfiguration of the operation parameter but is unlikely if using the provided UI options.
Resolutions:
- Verify that the OAuth2 credentials are correctly set up and authorized.
- Ensure all required fields and formats conform to Tiny ERP API expectations.
- Check network connectivity and proxy settings if applicable.
Links and References
- Tiny ERP Public API Documentation (official API docs, in Portuguese)
- n8n OAuth2 Credential Setup (for configuring OAuth2 credentials in n8n)