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, specifically allowing users to retrieve details about subscription plans from the "Clube De Assinaturas" resource. The operation GET /v1/clube/planos/{id} fetches information about a specific subscription plan by its unique identifier.
Common scenarios for this node include:
- Fetching detailed information about a particular subscription plan to display or process within an automation workflow.
- Integrating subscription plan data into CRM systems, billing platforms, or customer portals.
- Automating updates or notifications based on subscription plan attributes.
For example, a user might use this node to get the details of a subscription plan when a new customer signs up, enabling personalized onboarding messages or tailored service offerings.
Properties
| Name | Meaning |
|---|---|
| Id | The unique numeric identifier of the subscription plan to retrieve. This is a required property. |
Output
The node outputs JSON data representing the subscription plan details as returned by the Trinks API. The structure typically includes all relevant fields describing the plan, such as name, price, duration, features, and other metadata defined by the API.
If the API returns binary data (not indicated in this operation), it would be included accordingly, but for this GET request, only JSON output is expected.
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.comwith appropriate headers including the API key and establishment ID. - Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Operation Not Found Error: If the specified operation is not recognized, ensure that the operation string exactly matches
"GET /v1/clube/planos/{id}"and that the resource is set to"Clube De Assinaturas". - Authentication Errors: Missing or invalid API key or establishment ID will cause authentication failures. Verify that credentials are correctly configured.
- Invalid Id Parameter: Providing an invalid or non-existent plan ID may result in API errors or empty responses. Confirm the ID value before running the node.
- Network Issues: Connectivity problems to
api.trinks.comcan cause request failures. Check network access and firewall settings. - Continue On Fail Behavior: If enabled, the node will return error messages in the output JSON instead of stopping execution, which can help in debugging batch operations.
Links and References
- Trinks API Documentation (Assumed URL; replace with actual if available)
- n8n Documentation on HTTP Request Node for understanding underlying request mechanics.