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 statuses among other clinic-related resources. Specifically, the "Atualizar Status De Agendamento" (Update Appointment Status) operation allows users to update the status of an existing appointment by providing the appointment ID, new status ID, and optional arrival time and observation notes.
Common scenarios for this node include:
- Automatically updating appointment statuses after patient check-in.
- Marking appointments as completed, canceled, or no-show based on clinic workflow.
- Adding notes or arrival times to appointments for record-keeping.
Practical example:
A clinic receptionist uses this node in a workflow triggered when a patient arrives. The node updates the appointment status to "Arrived" and records the exact arrival time and any additional observations.
Properties
| Name | Meaning |
|---|---|
| Agendamento ID | The unique identifier of the appointment to update (required). |
| Hora De Chegada | The patient's arrival time in HH:MM format (optional). |
| Observação | Additional notes or comments related to the status update (optional). |
| Status ID | The new status identifier to assign to the appointment (required). |
Output
The node outputs a JSON object containing the response from the Feegow API after attempting to update the appointment status. This typically includes confirmation details about the updated appointment status or error information if the update failed.
No binary data output is produced by this operation.
Example output structure (simplified):
{
"appointment_id": 123,
"status_id": 5,
"hora_chegada": "14:30",
"obs": "Patient arrived late",
"message": "Status updated successfully"
}
Dependencies
- Requires an active connection to the Feegow Clinic API.
- Needs an API authentication token configured in n8n credentials to authorize requests.
- The node uses HTTP POST requests to the
/api/appoints/statusUpdateendpoint of the Feegow API.
Troubleshooting
- Missing Required Fields: If
Agendamento IDorStatus IDare not provided or invalid, the API will reject the request. Ensure these fields are correctly set. - Invalid Time Format: The
Hora De Chegadamust be in HH:MM format; otherwise, the API may return an error. - API Authentication Errors: If the API key or token is missing or expired, the node will fail with an authentication error. Verify credential configuration.
- Network Issues: Connectivity problems can cause request failures. Check network access to the Feegow API.
- Error Messages: The node throws errors prefixed with "Erro na operação updateAppointmentStatus para appointments:" followed by the API error message. Use this to identify issues such as invalid IDs or permission problems.
Links and References
- Feegow Clinic API Documentation (official API docs, if publicly available)
- n8n Documentation on Creating Custom Nodes
- General info on HTTP Request Node (for understanding underlying requests)
This summary focuses exclusively on the "Atualizar Status De Agendamento" operation within the "Agendamento" resource as requested.