Actions26
Overview
This node integrates with the Mercado Pago MCP (Mercado Pago's API) to manage customers, payments, orders, preferences, webhooks, notifications, and documentation searches. Specifically for the Customer - Get operation, it retrieves detailed information about a customer by their unique ID.
Common scenarios where this node is beneficial include:
- Fetching customer details to display or process in workflows.
- Integrating Mercado Pago customer data into CRM or support systems.
- Automating customer data retrieval for order processing or analytics.
Practical example:
- You have a workflow triggered after a payment event and want to fetch the customer's full profile using their customer ID to personalize communications or update your database.
Properties
| Name | Meaning |
|---|---|
| ID do Cliente | The unique identifier of the customer to retrieve. This is a required string input. |
Output
The node outputs a JSON object containing the retrieved customer information under the customer field. The output structure includes all customer details as returned by the Mercado Pago API, such as email, first name, last name, and other metadata.
Example output JSON structure snippet:
{
"type": "customer_retrieved",
"customer": {
"id": "123456789",
"email": "cliente@exemplo.com",
"first_name": "João",
"last_name": "Silva",
...
},
"success": true,
"timestamp": "2024-06-01T12:00:00.000Z"
}
No binary data is produced by this operation.
Dependencies
- Requires an API key credential for Mercado Pago MCP API authentication.
- The node makes HTTP requests to the Mercado Pago API endpoint (
https://api.mercadopago.com). - Proper configuration of the API credentials with access tokens is necessary.
- Network connectivity to Mercado Pago's API servers is required.
Troubleshooting
Common issues:
- Invalid or missing customer ID will cause the API call to fail.
- Expired or incorrect API authentication token will result in authorization errors.
- Network issues may cause request timeouts or failures.
Error messages and resolutions:
"Customer not found": Verify that the provided customer ID exists in Mercado Pago."Unauthorized"or"Invalid token": Check that the API credentials are correctly configured and valid."Request failed"or network errors: Ensure stable internet connection and that Mercado Pago API is reachable.
To handle errors gracefully, enable the node's "Continue On Fail" option to allow workflow execution to proceed even if this node encounters an error.