Actions40
- Associação Actions
- Contato Actions
- Empresa Actions
- Negócio Actions
- Nota Actions
- Produto Actions
- Propriedade Actions
- Segmento Actions
- Tarefa Actions
- Usuário Actions
Overview
This node integrates with the Rvops platform to manage company data, specifically allowing you to update existing company records. It is useful in scenarios where you need to programmatically modify company information stored in Rvops, such as updating contact details, ownership, or custom properties.
For example, you might use this node to:
- Update a company's address or phone number after receiving new information.
- Change the owner assigned to a company.
- Modify any custom fields related to the company for better segmentation or reporting.
The node supports updating multiple properties of a company in a single operation by specifying property names and their new values.
Properties
| Name | Meaning |
|---|---|
| Autenticação Do Cliente | Method of client authentication; currently supports "Access Token" |
| ID Da Empresa | The unique identifier of the company to update (required) |
| Propriedades | Collection of properties to update on the company; each includes: |
| - Nome Da Propriedade Name or ID: The property name or ID to update | |
| - Novo valor: The new value to assign to the property (required) |
Note: Other properties listed in the full input are for other resources or operations and are not relevant to the "Update a Company" operation.
Output
The output JSON contains the updated company object with the following structure:
{
"id": "string", // The unique ID of the updated company
"properties": { // Object containing all properties of the company after update
"propertyName1": "value1",
"propertyName2": "value2"
// ... other properties
}
}
This output confirms the successful update and provides the current state of the company record.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Rvops API.
- The node uses HTTP methods (PATCH) to communicate with the Rvops backend.
- No additional external services are required beyond the Rvops API access.
Troubleshooting
- Invalid Company ID: If the provided company ID does not exist, the API will likely return an error indicating the resource was not found. Verify the ID is correct.
- Authentication Errors: Ensure the API token used is valid and has sufficient permissions to update company data.
- Property Names: Using invalid or non-existent property names in the update may cause errors or be ignored. Use the node's load options to select valid properties.
- Empty Property Values: Providing empty strings or invalid values for required properties might cause the update to fail or result in incomplete data.
- API Rate Limits: Frequent updates may hit API rate limits; handle errors accordingly or implement retries with delays.
If the node throws errors, check the error message for status codes and server messages to diagnose issues.
Links and References
- Rvops API Documentation (hypothetical link)
- n8n Expressions Documentation
- n8n Node Development Guide
This summary focuses exclusively on the "Empresa" resource and the "Update a Company" operation as requested.
