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 manage appointment-related data. Specifically, for the "Agendamento" (Appointments) resource and the "Listar Canais De Agendamento" (List Appointment Channels) operation, it retrieves the available channels through which appointments can be scheduled.
This operation is useful when you want to dynamically fetch and display the different appointment booking channels supported by your clinic or system, such as online portals, phone, or in-person scheduling options.
Practical example:
You might use this node operation to populate a dropdown menu in a workflow that allows users to select an appointment channel before creating or filtering appointments based on the selected channel.
Properties
| Name | Meaning |
|---|---|
| Filtros | A collection of filters to narrow down the results. For this operation, no specific filters are defined, so it acts as a placeholder for potential future filter options. |
Output
The node outputs a JSON object containing the list of appointment channels retrieved from the Feegow API endpoint /api/appoints/channels. The structure typically includes details about each channel, such as its identifier and name, allowing workflows to utilize or display these channels.
No binary data output is involved in this operation.
Example output snippet (conceptual):
{
"channels": [
{
"id": 1,
"name": "Online"
},
{
"id": 2,
"name": "Phone"
}
]
}
Dependencies
- Requires an API key credential for authenticating with the Feegow Clinic API.
- The node uses the internal
feegowRequestfunction to make HTTP requests to the Feegow API. - No additional external dependencies beyond the Feegow API and n8n's credential management.
Troubleshooting
Common issues:
- Authentication errors if the API key credential is missing or invalid.
- Network connectivity problems preventing access to the Feegow API.
- Unexpected API response changes or downtime.
Error messages:
- Errors will be thrown with messages like:
Erro na operação listAppointmentChannels para appointments: <error message>
This indicates a failure during the API call for listing appointment channels.
- Errors will be thrown with messages like:
Resolutions:
- Verify that the API key credential is correctly configured and has necessary permissions.
- Check network connectivity and API availability.
- Review any API documentation updates for changes in endpoints or required parameters.
Links and References
- Feegow Clinic API Documentation (Note: link is illustrative; please refer to official Feegow resources)
- n8n Documentation on Creating Custom Nodes