Actions46
- Agendamentos Actions
- GET /v1/agendamentos
- POST /v1/agendamentos
- GET /v1/agendamentos/{id}
- PUT /v1/agendamentos/{agendamentoId}
- PATCH /v1/agendamentos/{agendamentoId}/status/confirmado
- PATCH /v1/agendamentos/{agendamentoId}/status/cancelado
- PATCH /v1/agendamentos/{agendamentoId}/status/finalizado
- PATCH /v1/agendamentos/{agendamentoId}/status/clientefaltou
- PATCH /v1/agendamentos/{agendamentoId}/status/ematendimento
- GET /v1/agendamentos/profissionais/{data}
- Clientes Actions
- Clientes Creditos Actions
- Clientes Etiquetas Actions
- Clientes Telefones Actions
- Clientes Vales Presentes Actions
- Clube De Assinaturas Actions
- Estabelecimentos Actions
- Etiquetas Actions
- Fidelidade Actions
- Financeiro Formas Pagamento Actions
- Financeiro Motivos Descontos Actions
- Financeiro Transacoes Actions
- Financeiro Vendas De Produto Actions
- Produtos Actions
- Profissionais Actions
- Servicos Actions
Overview
This node integrates with the Trinks API to retrieve phone numbers associated with a specific client. It is designed to fetch all telephone records for a given client ID, which can be useful in scenarios such as customer management, contact verification, or syncing client contact details into other systems.
A practical example would be using this node to pull all phone numbers of a client before sending SMS notifications or updating a CRM system with the latest contact information.
Properties
| Name | Meaning |
|---|---|
| Cliente Id | The unique numeric identifier of the client whose phone numbers are to be retrieved. |
Output
The node outputs JSON data representing the response from the Trinks API endpoint that lists phone numbers for the specified client. The structure typically includes an array or object containing phone number details such as type, number, and possibly metadata related to each phone entry.
No binary data output is produced by this operation.
Example output JSON (simplified):
{
"telefones": [
{
"tipo": "celular",
"numero": "+5511999999999"
},
{
"tipo": "residencial",
"numero": "+551133333333"
}
]
}
Dependencies
- Requires an API key credential and an establishment ID credential configured in n8n to authenticate requests against the Trinks API.
- The node sends HTTP requests to
https://api.trinks.comwith appropriate headers including the API key and establishment ID. - No additional external dependencies beyond the Trinks API and n8n's HTTP request helper.
Troubleshooting
Common issues:
- Invalid or missing API key or establishment ID will cause authentication failures.
- Providing an invalid or non-existent
Cliente Idmay result in empty responses or errors from the API. - Network connectivity issues can prevent successful API calls.
Error messages:
"Operation ... not found": This indicates the requested operation is not defined in the node’s configuration. Ensure the correct resource and operation are selected.- API error messages returned in the JSON response will be passed through; check the message for clues (e.g., unauthorized, not found).
Resolution tips:
- Verify credentials are correctly set up and valid.
- Confirm the
Cliente Idexists in the Trinks system. - Check network access and proxy settings if applicable.
- Enable "Continue On Fail" in the node settings to handle errors gracefully during batch processing.
Links and References
- Trinks API Documentation (official API docs for detailed endpoint info)
- n8n HTTP Request Node documentation for understanding request handling: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/