Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API, allowing users to interact with various resources related to condominium management. Specifically, the "Obter Condomínio" operation retrieves detailed information about a particular condominium by its ID. This is useful for scenarios where you need to fetch up-to-date data about a condominium, such as its configuration, status, or associated details, directly within an n8n workflow.

Practical examples include:

  • Automatically retrieving condominium details when processing related documents or requests.
  • Synchronizing condominium data with other systems like CRM or accounting software.
  • Triggering workflows based on specific condominium attributes or statuses.

Properties

Name Meaning
ID do Condomínio The unique identifier of the condominium to be retrieved. This property is required and must be provided to specify which condominium's data should be fetched.

Output

The node outputs JSON data representing the condominium details returned by the Superlogica API. The structure typically includes all relevant fields describing the condominium, such as its name, address, contact information, and any other metadata provided by the API.

If the node encounters an error during execution (e.g., invalid ID or authentication issues), the output JSON will contain an error field with the corresponding message.

The node does not output binary data.

Dependencies

  • Requires an API key credential for authenticating with the Superlogica API. This credential must include:
    • The base API URL (defaulting to https://api.superlogica.net/v2/condor if not specified).
    • An application token.
    • An access token.

These credentials must be configured in n8n before using the node.

Troubleshooting

  • Missing Credentials: If the API credentials are not provided or incomplete, the node will throw an error indicating that credentials are missing. Ensure that the API key credential is properly set up with all required tokens.
  • Invalid Condominium ID: Providing an incorrect or non-existent condominium ID may result in an error from the API. Verify that the ID is correct and exists in the Superlogica system.
  • API Connectivity Issues: Network problems or incorrect API URLs can cause failures. Confirm network connectivity and that the API URL is reachable.
  • Error Handling: If the node is set to continue on failure, errors will be included in the output JSON under the error field instead of stopping the workflow.

Links and References

Discussion