Overview
This node integrates with the Corbee CRM API to update customer data based on attendance information. Specifically, the "Atualizar Cliente" (Update Customer) operation allows you to modify a customer's details by providing their ID and new data extracted from an attendance record.
Common scenarios for this node include:
- Synchronizing customer information after an interaction or service attendance.
- Automatically updating client profiles with new or corrected data collected during customer support or sales processes.
- Keeping CRM records up-to-date without manual entry, improving data accuracy and operational efficiency.
For example, after a customer support call, you might update the customer's name, birth date, or document number in the CRM using this node.
Properties
| Name | Meaning |
|---|---|
| Opções Adicionais | Additional options including: • Continue On Fail (boolean) - whether to continue processing on error. • Custom Headers (JSON) - extra HTTP headers to send. • Query Parameters (JSON) - additional query parameters. • Timeout (number) - request timeout in milliseconds. |
| ID do Cliente (do Atendimento) | The unique identifier of the customer related to the attendance. This is required to specify which customer to update. |
| Dados do Cliente | JSON object containing the customer data fields to update. Example: {"name":"João", "birth_date":"01/01/1990", "document":"00000000000"} |
Output
The node outputs JSON data representing the response from the Corbee CRM API after attempting to update the customer. The structure typically reflects the updated customer object returned by the API.
If multiple items are processed, each output item corresponds to one input item, paired accordingly.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating with the Corbee CRM API.
- Network access to the Corbee CRM API endpoint.
- Optional configuration of custom headers, query parameters, and timeout settings via the "Opções Adicionais" property.
Troubleshooting
Common Issues:
- Invalid or missing customer ID will cause the API to reject the update.
- Malformed JSON in "Dados do Cliente" can lead to request failures.
- Network timeouts if the API is unreachable or slow; adjustable via the timeout option.
- Insufficient permissions or invalid API credentials will result in authentication errors.
Error Handling:
- If "Continuar Em Erro" (Continue On Fail) is enabled, the node will return error details in the output JSON instead of stopping execution.
- Typical error messages include HTTP status codes and descriptive messages from the API, such as "Customer not found" or "Invalid data format".
- To resolve errors, verify the correctness of the customer ID, ensure the JSON data is valid, and confirm that the API credentials have proper access rights.