Overview
This node interacts with the Asaas API to manage customer data. Specifically, the "Recuperar" (Retrieve) operation under the "Cliente" (Customer) resource fetches detailed information about a specific customer using their unique identifier.
Common scenarios where this node is useful include:
- Retrieving customer details for verification or display in workflows.
- Integrating customer data from Asaas into other systems or reports.
- Automating follow-up actions based on customer information.
For example, you might use this node to get a customer's profile before creating an invoice or sending a personalized email.
Properties
| Name | Meaning |
|---|---|
| ID Do Cliente | Unique identifier of the customer in Asaas |
Output
The node outputs a JSON object containing the full details of the requested customer as returned by the Asaas API. This includes all available fields such as name, identification numbers, email, and any additional customer metadata stored in Asaas.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Asaas API.
- The node supports both production and sandbox environments, selectable via the credential configuration.
- No additional external dependencies are needed beyond the Asaas API access.
Troubleshooting
- Invalid Customer ID: If the provided customer ID does not exist or is malformed, the API will return an error. Verify that the ID is correct and corresponds to an existing customer.
- Authentication Errors: Ensure the API key credential is valid and has appropriate permissions.
- Network Issues: Connectivity problems can cause request failures; check network access to the Asaas API endpoints.
- Rate Limits: Excessive requests may be throttled by Asaas; consider adding delays or handling retries.
Error messages from the node typically reflect the underlying HTTP response from the Asaas API and should be interpreted accordingly.
Links and References
- Asaas API Documentation (official API reference)
- n8n Documentation (for general node usage and credential setup)