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, allowing users to interact with various resources and operations provided by Trinks. Specifically, for the resource Etiquetas and operation GET /v1/etiquetas/{id}, it retrieves detailed information about a specific "Etiqueta" (label or tag) identified by its unique ID.
Common scenarios where this node is beneficial include:
- Fetching metadata or details of a particular label/tag in a system managed by Trinks.
- Automating workflows that require validation or processing based on label information.
- Integrating label data into other systems or reports.
For example, a user might want to retrieve the details of a label by its ID to check its properties before applying it to a customer record or appointment.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier (number) of the Etiqueta (label) to retrieve. This is a required property. |
Output
The node outputs the JSON response returned by the Trinks API for the requested Etiqueta. The structure of the json output field corresponds directly to the API's response schema for the GET /v1/etiquetas/{id} endpoint, typically including all relevant details about the label such as its name, description, status, creation date, and any other metadata defined by the API.
If the API returns binary data (not indicated here), it would be included accordingly, but for this operation, the output is purely JSON.
Dependencies
- Requires an API key credential and an establishment ID credential to authenticate requests to the Trinks API.
- The node sends HTTP requests to
https://api.trinks.com. - Proper configuration of these credentials within n8n is necessary for successful execution.
Troubleshooting
- Operation Not Found Error: If the specified operation is not recognized, the node will throw an error listing available operations. Ensure that the operation string exactly matches one of the supported operations.
- Authentication Errors: Missing or invalid API key or establishment ID will cause authentication failures. Verify that credentials are correctly set up in n8n.
- Invalid Id Property: Since the Id is required and must be a number, providing an invalid or missing Id will result in request errors from the API.
- Network Issues: Connectivity problems to
https://api.trinks.comwill cause request failures. Check network access and firewall settings. - Continue On Fail: If enabled, the node will return error messages in the output JSON instead of stopping execution, which can help in batch processing scenarios.
Links and References
- Trinks API Documentation (general reference; exact endpoint docs may require login)
- n8n Documentation on HTTP Request Node (for understanding how HTTP requests work in n8n)
- n8n Credentials Setup Guide (for configuring API keys and other credentials)