Imobzi icon

Imobzi

Interagir com a API da Imobzi

Overview

This node integrates with the Imobzi API to manage various resources, including contracts ("Contrato"). Specifically, for the "Contrato" resource and the "Create" operation, it allows users to create new contract records in the Imobzi system by sending specified contract details.

Common scenarios where this node is beneficial include automating contract creation workflows, such as when a new client signs an agreement or when contracts need to be programmatically generated based on external triggers or data sources. For example, after collecting customer information via a form, you can use this node to automatically create a corresponding contract record in Imobzi.

Properties

Name Meaning
Date Date of the contract item
Description Description of the contract
Email Email address associated with the contract
Name Name related to the contract
Phone Phone number related to the contract
Title Title of the contract
Value Numeric value associated with the contract

These fields are grouped under "Create Fields" and represent the data sent to the Imobzi API to create a new contract.

Output

The node outputs JSON data representing the response from the Imobzi API after creating the contract. The output JSON contains the newly created contract's data as returned by the API, typically including all contract details and any assigned identifiers.

No binary data output is produced by this node.

Example output structure (simplified):

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

Dependencies

  • Requires an active connection to the Imobzi API.
  • Needs an API authentication token or API key credential configured in n8n to authorize requests.
  • The node uses the Imobzi API endpoints corresponding to the resource paths (e.g., /contracts for contracts).

Troubleshooting

  • Unsupported Resource Error: If the resource name is incorrect or not supported, the node will throw an error indicating the resource is unsupported. Ensure the resource is set to "contrato" for contracts.
  • Operation Not Supported: Using an unsupported operation will cause an error. Confirm that the operation is set to "create" for creating contracts.
  • API Authentication Errors: If the API credentials are missing or invalid, requests will fail. Verify that the API key or token is correctly configured in n8n credentials.
  • Empty Required Fields: If required fields are missing or empty, the API may reject the request. Make sure to provide valid values for necessary contract fields.
  • Network or API Downtime: Network issues or Imobzi API downtime can cause request failures. Check network connectivity and Imobzi service status.

Links and References

Discussion