Actions21
Produtos → Search
AI-generatedOverview
This node integrates with the Tiny ERP API v3 using OAuth2 authentication to perform various operations on different resources. Specifically, for the Produtos resource with the Search operation, it allows users to search for products by SKU, product name, or description. This is useful in scenarios where you want to quickly find product details within your ERP system based on partial or full search terms.
Practical examples include:
- Searching for a product by its SKU to retrieve detailed information.
- Finding products matching a keyword in their name or description to display or process further.
- Paginating through large product catalogs by specifying page number and result limits.
Properties
| Name | Meaning |
|---|---|
| Search Term | The term to search for in products; can be SKU, product name, or description. |
| Limit | Maximum number of results to return (default 50). |
| Page | Page number of results to retrieve (default 1). Useful for paginating through results. |
Output
The node outputs an array of JSON objects, each representing a product that matches the search criteria. Each JSON object contains the product data as returned by the Tiny ERP API.
If multiple products are found, they are output as separate items in the array. There is no binary data output from this node.
Dependencies
- Requires an OAuth2 API credential configured in n8n to authenticate with the Tiny ERP API.
- Depends on the Tiny ERP API v3 being accessible and the credentials having appropriate permissions to search products.
Troubleshooting
Common issues:
- Invalid or expired OAuth2 token: Ensure the API credentials are valid and refreshed.
- No results returned: Verify the search term is correct and matches existing products.
- Pagination parameters out of range: Make sure
limitandpagevalues are positive integers.
Error messages:
"Unknown resource": Occurs if the resource parameter is invalid or not supported.- API errors related to authentication or rate limiting will be passed through; check API key validity and usage limits.
To resolve errors, verify credentials, input parameters, and network connectivity to the Tiny ERP API.
Links and References
- Tiny ERP API Documentation (official API docs)
- n8n OAuth2 Credential Setup (for configuring OAuth2 credentials)