Actions19
- Customer Actions
- Subscription Actions
- Invoice Actions
Overview
This node integrates with the ProAbono API to manage subscription features for customers. Specifically, the "Enable/Disable a Feature" operation allows users to toggle a particular feature on or off for a given customer within their subscription.
Common scenarios include:
- Activating premium features for specific customers after payment confirmation.
- Temporarily disabling features due to account status changes or troubleshooting.
- Managing feature access dynamically based on customer plans or promotions.
For example, a SaaS platform could use this node to enable a new module for a customer who upgraded their subscription or disable a feature if the customer downgrades.
Properties
Name | Meaning |
---|---|
Reference Customer | The unique identifier used within your own application to identify the customer whose feature is toggled. |
Reference Feature | The name or reference of the feature to enable or disable. Users can select from a list or specify via expression. |
Enabled It? | Boolean flag indicating whether the feature should be enabled (true ) or disabled (false ) for the customer. |
Output
The node outputs JSON data representing the result of the feature toggle operation. This typically includes confirmation details such as the updated feature status for the specified customer. The exact structure depends on the ProAbono API response but generally confirms success or failure of the request.
No binary data output is involved in this operation.
Dependencies
- Requires an active connection to the ProAbono API.
- Needs credentials including a business identifier, an agent key, and an API key for authentication.
- The base URL for API requests is dynamically constructed using the business ID credential.
- The node relies on internal methods to load available features dynamically for selection.
Troubleshooting
- Invalid Customer Identifier: If the provided Reference Customer does not exist or is incorrect, the API will likely return an error. Verify the customer ID before running the node.
- Feature Not Found: Selecting or specifying a feature that does not exist or is not available for the subscription may cause errors. Use the dynamic feature loading option to ensure valid feature names.
- Authentication Errors: Incorrect or missing API credentials will prevent successful API calls. Confirm that all required credentials are correctly configured.
- Network Issues: Connectivity problems to the ProAbono API endpoint can cause timeouts or failures. Check network settings and API availability.
Links and References
- ProAbono API Documentation (for detailed API endpoints and feature management)
- n8n Expressions Guide (to learn how to use expressions for dynamic property values)