Nuvem Solution icon

Nuvem Solution

Interact with Nuvem Solution API

Actions120

Cliente → Update Fisico

AI-generated

Overview

This node integrates with the Nuvem Solution API to perform various customer-related operations under the "Cliente" resource. Specifically, the "Update Fisico" operation allows updating data for a physical (individual) customer by sending a PATCH request with the updated information.

Typical use cases include:

  • Updating personal details of an individual customer in a CRM system.
  • Synchronizing customer data changes from external systems into Nuvem Solution.
  • Automating customer data maintenance workflows.

For example, you might update a customer's address, contact information, or other personal attributes by providing the customer ID and a JSON body with the new data.

Properties

Name Meaning
Cliente ID The unique numeric identifier of the customer whose physical data is to be updated.
Request Body A JSON object containing the fields and values to update for the physical customer.

Output

The node outputs the JSON response returned by the Nuvem Solution API after performing the update. This typically includes the updated customer data or confirmation of the successful update.

The output is structured as a JSON array where each element corresponds to the API response for each input item processed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating with the Nuvem Solution API.
  • The node uses HTTP PATCH requests to the endpoint /erp/crm/clientes/fisico/{clienteId}.
  • Proper configuration of the base URL and authentication credentials in n8n is necessary.

Troubleshooting

  • Authentication errors: Ensure that the API key credential is valid and has not expired.
  • Invalid JSON in Request Body: The requestBody property must contain valid JSON. Malformed JSON will cause request failures.
  • Customer ID not found: If the provided clienteId does not exist, the API will return an error. Verify the ID before updating.
  • Permission issues: The API user must have permission to update customer data.
  • Network issues: Check connectivity to the Nuvem Solution API endpoint.

Common error messages:

  • "Authentication failed: Invalid response from server" indicates credential or network problems.
  • "The operation "updateFisico" is not supported!" would indicate misconfiguration but should not occur if using the correct operation.
  • JSON parsing errors if the request body is not properly formatted.

Links and References

  • Nuvem Solution API Documentation (general reference; specific endpoints may require login)
  • n8n HTTP Request Node documentation for understanding how API calls are made
  • JSON formatting guides to ensure proper request body structure

Discussion