Imobzi icon

Imobzi

Interagir com a API da Imobzi

Overview

This node integrates with the Imobzi API to update an existing contract record. It allows users to modify various fields of a contract by specifying the contract's ID and the fields to update. This is useful in scenarios where contract details such as dates, descriptions, contact information, or financial values need to be changed after creation.

Practical examples include:

  • Updating the contract's expiration date.
  • Changing the contact email or phone number associated with the contract.
  • Modifying the contract's title or description.
  • Adjusting the monetary value of the contract.

Properties

Name Meaning
Contract Name or ID Select the contract to update from a list or specify its ID using an expression.
Update Fields Collection of fields to update on the contract. Options include:
- Date: Date of the contract item.
- Description: Description text for the contract.
- Email: Email address related to the contract.
- Name: Name associated with the contract.
- Phone: Phone number related to the contract.
- Title: Title of the contract item.
- Value: Numeric value representing the contract's amount.

Output

The node outputs a JSON object containing the updated contract data returned by the Imobzi API. The structure reflects the contract's fields after the update operation. The output does not include binary data.

Example output JSON structure (simplified):

{
  "id": "contract-id",
  "client": "Client Name",
  "date": "2024-01-01",
  "description": "Updated description",
  "email": "contact@example.com",
  "name": "Contract Name",
  "phone": "1234567890",
  "title": "Contract Title",
  "value": 10000
}

Dependencies

  • Requires an active connection to the Imobzi API via an API key credential configured in n8n.
  • The node uses authenticated HTTP requests to perform updates on the Imobzi platform.
  • No additional external dependencies are required beyond the configured API authentication.

Troubleshooting

  • Common issues:

    • Invalid or missing contract ID: Ensure the contract ID exists and is correctly selected or specified.
    • Empty update fields: If no fields are provided to update, the API may reject the request or make no changes.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions.
    • Network or API downtime: Check connectivity and Imobzi service status.
  • Error messages:

    • "Resource 'contrato' not supported!": Occurs if the resource parameter is incorrect; ensure "contrato" is selected.
    • "Operation 'update' not supported!": Indicates an unsupported operation; verify the operation is set to "update".
    • API response errors will be passed through; check the error message for details such as invalid fields or permission issues.

To resolve errors, confirm all parameters are correct, the API credentials are valid, and the Imobzi API is accessible.

Links and References

Discussion