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 manage client tags (etiquetas) associated with clients (clientes). Specifically, the DELETE operation for the resource "Clientes Etiquetas" removes a tag from a specified client by their respective IDs. This is useful in scenarios where you want to dynamically update or clean up client metadata by removing outdated or incorrect tags.
Practical examples include:
- Removing promotional tags from clients who no longer qualify.
- Cleaning up client profiles by deleting obsolete category labels.
- Automating client segmentation updates based on changing business rules.
Properties
| Name | Meaning |
|---|---|
| Cliente Id | The unique numeric identifier of the client whose tag is to be deleted. |
| Etiqueta Id | The unique numeric identifier of the tag to be removed from the client. |
Output
The node outputs JSON data representing the response from the Trinks API after attempting to delete the specified tag from the client. The structure depends on the API's response but typically includes confirmation of deletion or error details.
If an error occurs and the node is configured to continue on failure, the output JSON will contain an error field with the error message.
No binary data output is produced by this operation.
Dependencies
- Requires an API key credential and an establishment ID credential for authentication with the Trinks API.
- The base URL for requests is
https://api.trinks.com. - The node sends HTTP requests with headers including
Accept: application/json,Content-Type: application/json,X-Api-Key, andestabelecimentoId.
Troubleshooting
Common issues:
- Invalid or missing
Cliente IdorEtiqueta Idparameters may cause the API to reject the request. - Incorrect or expired API key or establishment ID credentials will result in authentication errors.
- Network connectivity problems can prevent successful API calls.
- Invalid or missing
Error messages:
"Operation ... not found": Indicates that the specified operation string does not match any available operations; ensure the correct operation name is used.- API errors returned in the JSON response will be passed through; check the error message for details such as "Tag not found" or "Client not found".
Resolutions:
- Verify that both
Cliente IdandEtiqueta Idare correctly set and correspond to existing entities. - Confirm that API credentials are valid and have necessary permissions.
- Enable "Continue On Fail" if you want the workflow to proceed despite individual item failures and handle errors gracefully.
- Verify that both
Links and References
- Trinks API Documentation (general reference for API endpoints and authentication)
- n8n documentation on HTTP Request Node for understanding how API calls are made within nodes.