Actions62
- Lead Actions
- Account Actions
- Agenda Actions
- Contact Actions
- Contrato Actions
- Documento Actions
- Evento Actions
- Financeiro Actions
- Imovel Actions
- Integracao Actions
- Locacao Actions
- Tarefa Actions
- Usuario Actions
Overview
This node integrates with the Imobzi API to manage various resources such as leads, properties, contacts, contracts, financial accounts, rentals, documents, tasks, agendas, events, integrations, and users. Specifically, for the Documento (Document) resource with the Delete operation, it allows you to delete a document by specifying its name or ID.
Common scenarios where this node is beneficial include automating document management workflows, such as removing outdated or irrelevant documents from your system automatically based on triggers or other workflow logic.
For example, you could use this node to:
- Automatically delete a document after it has been processed or archived.
- Remove duplicate or erroneous documents from your database.
- Clean up documents related to closed contracts or completed tasks.
Properties
| Name | Meaning |
|---|---|
| Document Name or ID | Choose a document from the list or specify its ID using an expression. This identifies which document to delete. |
The property "Document Name or ID" supports selecting from existing documents loaded dynamically via the API or entering an ID manually through expressions.
Output
The output of the node is a JSON object representing the response from the Imobzi API after attempting to delete the specified document. The structure is:
{
"data": { /* API response data about the deletion */ }
}
- The
datafield contains the API's response payload, which typically confirms the deletion or provides relevant status information. - If the deletion fails and the node is set to continue on failure, the output will contain an error message in the form:
{
"error": "Error message describing what went wrong"
}
This node does not output binary data.
Dependencies
- Requires an active connection to the Imobzi API.
- Needs an API authentication credential configured in n8n to authorize requests.
- The node uses the Imobzi API endpoint
/documents/{id}with the HTTP DELETE method to perform the deletion.
Troubleshooting
Common issues:
- Providing an invalid or non-existent document ID will cause the API to return an error.
- Missing or incorrect API credentials will result in authentication failures.
- Network connectivity problems can prevent the node from reaching the Imobzi API.
Error messages:
"Resource 'documento' not supported!"— indicates the resource parameter was incorrect or unsupported."Operation 'delete' not supported!"— indicates the operation parameter was incorrect or unsupported.- API errors returned from the Imobzi service will be passed through; these might include "Document not found" or permission-related errors.
How to resolve:
- Verify that the document ID exists and is correct.
- Ensure the API key or authentication token is valid and has sufficient permissions.
- Check network connectivity and API endpoint availability.
- Use the "Continue On Fail" option if you want the workflow to proceed despite individual item errors.
Links and References
- Imobzi API Documentation (general reference for API endpoints)
- n8n Expressions Documentation (for using expressions in input fields)