Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API, specifically enabling management of condominium data. The "Criar Condomínio" operation allows users to create a new condominium record in the Superlogica system by providing essential details such as name, tax identification number (CNPJ), and address information.

Common scenarios for this node include automating the onboarding process of new condominiums into the Superlogica platform, syncing external databases with Superlogica, or batch-creating multiple condominiums from other systems.

For example, a property management company could use this node to automatically add newly acquired condominiums into their Superlogica account whenever they are registered in their internal CRM.

Properties

Name Meaning
Nome do Condomínio The name of the condominium to be created.
CNPJ The condominium's CNPJ (Brazilian corporate tax ID), numbers only.
CEP Postal code (CEP) of the condominium, numbers only.
Endereço Street address of the condominium.
Número Address number of the condominium.
Bairro Neighborhood where the condominium is located.
Cidade City where the condominium is located.
Estado State abbreviation (sigla) of the condominium's location.

Output

The node outputs an array of JSON objects, each representing the response from the Superlogica API after attempting to create a condominium. Each output item corresponds to one input item processed.

The json field contains the API response data, which typically includes details about the newly created condominium such as its unique identifier and confirmation of the stored data.

If the node encounters an error during execution and is configured to continue on failure, the output will contain an error field with the error message instead of the expected data.

No binary data output is produced by this node.

Dependencies

  • Requires valid credentials for the Superlogica API, including an application token and access token.
  • The node uses the Superlogica API endpoint, defaulting to https://api.superlogica.net/v2/condor if not overridden.
  • Proper configuration of these credentials within n8n is necessary for successful API communication.

Troubleshooting

  • Missing Credentials: If credentials are not provided or invalid, the node will throw an error indicating that credentials were not supplied.
  • Invalid Input Data: Providing improperly formatted fields (e.g., non-numeric characters in CNPJ or CEP) may cause API errors.
  • API Errors: Network issues or API-side validation errors will result in exceptions; enabling "Continue On Fail" can help process subsequent items despite individual failures.
  • Error Messages: Typical error messages include authentication failures, missing required fields, or invalid data formats. Verify all required properties are correctly filled and credentials are valid.

Links and References

Discussion