Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API to manage bank accounts associated with condominium properties. Specifically, the "Criar Conta Bancária" (Create Bank Account) operation allows users to create a new bank account record within the Superlogica system for a given condominium.

Common scenarios where this node is beneficial include automating the setup of financial accounts when onboarding new condominiums, synchronizing bank account data from external systems, or programmatically managing multiple bank accounts without manual entry in the Superlogica platform.

For example, a property management company could use this node to automatically create bank accounts for each new condominium they manage, ensuring consistent and error-free data entry.

Properties

Name Meaning
ID do Condomínio The unique identifier of the condominium to which the bank account will be linked.
Nome da Conta The name assigned to the bank account for identification purposes.
Código do Banco The bank's code number identifying the financial institution.
Agência The branch number of the bank where the account is held.
Conta The bank account number.
Tipo de Conta The type of bank account; options are: Corrente (Checking) or Poupança (Savings).

Output

The node outputs an array of JSON objects corresponding to each input item processed. Each JSON object contains the response data returned by the Superlogica API after attempting to create the bank account. This typically includes details of the newly created bank account such as its ID, status, and any metadata provided by the API.

If an error occurs during processing and the node is configured to continue on failure, the output JSON for that item will contain an error field with the error message.

The node does not output binary data.

Dependencies

  • Requires valid credentials for the Superlogica API, including an application token and access token.
  • The API base URL defaults to https://api.superlogica.net/v2/condor but can be overridden via credentials.
  • Proper configuration of these credentials in 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.
  • API Errors: Errors returned by the Superlogica API (e.g., invalid parameters, authentication failures) will be surfaced in the node’s output if "Continue On Fail" is enabled; otherwise, they will stop execution.
  • Invalid Property Values: Ensure all required fields (e.g., bank code, agency, account number) are correctly filled and conform to expected formats to avoid API validation errors.
  • Network Issues: Connectivity problems may cause timeouts or failed requests; verify network access to the Superlogica API endpoint.

Links and References

Discussion