Actions21
Contatos → Get Many
AI-generatedOverview
This node interacts with the Tiny ERP API v3 using OAuth2 authentication. Specifically, for the "Contatos" resource and the "Get Many" operation, it retrieves multiple contact records from the ERP system. This is useful when you want to fetch a list of contacts for further processing, reporting, or integration with other systems.
Typical use cases include:
- Synchronizing contact data between Tiny ERP and a CRM.
- Generating reports or dashboards based on contact information.
- Automating workflows that require bulk access to contact details.
Properties
| Name | Meaning |
|---|---|
| Options | Collection of optional parameters to control the query: |
| - Limit | Maximum number of contact records to return (minimum 1, default 50). |
| - Page | Page number of results to retrieve (minimum 1, default 1), useful for pagination. |
Output
The node outputs an array of JSON objects, each representing a contact record retrieved from Tiny ERP. Each item in the output corresponds to one contact's data as returned by the API.
If multiple contacts are returned, they are output as separate items in the workflow. The exact structure of each contact object depends on the Tiny ERP API response but typically includes fields like contact ID, name, email, phone, and other relevant contact details.
No binary data output is indicated.
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 authenticated user having permission to read contact data.
Troubleshooting
Common issues:
- Authentication failures due to invalid or expired OAuth2 tokens.
- API rate limits or network connectivity problems.
- Requesting pages beyond available data may return empty results.
Error messages:
"Unknown resource: contatos": Indicates the resource parameter was not recognized; ensure "Contatos" is selected correctly.- API errors returned from Tiny ERP will be surfaced; check the error message for details such as permission issues or invalid parameters.
Resolutions:
- Verify OAuth2 credentials and refresh tokens if needed.
- Adjust "Limit" and "Page" options to valid values within the API constraints.
- Ensure the Tiny ERP account has appropriate permissions.
Links and References
- Tiny ERP API Documentation (example link, replace with actual)
- n8n OAuth2 Credential Setup