Superlogica icon

Superlogica

Consumir API do Superlogica Condomínios

Overview

This node integrates with the Superlogica Condomínios API to update resident (morador) information within a condominium management system. It is designed to modify details of an existing resident, such as their name, contact information, type (owner or tenant), and associated unit.

Common scenarios for this node include:

  • Keeping resident records up-to-date after changes in contact details.
  • Correcting or completing missing resident information.
  • Changing the resident's status from owner to tenant or vice versa.
  • Associating a resident with a different unit if they move.

For example, property managers can automate updating residents' emails and phone numbers when notified of changes, ensuring communication channels remain current.

Properties

Name Meaning
ID do Morador The unique identifier of the resident to be updated.
ID da Unidade The identifier of the unit to which the resident belongs.
Nome Full name of the resident.
Email Resident's email address.
Telefone Resident's telephone number (optional).
Celular Resident's mobile phone number (optional).
Tipo Type of resident: "Proprietário" (Owner) or "Inquilino" (Tenant).
Data de Nascimento Resident's date of birth in MM/DD/YYYY format (optional).

Output

The node outputs JSON data representing the updated resident record as returned by the Superlogica API. This typically includes all resident fields reflecting the new state after the update operation.

No binary data output is produced by this node.

Dependencies

  • Requires an active connection to the Superlogica Condomínios API.
  • Needs valid API credentials including an application token and access token.
  • The API base URL defaults to https://api.superlogica.net/v2/condor but can be customized via credentials.
  • Proper configuration of these credentials in n8n is mandatory for successful execution.

Troubleshooting

  • Missing Credentials Error: If credentials are not provided or invalid, the node will throw an error indicating that credentials are missing. Ensure that the API key and tokens are correctly set up in n8n.
  • Invalid Resident ID: Providing a non-existent or incorrect resident ID will likely cause the API to return an error. Verify the ID before running the update.
  • Validation Errors: Incorrect formats for fields like date of birth or email may result in API validation errors. Confirm that inputs conform to expected formats.
  • Network Issues: Connectivity problems with the Superlogica API endpoint can cause timeouts or failures. Check network access and API availability.
  • 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