Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API, allowing users to perform various operations on different resources related to condominium management. Specifically, for the "Morador" resource and the "Obter Morador" operation, it retrieves detailed information about a resident (morador) by their unique ID. This is useful in scenarios where you need to fetch resident data for further processing, reporting, or automation within your workflows.

Practical examples include:

  • Automatically retrieving resident details when a new service request is created.
  • Syncing resident information with other systems like CRM or accounting software.
  • Generating reports or notifications based on resident data.

Properties

Name Meaning
ID do Morador The unique identifier of the resident whose information you want to retrieve. This is a required string input.

Output

The node outputs an array of JSON objects, each representing the response from the Superlogica API for the requested operation. For the "Obter Morador" operation, the json output contains the detailed data of the specified resident, including all fields returned by the API such as name, contact information, unit association, and other relevant attributes.

If multiple input items are processed, the output will be an array with corresponding resident data objects paired to each input item.

The node does not output binary data.

Dependencies

  • Requires an active connection to the Superlogica Condomínios API.
  • Needs valid API credentials consisting of an application token and an 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 mandatory for successful execution.

Troubleshooting

  • Missing Credentials Error: If the node throws an error indicating that credentials are not provided, ensure that the API authentication tokens are correctly set up in n8n.
  • Invalid Resident ID: Providing an incorrect or non-existent resident ID may result in API errors or empty responses. Verify the ID before running the node.
  • API Connectivity Issues: Network problems or incorrect API URLs can cause failures. Confirm network access and credential correctness.
  • Continue On Fail Behavior: If enabled, the node will continue processing subsequent items even if one fails, returning error messages in the output JSON for failed items.

Links and References

Discussion