Actions25
- Agendamento Actions
- Convênio Actions
- Empresa Actions
- Especialidade Actions
- Paciente Actions
- Procedimento Actions
- Profissional Actions
Overview
This node integrates with the Feegow Clinic API to list units ("Unidades") of a company resource. It allows users to retrieve information about different company units, optionally filtering by postal code (CEP) or address. This is useful for scenarios where you need to fetch and work with specific locations or branches of a company within automated workflows, such as displaying available units in a booking system or syncing unit data with other systems.
Example use cases:
- Fetching all company units filtered by postal code to display nearby locations.
- Retrieving units filtered by address keywords to find specific branches.
- Automating updates or reports based on company unit data.
Properties
| Name | Meaning |
|---|---|
| Filtros | Collection of optional filters to narrow down the list of units: |
| - CEP | Postal code (CEP) to filter units by location (optional). |
| - Endereço | Address string to filter units by address details (optional). |
Output
The node outputs an array of JSON objects representing the units retrieved from the Feegow API endpoint /api/company/list-unity. Each item in the output corresponds to a unit matching the specified filters.
The exact structure of each unit object depends on the Feegow API response but typically includes details such as unit ID, name, address, contact info, and other relevant metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential for authenticating requests to the Feegow Clinic API.
- The node uses HTTP requests to Feegow endpoints; ensure network access to the Feegow API.
- No additional external dependencies beyond the Feegow API and n8n environment.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication errors.
- Network connectivity problems can prevent successful API calls.
- Providing invalid filter values (e.g., malformed CEP) may result in empty results or API errors.
Error messages:
Erro na operação listUnities para company: <message>indicates an error occurred during the "Listar Unidades" operation. The<message>will contain the underlying issue, such as network failure or invalid parameters.
Resolution tips:
- Verify that the API key credential is correctly configured and has necessary permissions.
- Check network connectivity and firewall settings.
- Validate filter inputs before running the node.
- Review Feegow API documentation for correct filter formats.
Links and References
- Feegow Clinic API Documentation (official API docs, if publicly available)
- n8n Documentation on Creating Custom Nodes
- General info on Brazilian postal codes (CEP): https://en.wikipedia.org/wiki/Postal_codes_in_Brazil