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, for the "Fornecedor" resource and the "Listar Fornecedores" operation, it retrieves a list of suppliers associated with a given condominium. This is useful in scenarios where property managers or administrators need to access supplier information for maintenance, services, or procurement purposes.

Practical examples include:

  • Fetching all suppliers linked to a specific condominium to review contracts or contact details.
  • Automating reports on supplier activity or status.
  • Integrating supplier data into other workflows such as invoicing or service requests.

Properties

Name Meaning
ID do Condomínio The unique identifier of the condominium whose suppliers are to be listed. This is a required string input.

Output

The node outputs an array of JSON objects, each representing a supplier ("Fornecedor") retrieved from the Superlogica API for the specified condominium. Each JSON object contains the supplier's details as provided by the API.

If the node encounters errors during execution (e.g., invalid credentials or API issues), it outputs an error message within the JSON structure under an error field.

No binary data output is produced by this node.

Dependencies

  • Requires valid API credentials for the Superlogica Condomínios API, including an application token and an access token.
  • The node expects these credentials to be configured in n8n prior to execution.
  • Network access to the Superlogica API endpoint (https://api.superlogica.net/v2/condor by default) is necessary.

Troubleshooting

  • Missing Credentials: If credentials are not provided or invalid, the node will throw an error indicating that credentials were not supplied. Ensure that the API key and tokens are correctly set up in n8n.
  • API URL Issues: If the API URL is incorrect or unreachable, the node will fail to fetch data. Verify network connectivity and API endpoint correctness.
  • Invalid Condominium ID: Providing an incorrect or non-existent condominium ID may result in empty results or API errors. Double-check the ID value.
  • Continue On Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output JSON.

Links and References

Discussion